Image processing system, and image processing program

By separating and analyzing low-luminance and high-luminance partial regions within a difference area, the image processing system enhances the distinction between shadows and detection targets, reducing misidentification and improving accuracy.

JP2024145322AActive Publication Date: 2024-10-15SECOM CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2023057614
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-15
Estimated Expiration
2043-03-31

AI Technical Summary

Technical Problem

Conventional image processing systems struggle to accurately distinguish between shadows and moving objects, particularly when shadows have varying brightness levels, leading to misidentification of detection targets due to the inclusion of both bright and dark shadow areas within a single difference region.

Method used

An image processing unit that separates a difference region into low-luminance and high-luminance partial regions, extracting specific features from each to determine whether the region is a shadow or a detection target, emphasizing the features from the low-luminance region to enhance accuracy.

Benefits of technology

This approach effectively reduces the misclassification of shadows as detection targets, even when the difference region contains both bright and dark shadow areas, thereby improving the system's accuracy in identifying actual targets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024145322000001_ABST
    Figure 2024145322000001_ABST
Patent Text Reader

Abstract

To provide an image processing system capable of suppressing erroneous determination of an object to be detected even when a difference region includes a bright shadow area and a dark shadow area.SOLUTION: The image processing system includes an image sensor 14 that determines whether or not a target to be detected exists in an input image based on a difference region between the input image to be processed and a background image of a predetermined region out of photographed images taken of the predetermined region. The image sensor 14 determines whether or not the difference region is a shadow or the target to be detected regarding the difference region of the input image by using characteristics that indicate a shadow-like nature extracted from a low-luminance partial area out of the low-luminance partial area consisting of pixels with low luminance values and a high-luminance partial area consisting of pixels with higher luminance values than those of the low-luminance partial area.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image processing device and an image processing program for detecting a detection target from within an image. [Background technology]

[0002] Conventionally, there is an image processing device that detects targets such as intruders from within the captured image by comparing a captured image obtained by photographing a surveillance area with a reference image to obtain a difference region, which is an area where there is change between the two images, and determining whether the difference region is "human-like" based on image features such as the size or shape of the difference region.

[0003] A moving object extraction device is disclosed that includes a motion extraction means that extracts moving objects from signals obtained from captured images by performing calculations between images, a brightness drop detection means that detects from the detected moving objects where the brightness level of the current image is lower than the brightness level of the background image, a shadow recognition means that recognizes shadows from the rate of drop in the detected brightness level, and a moving object identification means that identifies moving objects from the results of these (Patent Document 1). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Application Publication No. 5-151356 Summary of the Invention [Problem to be solved by the invention]

[0005] As described above, in conventional techniques, whether a difference region is a person or a shadow is determined using conditions such as a low brightness value of the difference region or a high degree of similarity in texture between the difference region and the background image.

[0006] However, when there are shadows cast by objects that have both light-blocking and light-transmitting parts, a single difference region will contain a mixture of regions with significantly different luminance, such as bright and dark shadow regions. For example, when a bus passes near a monitored space, a difference region may be extracted that contains a bright shadow region where sunlight passes through the windows of the bus, and a dark shadow region where sunlight is blocked by the body of the bus.

[0007] In such cases, the bright shadow areas with high luminance do not lower the luminance value of the difference region as a whole, and the inclusion of bright and dark shadow areas creates new edges in the difference region, reducing the similarity of the texture with the background image, so the feature value indicating shadow-likeness does not become high, and there is a risk that the difference region will be mistaken for a person. [Means for solving the problem]

[0008] One aspect of the present invention is an image processing device that includes an image processing unit that determines the presence or absence of a detection target in an input image based on a differential region between an input image to be processed and a background image of a specified area in a captured image of the specified area, and the image processing unit determines, for the differential region of the input image, whether the differential region is a shadow or the detection target using a feature indicating a shadow-likeness extracted from a low-brightness partial region consisting of pixels with low brightness values ​​and a high-brightness partial region consisting of pixels with a brightness value higher than that of the low-brightness partial region.

[0009] Another aspect of the present invention is an image processing program that causes a computer to function as an image processing unit that determines the presence or absence of a detection target in an input image based on a differential region between an input image to be processed and a background image of a specified area in a captured image of the specified area, and the image processing unit determines, for the differential region of the input image, whether the differential region is a shadow or the detection target using a feature indicating a shadow-likeness extracted from a low-brightness partial region consisting of pixels with low brightness values ​​and a high-brightness partial region consisting of pixels with a brightness value higher than that of the low-brightness partial region.

[0010] Here, it is preferable that the image processing unit extracts a first feature indicating a shadow-likeness from the low-brightness partial region, and extracts a second feature different from the first feature indicating a shadow-likeness from the high-brightness partial region, and determines whether the difference region is a shadow or the detection target using the first feature and the second feature.

[0011] It is also preferable that the image processing unit determines whether the difference region is a shadow or the detection target by using an attribute value indicating a shadow-likelihood of the difference region, which is calculated based on the first feature and the second feature, and that the attribute value is calculated by giving more importance to the first feature than to the second feature.

[0012] In addition, it is preferable that the image processing unit determines whether the difference region is a shadow or the detection target using features indicating a shadow-likeness extracted from the high-luminance partial region together with the low-luminance partial region, and weights the features extracted from the low-luminance partial region in this determination.

[0013] It is also preferable to separate the difference region into the low luminance partial region and the high luminance partial region using an average luminance value of the difference region. Effect of the Invention

[0014] According to the present invention, even when a difference region includes a light shadow region and a dark shadow region, erroneous determination of a detection target can be suppressed. [Brief description of the drawings]

[0015] [Figure 1] 1 is a diagram showing a configuration of a security system according to an embodiment of the present invention. [Diagram 2] FIG. 1 is a diagram showing a configuration of an image sensor according to an embodiment of the present invention. [Diagram 3] FIG. 2 is a conceptual diagram showing a plurality of captured images arranged in order of acquisition time. [Figure 4] 11A and 11B are diagrams illustrating a process of extracting a background differential region. [Diagram 5] 11A and 11B are diagrams illustrating a process of separating a low luminance partial region and a high luminance partial region from a difference region. [Figure 6] 4 is a flowchart showing an image processing method according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] [Security system configuration] As shown in Fig. 1, a security system 100 according to an embodiment of the present invention includes a monitored property 102, a security center device 104, and a user device 106. The monitored property 102, security center device 104, and user device 106 are connected to each other via a communication network 108 such as a public telephone line so as to be able to transmit and receive information to and from each other. The monitored property 102 is a property having a monitored space, such as a store, an office, an apartment building, a warehouse, a private home, outdoors, etc. A security device 10, a recording device 12, and an image sensor 14 are installed in each monitored property 102.

[0017] When the security device 10 receives an alarm signal from the image sensor 14 connected to itself via an on-premise LAN or the like, it transmits the alarm signal and an identification signal of the security device 10 itself, or an identification signal of the image sensor 14 that has detected the monitored object 102 or an abnormality to the security center device 104. The security device 10 has a communication interface for communicating with the image sensor 14, a communication interface for communicating with the security center device 104 and the user device 106, and a control unit for controlling them. The image sensor 14 also serves as an image processing device, and detects a detection target (a person in this embodiment) from the monitored area based on a captured image of the monitored area in the monitored object 102. The recording device 12 records the captured image taken by the image sensor 14. The recording device 12 can be a recording medium that is detachable from the recording device 12, such as a magnetic disk device such as an HDD, a magnetic tape such as a DAT, or an optical recording medium such as a DVD-RAM, and a device that accesses the recording medium to read and write data. The recording device 12 receives the image captured by the image sensor 14 from the security device 10, and records the image in association with the time of capture.

[0018] The security center device 104 is comprised of a so-called computer, and is equipped with a communications interface for communicating with the security device 10 via the communications network 108, a display device such as an LCD display, and an alarm unit comprised of a buzzer, LED, etc. When the security center device 104 receives an alarm signal from the security device 10 via the communications network 108, it notifies the monitor of the monitored property 102 in which the security device 10 that sent the alarm signal is installed, and the details of the detected abnormality, via the alarm unit and the display device.

[0019] The user device 106 is also composed of a so-called computer, and includes a communication interface for communicating with the security device 10 via the communication network 108, a display device such as a liquid crystal display, and a user interface such as a keyboard or mouse for inputting operation commands for remotely operating the security device 10. When an operation is performed via the user interface to observe a previously registered monitored property 102, the user device 106 transmits various image request signals to the security device 10 installed at the registered monitored property 102, requesting that the security device 10 transmit to the user device 106 images currently being captured or images recorded in the recording device 12. Then, when the user device 106 receives the captured images from the security device 10, it displays the requested captured images on the display unit.

[0020] The image sensor 14, which also serves as an image processing device, is described below. The image sensor 14 includes an image capturing section 20, an illuminance sensor 22, an illumination section 24, a storage section 26, a communication section 28, and an image processing section 30, as shown in FIG.

[0021] The photographing unit 20 photographs the monitoring area of ​​the monitored object 102 to obtain a photographed image. The photographing unit 20 is capable of photographing the monitoring area using a plurality of photographing methods. The plurality of photographing methods may, for example, be a combination of a method of photographing with visible light (capturing a visible image) and a method of photographing with near-infrared lighting (capturing a near-infrared image).

[0022] The photographing unit 20 is composed of a photoelectric converter such as a CCD that is sensitive to visible light and infrared light, an imaging optical system that forms an image of the monitored area on the photoelectric converter, and an IR cut filter (infrared cut filter) provided in the imaging optical system.

[0023] The photographing unit 20 photographs by switching between two photographing modes, a daytime mode in which the monitored area is photographed with visible light and a nighttime mode in which the monitored area is photographed with near-infrared light illumination, as a plurality of photographing methods. In the daytime mode, an IR cut filter is inserted into the optical path of the imaging optical system to cut near-infrared light and a visible light image is acquired. On the other hand, in the nighttime mode, the IR cut filter is removed from the optical path of the imaging optical system and a near-infrared image is acquired. Note that photographing in the daytime mode and the nighttime mode may be switched by a method of separately providing a visible camera for acquiring a visible light image and a near-infrared camera for acquiring a near-infrared light image, a method of controlling the sensitivity wavelength range of a photoelectric converter by changing a voltage applied to an organic thin film having a laminated structure, or the like. The photographing mode can be switched based on the illuminance detection result by the illuminance sensor 22 described later and the luminance value of the photographed image.

[0024] The photographing unit 20 photographs and acquires photographed images at regular time intervals (for example, 1 / 5 seconds), but the photographing interval of the photographing unit 20 is not limited to this. The acquired photographed images are stored in the storage unit 26. Note that, in this embodiment, the photographing unit 20 is included in the image sensor 14, but the photographing unit 20 may be provided outside the image sensor 14.

[0025] The illuminance sensor 22 is a sensor that detects the illuminance (brightness) of the monitoring area. The illuminance sensor 22 can be any of various known illuminance sensors, and can be configured to include, for example, a photodiode. An illuminance signal indicating the illuminance detected by the illuminance sensor 22 is used in the photographing unit 20 to determine whether to switch the photographing mode.

[0026] The illumination unit 24 includes a light that irradiates the monitoring area with light. The illumination unit 24 includes a near-infrared light. The near-infrared light irradiates the monitoring area with near-infrared light when the photographing mode of the photographing unit 20 is the night mode, and is turned off when the photographing mode is the day mode.

[0027] The storage unit 26 includes storage means such as a semiconductor memory, a magnetic disk (HDD), a CD-ROM, a DVD-RAM, etc. The storage unit 26 stores an image processing program for operating each unit of the image sensor 14. The storage unit 26 also stores a captured image 40 and a background image 42 acquired by the imaging unit 20.

[0028] The captured images 40 are images acquired by the imaging unit 20 sequentially capturing images of the monitoring area. The captured images 40 captured at a plurality of times are stored in the memory unit 26. When a new image is captured, the captured image 40 captured at the oldest capture time among the plurality of captured images 40 stored in the memory unit 26 may be deleted, and the latest captured image 40 may be stored. In this way, the captured images 40 for a predetermined period are accumulated and stored in the memory unit 26.

[0029] 3 shows a conceptual diagram of a plurality of captured images 40 arranged in the order of acquisition time. Among the plurality of captured images 40, an image to be processed for human image detection is indicated as an input image 40t, an image captured earlier in time than the input image 40t is indicated as a past image 40p, and an image captured later in time than the input image 40t is indicated as a future image 40f. The storage unit 26 stores 10 frames of past images 40p, 1 frame of input image 40t, and 10 frames of future images 40f, and when the intruder determination process described later is completed for the input image 40t, the captured image 40 captured next to the input image 40t (the future image 40f one frame after the input image 40t) becomes the new input image 40t. The input image 40t does not need to be the latest captured image 40 (the one with the most recent acquisition time).

[0030] The background image 42 (reference image) is set using the past image 40p. The background image 42 is generated based on the past image 40p when no moving object such as a person exists in the monitoring area among the past images 40p. For example, the image processing unit 30 obtains the frame difference between two past images 40p adjacent in time series, and obtains the average value of the absolute value of the luminance difference between corresponding pixels between the frames. When no moving object exists in both frames, the average value of the absolute value of the luminance difference between the two frames becomes significantly small. Therefore, the image processing unit 30 stores in the storage unit 26, as the background image 42, any of the past images 40p whose average value is smaller than a predetermined reference. The background image 42 is updated at regular intervals (for example, every 10 minutes) to accommodate fluctuations in the brightness of the monitoring area due to fluctuations in the lighting conditions, diurnal fluctuations of the sun, and the like. The background image 42 may be an image taken earlier than the past image 40p.

[0031] The captured image 40 and the background image 42 may be stored in the storage unit 26 and processed for each image captured when near-infrared light is irradiated by the lighting unit 24 in the night mode, or for each image captured in the daytime mode. In addition, in the present embodiment, the captured image 40 and the background image 42 are stored in the storage unit 26 within the image sensor 14, but the captured image 40 and the background image 42 may be stored in a storage unit provided outside the image sensor 14 and accessible from the image sensor 14.

[0032] The communication unit 28 is an input / output interface that transmits and receives various setting signals and control signals between the image sensor 14 and the security device 10 via a communication network such as an in-house LAN, and is composed of various communication interface circuits such as Ethernet (registered trademark) and driver software that drives them. When an intruder is detected by the image processing unit 30 described below, the communication unit 28 outputs an intrusion alarm signal indicating that an intruder has been detected to the security device 10.

[0033] The image processing unit 30 has an embedded microprocessor unit, memories such as ROM and RAM, and peripheral circuits, and executes various signal processing of the image sensor 14. As shown in Fig. 2, the image processing unit 30 includes a differential region extraction means 50, a size determination means 52, a differential region separation means 54, a feature extraction means 56, and a determination means 58.

[0034] The differential region extraction means 50 is a means for comparing two images and extracting a background differential region. The differential region is a region consisting of one or more changed pixels whose absolute value of the difference in luminance value between the two images is greater than a predetermined difference reference value when the difference in luminance value between the two images is calculated. A unification process may be performed for the extracted changed pixels, in which a group of pixels consisting of other changed pixels adjacent to each other is treated as one differential region. Note that the adjacent pixels may be pixels adjacent in the vertical, horizontal, and diagonal directions, or may include pixels adjacent in the diagonal direction. The differential region extraction means 50 may also approximate the differential region to a simple shape such as an ellipse or a rectangle by applying an elliptical approximation process or a rectangular approximation process. The differential region extraction means 50 performs a labeling process for assigning an identifier (label) to each differential region.

[0035] The differential region extraction means 50 extracts a differential region by comparing an input image 40t, which is a processing target among the captured images, with a background image 42. For example, when the background image 42 shown in Fig. 4(a) is compared with an input image 40t in which a person X is reflected as shown in Fig. 4(b), a differential region 44 is extracted as shown in Fig. 4(c). Note that the differential region 44 in Fig. 4(c) shows an example of the result of ellipse approximation processing.

[0036] The size determination means 52 determines whether or not the differential region 44 extracted by the differential region extraction means 50 corresponds to the size of the detection target. That is, the size determination means 52 determines whether or not the differential region 44 is likely to be the detection target by determining the size thus determined and comparing the determined size with a size that indicates the likelihood of the detection target being stored in advance.

[0037] When the object to be detected is a person, the size standard of the person reflected in the captured image 40 is checked and set in advance as a size reference value, and if the size of the difference region 44 is within the range of the size reference value, it is determined that the difference region 44 may be a person, and if the size of the difference region 44 is outside the range of the size reference value, it is determined that the difference region 44 is other than a person.

[0038] The differential region separation means 54 separates low luminance partial regions and high luminance partial regions from the differential region 44 extracted by the differential region extraction means 50. The differential region separation means 54 calculates the average luminance value of the pixels included in each differential region 44, and extracts pixels in the differential region 44 whose luminance value is equal to or lower than the average luminance value as low luminance partial regions, and extracts pixels in the differential region 44 whose luminance value is higher than the average luminance value as high luminance partial regions.

[0039] For example, as shown in FIG. 5(a), if there are bright regions (lightly hatched regions) and dark regions (darkly hatched regions) in the differential region 44, the bright regions are extracted as high-luminance partial regions 44a and the dark regions are extracted as low-luminance partial regions 44b by the differential region separation means 54, as shown in FIG. 5(b).

[0040] The process of extracting low-luminance partial regions and high-luminance partial regions by the differential region separation means 54 is not limited to the process using the average luminance value of the differential region 44. For example, the average luminance value of the background image 42 in the same region as the image region from which the differential region 44 is extracted may be used. In this case, a group of images in the differential region 44 having a luminance value higher than the average luminance value of the background image 42 minus a correction value α (α is a specified value or a variable value) may be set as a high-luminance partial region 44a, and the rest may be set as a low-luminance partial region 44b. When the correction value α is a variable value, it is preferable that the higher the average luminance value of the background image 42 is, the higher the correction value α is, and the lower the average luminance value is, the lower the correction value α is.

[0041] The feature extraction means 56 extracts features from the difference region 44. In this embodiment, the feature extraction means 56 extracts a first feature indicating a shadow-likeness for the low luminance partial region 44b and a second feature indicating a shadow-likeness for the high luminance partial region 44a, which is different from the first feature indicating a shadow-likeness for the high luminance partial region 44a, in order to extract features for determining whether the difference region 44 is a shadow-likeness. When the difference region 44 is a shadow, a dark shadow-likeness appears in the image in the low luminance partial region 44b and a bright shadow-likeness appears in the image in the high luminance partial region 44a, and therefore different features are extracted for each region.

[0042] The feature extraction means 56 extracts a first feature indicating the shadow-likeness of the low brightness partial region 44b extracted by the difference region separation means 54. The first feature indicating the shadow-likeness is a variance value T1 and a correlation value T2 for the low brightness partial region 44b. The variance value T1 for the low brightness partial region 44b is a variance value of the difference value of the background difference in the low brightness partial region 44b. The correlation value T2 for the low brightness partial region 44b is a value indicating the correlation of the luminance values ​​between the input image 40t and the background image 42 in the image region of the low brightness partial region 44b. The correlation value T2 for the low brightness partial region 44b indicates the similarity of the texture patterns of the input image 40t and the background image 42 by the normalized correlation of the luminance values.

[0043] The variance value T1 of the low luminance partial region 44b is such that, when the differential region 44 is a shadow, the luminance value of the object (e.g., a floor, etc.) reflected in the background image 42 in the region is uniformly lower in the input image 40t. Therefore, the variance value of the difference value of the background difference is uniformly lower by the same luminance value, so that the smaller the variance value of the difference value of each pixel, the higher the possibility of a shadow, making it difficult to determine that the object is a person to be detected. Furthermore, the correlation value T2 of the low luminance partial region 44b is such that, when the differential region 44 is a shadow, the texture pattern between the background image 42 and the input image 40t in the region does not change. Therefore, the higher the correlation value T2 of the low luminance partial region 44b, the higher the possibility of a shadow, making it difficult to determine that the object is a person to be detected.

[0044] For the low brightness partial region 44b, other indices may be extracted as the first feature amount. For example, the average brightness value of the low brightness partial region 44b may be extracted as the feature amount. The lower the average brightness value, the higher the possibility of it being a shadow, making it more difficult to determine that the object is a person to be detected.

[0045] The feature extraction means 56 also extracts a second feature indicating the likelihood of a shadow from the high brightness partial region 44a extracted by the difference region separation means 54. The second feature indicating the likelihood of a shadow is the similarity T3 of the average brightness values ​​of the high brightness partial region 44a and the background image 42, that is, the feature of whether the average brightness value is not significantly different between the high brightness partial region 44a and the background image 42. For example, the brightness difference between the average brightness value of the input image 40t in the image region of the high brightness partial region 44a and the average brightness value of the background image 42 is extracted. If the difference is less than the brightness difference reference value, it is highly likely to be a shadow, and it is difficult to determine that the object is a person to be detected. This is because a bright shadow is a shadow that has passed through window glass or the like, and the change from the brightness value of the background image is small. It is better to set the brightness difference reference value with a certain margin, taking into account colored glass and the like. On the other hand, in the low-brightness partial region 44b, the feature of the difference in the average luminance value between the input image 40t and the background image 42 in the image region of the low-brightness partial region 44b is large when the luminance value of the background image 42 is high. However, when the luminance value of the background image 42 is not high (such as an area illuminated by dim lighting), it is difficult to obtain the luminance difference and it is dependent on changes in the luminance value of the background light, so it is not suitable as a feature to be extracted.

[0046] The second feature amount indicating the shadow-likeness may be a luminance ratio of the average luminance value of the input image 40t to the average luminance value of the background image 42 in the image region of the high luminance partial region 44a. If the luminance ratio of the average luminance value of the input image 40t to the average luminance value of the background image 42 in the image region of the high luminance partial region 44a is equal to or greater than a luminance ratio reference value, the image region is highly likely to be a shadow, making it difficult to determine that the object is a person to be detected. The luminance ratio reference value may be, for example, 75%.

[0047] For the high brightness partial region 44a, another index may be extracted as the second feature. For example, a correlation value for the high brightness partial region 44a may be extracted as the feature. The correlation value for the high brightness partial region 44a is a value indicating the correlation of the brightness difference between the input image 40t and the background image 42 in the image region of the high brightness partial region 44a, and indicates the similarity of the texture pattern by the normalized correlation of the brightness value. When the difference region 44 is a shadow, the texture pattern of the background image 42 and the input image 40t in the region does not change, so the higher the correlation value for the high brightness partial region 44a, the higher the possibility of it being a shadow, making it difficult to determine that the object to be detected is a human.

[0048] As described above, the first feature amount and the second feature amount may use different indices, or some of the multiple indices may be the same (for example, a correlation value may be extracted from both the first feature amount and the second feature amount).

[0049] The feature extraction means 56 may extract other features, such as features indicating insect-likeness or features indicating human-likeness, from the differential region 44 by using a conventional method. The other features are not limited to features indicating insect-likeness or features indicating human-likeness, and may be any feature that can be used to determine the differential region 44.

[0050] The determination means 58 determines whether or not the differential region 44 is a detection target. The determination means 58 determines whether the differential region 44 is likely to be a human or is other than a human, based on the feature extracted by the feature extraction means 56.

[0051] The determination means 58 calculates a shadow attribute value based on the variance value T1 for the low brightness partial region 44b extracted from the differential region 44 by the feature extraction means 56, the correlation value T2 for the low brightness partial region 44b, and the similarity T3 of the brightness value for the high brightness partial region 44a. The shadow attribute value is calculated so that the influence of the first feature amount is greater than that of the second feature amount.

[0052] The shadow attribute value is calculated by multiplying the normalized variance value S1 for the low brightness partial region 44b, the normalized correlation value S2 for the low brightness partial region 44b, and the normalized correlation value S3 for the high brightness partial region 44a, which are obtained by normalizing the variance value T1 for the low brightness partial region 44b, the correlation value T2 for the low brightness partial region 44b, and the similarity T3 for the high brightness partial region 44a using a predetermined function, as shown in Equation (1). The normalized variance value S1, the normalized correlation value S2, and the normalized correlation value S3 become closer to 1 as the difference region 44 becomes more shadow-like, and become closer to 0 as the difference region 44 becomes less shadow-like. In other words, the shadow attribute value is calculated by using the first feature amount as an index indicating two types of shadow-likeness, and the second feature amount as an index indicating one type of shadow-likeness, so the shadow attribute value is calculated by prioritizing the first feature amount.

[0053] (Shadow attribute value) = S1 × S2 × S3 (1)

[0054] The determination means 58, based on the shadow attribute value, makes it easier to determine that the difference region 44 is due to a shadow and more difficult to determine that it is a person as the shadow attribute value increases. Specifically, the determination means 58 determines that the difference region 44 is due to a shadow if the shadow attribute value is equal to or greater than a predetermined shadow reference value, and determines that there is a possibility that the difference region 44 is a person other than a shadow if the shadow attribute value is less than the shadow reference value.

[0055] It should be noted that, although it has been determined whether or not the difference region 44 is caused by a shadow based on the variance value T1 for the low luminance partial region 44b, the correlation value T2 for the low luminance partial region 44b, and the similarity value T3 for the high luminance partial region 44a, this is not limiting.

[0056] For example, the shadow attribute value of the difference region 44 may be calculated based only on the variance value T1 for the low brightness partial region 44b and the correlation value T2 for the low brightness partial region 44b. In this case, the shadow attribute value may be calculated by multiplying the normalized variance value S1 for the low brightness partial region 44b and the normalized correlation value S2 for the low brightness partial region 44b, which are obtained by normalizing the variance value T1 for the low brightness partial region 44b and the correlation value T2 for the low brightness partial region 44b, respectively. Based on the shadow attribute value, the higher the shadow attribute value, the easier it is to determine that the difference region 44 is due to a shadow and the more difficult it is to determine that the difference region 44 is due to a person. Specifically, the determination means 58 determines that the difference region 44 is due to a shadow if the shadow attribute value is equal to or greater than a predetermined shadow reference value, and determines that the difference region 44 may be a person other than a shadow if the shadow attribute value is less than the shadow reference value.

[0057] Also, even if the shadow-likeness of the high brightness partial region 44a is low, if the shadow-likeness of the low brightness partial region 44b is high, the difference region 44 may be determined to be a shadow. For example, the first shadow attribute value is calculated by multiplying the normalized variance value S1 and normalized correlation value S2 for the low brightness partial region 44b, which are obtained by normalizing the variance value T1 and the correlation value T2 for the low brightness partial region 44b, respectively. Also, the normalized correlation value S3 for the high brightness partial region 44a, which is obtained by normalizing the similarity T3 for the high brightness partial region 44a, is set as the second shadow attribute value. Then, the difference region 44 is determined to be a shadow when the first shadow attribute value and the second shadow attribute value for the low brightness partial region 44b are equal to or greater than the first reference value. At this time, the difference region 44 may be determined to be a shadow when the second shadow attribute value for the high brightness partial region 44a is equal to or greater than a second reference value lower than the first reference value, or when the first shadow attribute value for the low brightness partial region 44b is equal to or greater than a third reference value higher than the first reference value.

[0058] In addition, the shadow attribute value may be calculated by weighting the feature amount indicating the shadow-likeness extracted from the low brightness partial region 44b. In this case, the first feature amount and the second feature amount extract the same feature (the same index).

[0059] The shadow attribute value may be calculated by multiplying the normalized variance value S1 and the normalized correlation value S2 for the low luminance partial region 44b and the normalized correlation value S3 for the high luminance partial region 44a. The shadow attribute value may be calculated by weighting the feature value indicating the shadow-likeness extracted from the low luminance partial region 44b. This is because, when the differential region 44 is a shadow, it is easier to extract the feature value indicating the shadow-likeness from the low luminance partial region 44b than from the high luminance partial region 44a.

[0060] Also, it may be determined whether the differential region 44 is a shadow without using the disturbance attribute value of the formula (1). For example, when the variance value T1 of the low luminance partial region 44b is equal to or less than the variance reference value, the correlation value T2 of the low luminance partial region 44b is equal to or more than the correlation threshold, and the similarity T3 to the high luminance partial region 44a is equal to or more than the similarity threshold, it may be determined that the differential region 44 is a shadow. It may be determined whether the differential region 44 is a shadow by using only the feature amount extracted from the low luminance partial region 44b.

[0061] It should be noted that it is also possible to use other indices for the low brightness partial region 44b to determine whether the differential region 44 is a shadow. For example, the average brightness value of the low brightness partial region 44b may be used as a feature for the determination. If the average brightness value is equal to or less than the average brightness threshold, it is highly likely to be a shadow, making it difficult to determine that the object is a human being, which is the object of detection.

[0062] In addition, it may be possible to determine whether the difference region 44 is a shadow using other indices for the high brightness partial region 44a. For example, a correlation value for the high brightness partial region 44a may be used as a feature for the determination. The higher the correlation value, the higher the possibility of a shadow, making it more difficult to determine that the object is a human being.

[0063] If the difference region 44 is not determined to be a shadow by the above process and is determined to possibly be a human, the determination means 58 may further determine whether or not the difference region 44 is a human based on other features of the difference region 44. The determination means 58 determines whether or not the difference region 44 is a human using the features indicating human-likeness and the features indicating insect-likeness extracted by the feature extraction means 56 for the difference region 44. For example, if the features indicating insect-likeness are equal to or greater than a predetermined reference value, the difference region 44 is determined to be an insect. The determination method based on the extracted features can be an existing method. It is also possible to determine whether or not the difference region 44 is a human by extracting only the features indicating disturbance-likeness, which are features other than a human, such as shadow-likeness and insect-likeness, without extracting the features indicating human-likeness.

[0064] Furthermore, when the average luminance value of the differential region 44 is lower than the average luminance value of the image region of the background image 42 corresponding to the image region of the differential region 44, the differential region 44 may be separated into a high luminance partial region 44a and a low luminance partial region 44b. This is because the condition for a shadow to be formed is that the luminance is lower than that of the background, so separation processing can be performed on regions that may be shadows. Furthermore, when the average luminance value of the differential region 44 is lower than the average luminance value of the image region of the background image 42 corresponding to the image region of the differential region 44, the presence or absence of a detection target may be determined using a feature value indicating the likelihood of a shadow extracted from the low luminance partial region 44b and the high luminance partial region 44a.

[0065] Also, the separation process may be performed only on the difference region 44 in which light and dark shadows are mixed. For example, the variance value of the brightness values ​​of the image region of the input image 40t corresponding to the image region of the difference region 44 is obtained, and if the variance value is equal to or greater than a threshold value, the separation process is performed. Also, as one of the features indicating the shadow-likeness to be extracted from the difference region 44, a feature indicating whether light and dark shadows are mixed may be extracted to determine the presence or absence of a detection target. For example, the shadow attribute value of the difference region 44 is obtained including the variance value of the brightness values ​​of each pixel of the image region of the input image 40t corresponding to the image region of the difference region 44. Note that if the variance value of the brightness values ​​of the image region of the input image 40t corresponding to the image region of the difference region 44 is equal to or greater than a threshold value and other features extracted from the difference region 44 also satisfy the criteria, it may be determined that the region is not a detection target.

[0066] When the determination means 58 determines that the differential region 44 is likely to be a person, it transmits an intrusion alarm signal to the security device 10 using the communication unit 28.

[0067] [Image processing method] The image processing method executed by the image sensor 14 will now be described with reference to the flow chart shown in FIG.

[0068] First, the differential region extraction means 50 extracts the differential region 44 by calculating the difference between the input image 40t and the background image 42 (step S10). If the differential region is not extracted, the process is terminated, and if the differential region is extracted, the process proceeds to step S14 (step S12). If the differential region is extracted, the size determination means 52 determines whether the differential region is human-sized or not (step S14). If the differential region is not human-sized, the differential region is determined to be other than a human (step S24), and if the differential region is human-sized, the process proceeds to step S16. If the differential region is human-sized, the differential region separation means 54 separates the differential region 44 into a high-luminance partial region 44a and a low-luminance partial region 44b (step S16). Furthermore, a first feature value indicating a shadow-likeness is extracted from the low-luminance partial region 44b (step S18). Furthermore, a second feature value indicating a shadow-likeness is extracted from the high-luminance partial region 44a (step S20).

[0069] Next, the determination means 58 determines whether the high brightness partial area 44a and the low brightness partial area 44b of the difference area 44 are likely to be shadows. If the high brightness partial area 44a and the low brightness partial area 44b satisfy the shadow-like condition, the difference area 44 is determined to be not human (step S24), and if the shadow-like condition is not satisfied, the process proceeds to step S26 to perform a determination based on other features (step S22). If the shadow-like condition is not satisfied, the determination means 58 further determines whether the difference area 44 is likely to be human using other features. The determination means 58, for example, proceeds to step S24 if the difference area 44 is not likely to be human based on other features such as features indicating insect-likeness or features indicating human-likeness, and proceeds to step S28 if it is not likely to be human (step S26). If the difference area 44 is not likely to be human, the determination means 58 determines that the difference area 44 is not likely to be human (step S24). If the differential region 44 is not due to anything other than a person, the determining means 58 determines that the differential region 44 is due to a person (step S28).

[0070] [Configuration of the invention] [Configuration 1] an image processing unit that determines the presence or absence of a detection target in an input image based on a difference area between an input image to be processed and a background image of a predetermined area in a captured image of the predetermined area, The image processing unit is characterized in that, for the difference region of the input image, a low luminance partial region consisting of pixels with low luminance values ​​and a high luminance partial region consisting of pixels with higher luminance values ​​than the low luminance partial region are used to determine whether the difference region is a shadow or the detection target by using a feature indicating a shadow-likeness extracted from the low luminance partial region. [Configuration 2] The image processing device according to configuration 1, the image processing unit extracts a first feature indicating a likelihood of a shadow from the low-brightness partial region, and extracts a second feature different from the first feature indicating a likelihood of a shadow from the high-brightness partial region, and determines whether the difference region is a shadow or the detection target using the first feature and the second feature. [Configuration 3] 3. The image processing device according to claim 2, the image processing unit determines whether the difference region is a shadow or the detection target using an attribute value indicating a shadow-likeness of the difference region calculated based on the first feature and the second feature, and the attribute value is calculated by placing more importance on the first feature than on the second feature. [Configuration 4] The image processing device according to any one of configurations 1 to 3, The image processing unit determines whether the difference region is a shadow or the detection target using features indicating a shadow-likeness extracted from the high-brightness region together with the low-brightness region, and weights the features extracted from the low-brightness region in the determination. [Configuration 5] The image processing device according to any one of configurations 1 to 4, 13. An image processing device comprising: a processor for processing an image of a region including a difference between the low luminance region and the high luminance region; [Configuration 6] Computer, functioning as an image processing unit that determines the presence or absence of a detection target in an input image based on a difference area between an input image to be processed and a background image of a predetermined area in a captured image of the predetermined area; The image processing unit is characterized in that, for the difference region of the input image, a low luminance partial region consisting of pixels with low luminance values ​​and a high luminance partial region consisting of pixels with higher luminance values ​​than the low luminance partial region are used to determine whether the difference region is a shadow or the detection target by using a feature indicating a shadow-likeness extracted from the low luminance partial region. [Explanation of symbols]

[0071] 10 security device, 12 recording device, 14 image sensor, 20 shooting unit, 22 illuminance sensor, 24 lighting unit, 26 memory unit, 28 communication unit, 30 image processing unit, 40 captured image, 40f future image, 40p past image, 40t input image, 42 background image, 44 difference region, 44a high brightness partial region, 44b low brightness partial region, 50 difference region extraction means, 52 size determination means, 54 difference region separation means, 56 feature extraction means, 58 determination means, 100 security system, 102 monitored property, 104 security center device, 106 user device, 108 communication network.

Claims

1. an image processing unit that determines the presence or absence of a detection target in an input image based on a difference area between an input image to be processed and a background image of a predetermined area in a captured image of the predetermined area, The image processing unit is characterized in that, for the difference region of the input image, a low luminance partial region consisting of pixels with low luminance values ​​and a high luminance partial region consisting of pixels with higher luminance values ​​than the low luminance partial region are used to determine whether the difference region is a shadow or the detection target by using a feature indicating a shadow-likeness extracted from the low luminance partial region.

2. 2. The image processing device according to claim 1, the image processing unit extracts a first feature indicating a likelihood of a shadow from the low-brightness partial region, and extracts a second feature different from the first feature indicating a likelihood of a shadow from the high-brightness partial region, and determines whether the difference region is a shadow or the detection target using the first feature and the second feature.

3. 3. The image processing device according to claim 2, the image processing unit determines whether the difference region is a shadow or the detection target using an attribute value indicating a shadow-likeness of the difference region calculated based on the first feature and the second feature, and the attribute value is calculated by placing more importance on the first feature than on the second feature.

4. 2. The image processing device according to claim 1, The image processing unit determines whether the difference region is a shadow or the detection target using features indicating a shadow-likeness extracted from the high-brightness region together with the low-brightness region, and weights the features extracted from the low-brightness region in the determination.

5. The image processing device according to any one of claims 1 to 4, 13. An image processing device comprising: a processor for processing an image of a region including a difference between the low luminance region and the high luminance region;

6. Computer, functioning as an image processing unit that determines the presence or absence of a detection target in an input image based on a difference area between an input image to be processed and a background image of a predetermined area in a captured image of the predetermined area; The image processing unit is characterized in that, for the difference region of the input image, a low luminance partial region consisting of pixels with low luminance values ​​and a high luminance partial region consisting of pixels with higher luminance values ​​than the low luminance partial region are used to determine whether the difference region is a shadow or the detection target by using a feature indicating a shadow-likeness extracted from the low luminance partial region.

Citation Information

Patent Citations

  • Image monitoring device

    JP1998289321A

  • Image sensor

    JP2001243475A

  • Image sensor

    JP2003162724A

  • Image processing device and object detecting device

    JP2012033052A

  • Image sensor

    JP2015046811A