Image processing system, and image processing program
By comparing difference areas in images taken at different times and analyzing shape and positional changes, the system accurately distinguishes spider silk from a person, improving intrusion detection accuracy.
Patent Information
- Application Number
- JP2023057582
- 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
Conventional image processing systems struggle to accurately distinguish spider silk from a person when it is stretched in hard-to-reach places due to insufficient brightness differences in captured images, leading to potential misidentification.
An image processing unit compares a difference area between an input image and a background image taken at different times, analyzing the shape, position change, and overlapping ratio of difference regions to determine if the area is a detection target, specifically focusing on elongation and position stability to differentiate between spider silk and a person.
This approach effectively reduces the likelihood of mistakenly identifying spider silk as a person by considering the elongated shape and significant positional changes, enhancing the accuracy of intrusion detection.
Smart Images

Figure 2024145293000001_ABST
Abstract
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 has been 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 determine a difference region, which is an area where there is change between the two images, and determining "human-likeness" based on image features such as the size or shape of the difference region.
[0003] An image sensor is disclosed that extracts a difference region from a surveillance image and a background image, calculates the degree to which the difference region has the properties of an intruding object as an intruding object attribute value, calculates the degree to which the difference region has the properties of a specific disturbance other than an intruding object as a disturbance attribute value, sets an area where difference regions with high disturbance attribute values overlap with a specified frequency within a specified time as a disturbance area, and makes it more difficult to determine an intruding object as the greater the overlap rate of each difference region with the disturbance area (Patent Document 1).It is said that this makes it possible to suppress erroneous determination of a disturbance occurring at a position closer to the imaging unit than the intruding object as an intruding object.
[0004] In addition, a technology has been disclosed in which an image captured under illumination is used as an illumination background image, an intrusion is detected based on the image, a processing target area is extracted based on a difference image between an illumination input image captured under illumination and an illumination background image, a spatial frequency of the luminance of the illumination input image in the processing target area is calculated, a luminance increase ratio is calculated, which is the proportion of the area in the processing target area where the luminance of the illumination input image is higher than the luminance of the illumination background image, and an attribute value indicating the resemblance of the area to spider silk using the spatial frequency and the luminance increase ratio is calculated (Patent Document 2). [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2012-084009 A [Patent Document 2] JP 2006-185310 A Summary of the Invention [Problem to be solved by the invention]
[0006] With conventional technology, when spider webs are strung in places that are difficult to illuminate, there is a risk that sufficient brightness difference will be obtained in the captured image, and the spider web will be mistaken for the target object to be detected, such as a person. [Means for solving the problem]
[0007] 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 difference area between an input image to be processed and a background image of the specified area in a captured image of a specified area, and the image processing unit compares a first difference area of the input image with a second difference area between the captured image and the background image, which was captured at a different time than the input image, and determines whether the first difference area is the detection target based on the shapes of the first difference area and the second difference area and the positional change between the first difference area and the second difference area in the captured image.
[0008] 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 difference area between an input image to be processed and a background image of a specified area in a captured image, the image processing unit comparing a first difference area of the input image with a second difference area between the captured image and the background image, the captured image being captured at a different time than the input image, and determining whether the first difference area is the detection target based on the shapes of the first difference area and the second difference area and the positional change between the first difference area and the second difference area in the captured image.
[0009] Here, it is preferable that the image processing unit makes it more difficult to determine that the first difference region and the second difference region are the detection target as the shapes of the first difference region and the second difference region are elongated and the position change is large.
[0010] It is also preferable that the image processing unit obtains, as the position change, an overlap ratio between the positions of the first differential region and the second differential region on the image. Effect of the Invention
[0011] According to the present invention, it is possible to suppress the misjudgment of long and thin disturbances, such as spider webs, in a monitored space as a human or other object to be detected. [Brief description of the drawings]
[0012] [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 calculating an overlap rate from a differential region. [Figure 6] 11A and 11B are diagrams illustrating a process of calculating an overlap rate from a differential region. [Figure 7] 4 is a flowchart showing an image processing method according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] [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.
[0014] 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.
[0015] 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.
[0016] 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.
[0017] 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.
[0018] 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).
[0019] 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.
[0020] 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 between 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.
[0021] 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.
[0022] 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.
[0023] The illumination unit 24 includes a light that irradiates light onto the monitoring area. The illumination unit 24 includes a near-infrared light. The near-infrared light irradiates near-infrared light towards the monitoring area 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. The illumination unit 24 further includes a visible light light that illuminates only the area immediately adjacent to the photographing unit 20 in the monitoring area. By irradiating the area immediately adjacent to the photographing unit 20 with visible light from the visible light light, insects and the like present near the photographing unit 20 are brightly illuminated and photographed.
[0024] 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.
[0025] 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.
[0026] 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).
[0027] 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.
[0028] 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.
[0029] 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.
[0030] The image processing unit 30 has an embedded microprocessor unit, memories such as ROM and RAM, and peripheral circuits, and executes various signal processing for 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 shape feature extraction means 54, a differential region comparison means 56, and a determination means 58.
[0031] 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.
[0032] The differential region extraction means 50 extracts a differential region by comparing an input image 40t to be processed from 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 appears as shown in FIG. 4(b), a differential region 44 is extracted as shown in FIG. 4(c). Hereinafter, the differential region 44 extracted from the input image 40t to be processed and the background image 42 is referred to as a first differential region. Note that the differential region 44 in FIG. 4(c) shows an example of the result of elliptical approximation processing.
[0033] Furthermore, the differential region extraction means 50 extracts a background differential region by comparing a photographed image 40 photographed at a time different from that of the input image 40t with the background image 42. Here, the different time is not particularly limited and may be within a predetermined time (e.g., 0.5 seconds) from the photographed time of the input image 40t. For example, the photographed image 40 photographed at a time different from that of the input image 40t may be the photographed image 40 photographed one frame before or one frame after the input image 40t. Hereinafter, the differential region 44 extracted from the photographed image 40 photographed at a time different from that of the input image 40t and the background image 42 is referred to as a second differential region.
[0034] 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.
[0035] 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.
[0036] The shape feature extraction means 54 extracts features for judging whether or not the shape of the differential region 44 extracted by the differential region extraction means 50 corresponds to the shape of the detection object. That is, the shape feature extraction means 54 obtains features such as the shape (width, height) of the differential region 44. The features are used to judge whether or not the differential region is likely to be the detection object by comparing it with pre-stored features indicating the likelihood of the differential region being the detection object or the likelihood of disturbance.
[0037] In this embodiment, the slenderness of the difference region 44 is obtained as a feature. The shape feature extraction means 54 extracts the length of the short side of the difference region 44 and the ratio of the short side to the long side as features. For example, the short axis length and the ratio of the short axis to the long axis of the elliptical approximation of the difference region 44 are extracted as features. In addition, when only one of the short axis length and the ratio of the short axis to the long axis is used, only one of them may be extracted. Note that, in the case of the difference region 44 being approximated by a rectangle instead of an ellipse, the short axis length and the ratio of the short axis to the long axis are similarly extracted as features. In addition, the width and the ratio of the width to the height of the extracted difference region may be extracted as features without elliptical approximation. Note that the slenderness may be determined as being vertical with the long side being the height. In addition, since there are many directions in which spider silk is made and in which it moves due to wind, etc., the vertical length includes not only direct vertical length but also diagonal vertical length.
[0038] The differential region comparison means 56 performs a process of comparing a first differential region extracted from the input image 40t and the background image 42 with a second differential region extracted from the captured image 40 and the background image 42, the captured image 40 being captured at a time different from that of the input image 40t.
[0039] The differential region comparison means 56 compares the first differential region with the second differential region, and determines the change in position on the image between the first differential region and the second differential region. For example, the overlap ratio is calculated as the ratio of the number of overlapping pixels in the two differential regions to the number of pixels included in the first differential region. Note that the overlap ratio may be the ratio of the number of overlapping pixels in the two differential regions to the number of pixels included in the second differential region, or the ratio of the number of overlapping pixels in the two differential regions to the average or total number of pixels in the first differential region and the second differential region.
[0040] Figure 5 shows an example of processing by the differential region comparing means 56. The differential region comparing means 56 compares the first differential region 44a shown in Figure 5(a) with the second differential region 44b shown in Figure 5(b), and extracts overlapping pixels in the first differential region 44a and the second differential region 44b. In the example of Figure 5, as shown by the dashed line in Figure 5(c), the first differential region 44a and the second differential region 44b do not overlap at all, and the overlap ratio is calculated to be 0.
[0041] Figure 6 shows another example of processing by the differential region comparing means 56. The differential region comparing means 56 compares the first differential region 44a shown in Figure 6(a) with the second differential region 44b shown in Figure 6(b), and extracts overlapping pixels in the first differential region 44a and the second differential region 44b. In the example of Figure 6, as shown by the solid line and hatching in Figure 6(c), the first differential region 44a and the second differential region 44b have an overlapping region 46 of overlapping pixels, and the overlap ratio is calculated to be, for example, 90%.
[0042] Furthermore, the differential region extraction means 50 may determine the position change from the amount of movement between the first and second differential regions, instead of the overlap ratio between the first and second differential regions. The amount of movement between the first and second differential regions may be the distance between the center of gravity of the first and second differential regions on the image. The amount of movement may be calculated by calculating the position where a person exists in real space from the first and second differential regions on the image, determining the direction of movement from the direction of change from the position of the first differential region to the position of the second differential region, and further determining the distance from the position of the first differential region to the position of the second differential region, taking the direction of movement into consideration. The movement distance in real space is determined taking the direction of movement into consideration, since the movement of the visual axis moving toward the camera hardly changes on the image, but may change significantly in real space.
[0043] The amount of movement may also be the speed of movement calculated from the change in the positions of the first and second differential regions on the image. The speed of movement is calculated from the time difference between the capture times of the input image 40t from which the first differential region was extracted and the captured image 40 from which the second differential region was extracted, and the movement distance calculated above. The direction of movement and the movement distance may also be calculated from the change in the center of gravity positions of the first and second differential regions. The faster the speed of movement, the greater the amount of movement. Therefore, the speed of movement is an index included in the amount of movement.
[0044] The determination means 58 determines whether or not the first differential region is a detection target. The determination means 58 determines whether the first differential region is likely to be a human or is other than a human, based on the feature amount regarding the shape of the first differential region extracted by the shape feature amount extraction means 54 and the feature amount determined by the differential region comparison means 56.
[0045] The determination means 58 determines whether the first and second difference regions satisfy the condition that they are elongated and determines the likelihood of the object being detected based on the position change calculated from the first and second difference regions. A spider's thread stretched near the image capture unit 20, which appears to be the size of a person in the captured image 40, has the characteristic that when it moves slightly due to wind, etc., it moves significantly in a short time on the captured image 40. On the other hand, when a person in the monitored space is captured as elongated, he or she is located away from the image capture unit 20, and therefore does not move significantly in a short time on the captured image 40 compared to a spider's thread. Therefore, the shorter the minor axis length of the first and second difference regions approximated as an ellipse, the shorter the ratio of the minor axis length to the major axis length, and the larger the position change calculated from the first and second difference regions, the easier it is to determine that the object is not a person, and the smaller the position change, the more likely it is to be a person.
[0046] The determination means 58 determines that the first differential region is likely to be a human if, for example, the minor axis length is less than or equal to a reference pixel and the minor axis length is less than or equal to a reference ratio of the major axis length, and the overlap ratio is equal to or greater than a predetermined overlap ratio reference value, and determines that the first differential region is other than a human if the minor axis length is less than or equal to a reference pixel and the minor axis length is less than or equal to a reference ratio of the major axis length, and the overlap ratio is less than the overlap ratio reference value. This is because the smaller the overlap ratio, the greater the deviation between the two differential regions, and therefore the greater the position change can be determined to be. For example, if the minor axis length of the elliptical first differential region is 20 pixels or less, the minor axis length is 45% or less of the major axis length, and the overlap ratio is less than 35%, the first differential region is determined to be other than a human, and if the overlap ratio is 35% or more, the first differential region is determined to be likely to be a human. If the minor axis length of the first differential region is greater than 20 pixels or greater than 45% of the major axis length, the first differential region is determined to be likely to be a human, and other features such as the correlation with the background image extracted from the first differential region are used to determine whether or not the first differential region is a human. Here, to determine whether or not the condition for elongatedness is met, only one of the conditions of the minor axis length and the minor axis length / major axis length ratio may be applied.
[0047] In addition, if a long and thin difference region 44 is extracted in an image area where a person does not appear long and thin (for example, the lower part of the captured image 40) in relation to the monitored space and the installation location of the imaging unit 20, it may be determined that it is not a person.
[0048] It is possible to distinguish not only spider silks stretched near the image capturing unit 20, but also disturbances that appear as thin strips in the captured image 40 from people. For example, it is possible to distinguish people from disturbances such as the shadow of a person outside the monitored space in the morning or evening, or the light of a vehicle headlight shining in from outside the monitored space.
[0049] Furthermore, when the amount of movement is used instead of the overlap ratio, it is possible to determine that there is a possibility of a human if the amount of movement is small, and it is easier to determine that there is no human the larger the amount of movement is. The determination means 58 determines that there is a possibility of a human in the first differential region if the amount of movement is equal to or smaller than a predetermined reference value for the amount of movement, and determines that the first differential region is other than a human if the amount of movement is greater than the reference value for the amount of movement.
[0050] The overlap ratio reference value and the movement amount reference value are preferably set according to the shooting conditions of the captured image 40, the time difference between the shooting times of the input image 40t from which the first differential region was extracted and the captured image 40 from which the second differential region was extracted, and the like. In order to determine the difference between the movement of a spider's thread and that of a person, if the difference in the shooting times of the captured images to be compared is too large, the person will move significantly in the image and may be erroneously determined to be a spider's thread, and if the time difference is too small, the spider's thread will not move significantly in the image and may not be determined to be something other than a person. Therefore, if the reference value is not set according to the time difference, it is desirable to shoot with a time difference of at least a first time (e.g., 30 fps) and no more than a second time (e.g., 2 fps).
[0051] Furthermore, the elongated feature amount, overlap ratio feature amount, etc. may be used to calculate a disturbance attribute value as shown in Equation (1) to determine whether the first differential region is caused by a disturbance or something else. The disturbance attribute value is a value that represents the degree of disturbance-likeness, that is, the degree to which the region has the nature of a disturbance, and the determination means 58 determines that the first differential region is caused by a disturbance if the disturbance attribute value is equal to or greater than a predetermined disturbance reference value, and determines that the first differential region is caused by something other than a disturbance if the disturbance attribute value is less than the disturbance reference value.
[0052] The disturbance attribute value is calculated by multiplying the normalized minor axis length value (S1), the normalized minor axis length / major axis length ratio (S2), and the normalized overlap ratio (S3) for the first and second differential regions, which are obtained by normalizing the minor axis length, minor axis length / major axis length ratio, and overlap ratio of the first and second differential regions, respectively, using a predetermined function, and the more non-human the first differential region is, the closer the output value is to 1. In other words, the more elongated and thin the region is and the lower the overlap ratio, the closer the output value is to 1, making it more likely to be determined to be something other than human.
[0053] (Number 1) (Disturbance attribute value) = S1 × S2 × S3 (1)
[0054] If the above process determines that the first differential region is likely to be a human, the determination means 58 further determines whether or not the first differential region is a disturbance based on other feature amounts that indicate the likelihood of a disturbance. The determination means 58 calculates a disturbance attribute value from the other feature amounts, and determines whether or not the first differential region is due to a disturbance based on the calculated disturbance attribute value.
[0055] A disturbance attribute value is calculated by extracting feature quantities such as shadow-likeness or spider silk-likeness using a known method. For example, the disturbance attribute value is calculated by extracting feature quantities such as the variance and correlation value of the luminance of the input image 40t and the background image 42 in the first difference region, the luminance increase rate of the first difference region before and after irradiation with visible light, and the movement change extracted by tracking the first difference region from the difference regions extracted from multiple past images.
[0056] If the judgment means 58 determines that the first differential region is something other than a disturbance, it judges the first differential region to be a person, and uses the communication unit 28 to send an alarm signal to the security device 10 indicating the possibility of the presence of an intruder.
[0057] In this embodiment, a feature indicating the likelihood of a disturbance is extracted to determine whether or not the first differential region is likely to represent a human. Alternatively, a feature indicating the likelihood of a human being is extracted from the first differential region, and whether or not the first differential region represents a human being is determined based on the feature.
[0058] [Image processing method] Hereinafter, the image processing method (intruder determination process) executed by the image sensor 14 will be described with reference to the flowchart shown in FIG.
[0059] First, the differential region extraction means 50 extracts the first and second differential regions by calculating the difference between the input image 40t and the photographed image 40 photographed at a different time from the input image 40t and the background image 42 (step S10). If the differential region is not extracted, the process ends, 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 person (step S22), and if the differential region is human-sized, the process proceeds to step S16. If the differential region is human-sized, the shape feature extraction means 54 and the differential region comparison means 56 extract a feature indicating slenderness and a feature of overlap ratio from the first and second differential regions (step S16). If it is determined in step S22 that the differential region is not a human, it is determined whether or not the other differential regions of the input image 40t are human, and if it is determined that all differential regions are not a human, the process ends.
[0060] Next, the determination means 58 determines whether the first differential region satisfies the elongated condition, and if the elongated condition is satisfied, the process proceeds to step S20. If the elongated condition is not satisfied, the process proceeds to step S24 to perform a determination based on another feature (step S18). If the elongated condition is satisfied, the determination means 58 further determines whether the overlap ratio is equal to or greater than a reference value for the overlap ratio, and if the overlap ratio is equal to or greater than the reference value for the overlap ratio, the process proceeds to step S24. If the overlap ratio is less than the reference value for the overlap ratio, the process proceeds to step S22 (step S20). If the overlap ratio is less than the reference value for the overlap ratio, the determination means 58 determines that the first differential region is not a human (step S22). Note that in step S20, the determination may be made using the amount of movement and the speed of movement instead of the overlap ratio.
[0061] If the overlap ratio is equal to or greater than the overlap ratio reference value, it is determined whether the first differential region is other than a human based on other feature amounts. If it is determined that the first differential region is due to a disturbance other than a human based on the disturbance attribute value, the determination means 58 shifts the process to step S22, and if it is due to something other than a disturbance, shifts the process to step S26 (step S24). If the first differential region is due to a disturbance other than a human, the determination means 58 determines that the first differential region is other than a human (step S22). If the first differential region is due to something other than a disturbance, the determination means 58 determines that the first differential region is a human, and transmits an alarm signal (step S26).
[0062] [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 the predetermined area in a captured image of the predetermined area, The image processing device is characterized in that the image processing unit compares a first difference region of the input image with a second difference region between the captured image and the background image, which was captured at a time different from that of the input image, and determines whether the first difference region is the detection target based on the shapes of the first difference region and the second difference region and the positional change between the first difference region and the second difference region in the captured image. [Configuration 2] The image processing device according to configuration 1, The image processing device according to the present invention, wherein the image processing unit makes it more difficult to determine that the first difference region and the second difference region are the detection target as the shapes of the first difference region and the second difference region are elongated and the position change is large. [Configuration 3] The image processing device according to the first or second aspect of the present invention comprises: The image processing device is characterized in that the image processing unit calculates, as the position change, an overlap ratio between the positions of the first differential region and the second differential region on the image. [Configuration 4] 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 the predetermined area in a captured image; The image processing program is characterized in that the image processing unit compares a first difference region of the input image with a second difference region between the captured image and the background image, the captured image being captured at a time different from that of the input image, and determines whether the first difference region is the detection target based on the shapes of the first difference region and the second difference region and the positional change between the first difference region and the second difference region in the captured image. [Explanation of symbols]
[0063] 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 first difference region, 44b second difference region, 46 overlapping region, 50 difference region extraction means, 52 size determination means, 54 shape feature extraction means, 56 difference region comparison 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 the predetermined area in a captured image of the predetermined area, The image processing device is characterized in that the image processing unit compares a first difference region of the input image with a second difference region between the captured image and the background image, which was captured at a different time than the input image, and determines whether the first difference region is the detection target based on the shapes of the first difference region and the second difference region and the positional change between the first difference region and the second difference region in the captured image.
2. 2. The image processing device according to claim 1, The image processing device according to claim 1, wherein the image processing unit makes it more difficult to determine that the first difference region and the second difference region are the detection target as the shapes of the first difference region and the second difference region are elongated and the position change is large.
3. 3. The image processing device according to claim 2, The image processing device according to claim 1, wherein the image processing unit determines, as the position change, an overlap ratio between the positions of the first differential region and the second differential region on the image.
4. 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 the predetermined area in a captured image; The image processing program is characterized in that the image processing unit compares a first difference region of the input image with a second difference region between the captured image and the background image, the captured image being captured at a time different from that of the input image, and determines whether the first difference region is the detection target based on the shapes of the first difference region and the second difference region and the positional change between the first difference region and the second difference region in the captured image.
Citation Information
Patent Citations
Image processor, method for processing image, and program
JP2003271972A
Image processing apparatus
JP2004295416A
Image sensor
JP2007180933A
Image processor for monitoring
JP2008181321A
Image processing apparatus and image processing method
JP2022014735A
