1. Field of the Invention
The present invention relates to a moving object detection apparatus, a moving object detection method, and a program. More particularly, the invention relates to a moving object detection apparatus, a moving object detection method, and a program for ensuring moving object detection with sufficient accuracy even in dark places, typically at night.
2. Description of the Related Art
There already exist surveillance systems that monitor a predetermined space using surveillance cameras. Such surveillance systems typically use the image taken by each surveillance camera as an analysis image of which the data is to be analyzed, thereby detecting the image of a moving object moving in a designated region inside the analysis image of interest. Traditionally, most of these surveillance systems utilize the technique for detecting images of the moving object using a moving vector (e.g., see Japanese Patent Laid-open No. 2006-260049), or the technique for detecting the moving object by use of correlations between current and past images (e.g., see Japanese Patent No. 3506934 and Japanese Patent Laid-open No. 2007-251721).
From the nature of security, the surveillance system is required to ensure detection with at least a certain level of accuracy so that objects being monitored will not be missed or erroneously detected even in dark places, typically at night. However, the requirement has yet to be met sufficiently by traditional techniques for moving object detection, including those cited above.
The present invention has been made in view of the above circumstances and provides innovative arrangements for ensuring moving object detection with sufficient accuracy even in dark places, typically at night.
In carrying out the present invention and according to one embodiment thereof, there is provided a moving object detection apparatus including: image input processing means for inputting an analysis image composed of an image taken by a camera in order to establish a designated region inside the analysis image; first detection processing means for detecting an image of a moving object which moves within the designated region established by the image input processing means and which is at a distance in a first range from the camera; and second detection processing means for detecting an image of the moving object which moves within the designated region established by the image input processing means and which is at a distance in a second range from the camera, the second range being farther than the first range from the camera. In the moving object detection apparatus, the second detection processing means selectively uses either moving vector determination or correlation determination as a processing technique for detecting the image of the moving object at the distance in the second range, the moving vector determination involving determining whether there exists the moving object using a moving vector, the correlation determination involving determining whether there exists the moving object using correlations between past and current images.
Preferably, the second detection processing means may include: processing technique selection means for selecting either the moving vector determination or the correlation determination as the processing technique based on predetermined parameter; moving vector determination means configured such that if the moving vector determination is determined to be the processing technique by the processing technique selection means, then the moving vector determination means may detect the image of the moving object at the distance in the second range in accordance with the moving vector determination; and correlation determination means configured such that if the correlation determination is determined to be the processing technique by the processing technique selection means, then the correlation determination means may detect the image of the moving object at the distance in the second range in accordance with the correlation determination.
Preferably, the second detection processing means may include brightness determination means as the predetermined parameter for use by the processing technique selection means for determining whether the brightness of the designated region is below a predetermined level; wherein, if the brightness of the designated region is determined to be above the predetermined level by the brightness determination means, then the processing technique selection means may select the moving vector determination as the processing technique; and wherein, if the brightness of the designated region is determined to be below the predetermined level by the brightness determination means, then the processing technique selection means may select the correlation determination as the processing technique.
Preferably, the moving object detection apparatus of the invention may further include external input means for inputting externally the parameter for use by the processing technique selection means; wherein, based on the parameter input by the external input means, the processing technique selection means may select either the moving vector determination or the correlation determination as the processing technique.
Preferably, the second detection processing means may have a plurality of ranges established for the distance to the moving object to be detected; and independently in each of the plurality of ranges, the second detection processing means may select either the moving vector determination or the correlation determination as the processing technique to be used.
According to other embodiments of the present invention, there is provided a moving object detection method representing the functionality of the above-outlined moving object detection apparatus of the invention, as well as a program functionally equivalent to the inventive moving object detection method.
Where the moving object detection apparatus, moving object detection method, or program according to the embodiments of the present invention is in use, an analysis image taken by a camera is input in order to establish a designated region inside the analysis image. An image is detected of a moving object moving within the established designated region at a distance in a first range from the camera. An image is also detected of the moving object moving within the established designated region at a distance in a second range from the camera, the second range being farther than the first range. Either moving vector determination or correlation determination is used selectively as a processing technique for detecting the image of the moving object at the distance in the second range, the moving vector determination involving determining the presence of the moving object using a moving vector, the correlation determination involving determining the presence of the moving object using correlations between past and current images.
According to the present invention embodied as outlined above, it is possible to ensure moving object detection with sufficient accuracy even in dark places, typically at night.
Further features and advantages of the present invention will become apparent upon a reading of the following description and appended drawings in which:
The moving object detection apparatus to which the present invention is applied will now be described below in two types (called the first and the second embodiments hereunder). The description will be given under the following headings:
1. First embodiment (an example in which the processing techniques are switched based on the brightness of the analysis image).
2. Second embodiment (an example in which the processing techniques are switched using a switching instruction from the outside).
The image analysis apparatus 1 of
Designed to perform the image analysis process, the image analysis apparatus 1 is made up of an image input processing section 11, a short-distance detection processing section 12, a long-distance detection processing section 13, a result integration section 14, and a result output section 15.
The image input processing section 11 inputs analysis image data from the outside. Inside the analysis image in question, the region designated typically by a user as the object under surveillance is established as the designated region FS.
The image analysis apparatus 1 adopts a moving image as the subject of surveillance for moving object detection. The moving image is made up of a plurality of unit images such as frames or fields, the unit images being arrayed in a predetermined order to constitute the moving image. The data representing such unit images is input to the image input processing section 11 as analysis image data. That is, every time a unit image constituting part of a moving image is input, the first embodiment performs the image analysis process to determine whether there exists an image of the moving object.
Based on the analysis image data, the short-distance detection processing section 12 and long-distance detection processing section 13 detect whether a moving object image has moved in the designated region FS inside the analysis image of interest.
As shown in
On the other hand, if the moving object (not shown) moves in front of the surveillance camera 61 inside the designated region FS (or probably inside a detection region FF to be discussed later, to be more precise) in a search range D2 at a long distance farther than the predetermined distance from the surveillance camera 61 (i.e., at a distance in the second range farther than the first range), then an image of the moving object is detected by the long-distance detection processing section 13 acting as the second detection processing section to be described in the appended claims.
The short-distance detection processing section 12 may adopt advantageously a technique for detecting the image of the moving object in question by determining whether the moving object image exists using correlations between current and past images. This technique will be called correlation determination hereunder. Where at least a certain amount of light is secured, typically in the daylight, the long-distance detection processing section 13 may advantageously adopt a technique for detecting the image of the moving object in question by determining whether the moving object image exists using a moving vector. This technique will be called moving vector determination hereunder. The reasons why these techniques may be utilized advantageously are explained below.
If the moving object to be detected is near the surveillance camera 61, the image of the moving object grows in size inside the designated region FS. Then if the speed of the movement is higher, the moving distance per unit time within the image becomes longer, which can make it difficult to obtain the moving vector. In such a case, the use of moving vector determination may result in a missed object during detection. By contrast, correlation determination entails a reduced possibility of such missed detection taking place because correlation determination involves utilizing correlations between past and current images inside the designated region FS. For these reasons, correlation determination is suitable for, and adopted by, the short-distance detection processing section 12 of the first embodiment.
That is, the short-distance detection processing section 12 includes a correlation determination block 21 for detecting an image of a moving object through correlation determination.
The correlation determination block 21 calculates the value Rzncc in the following expression (1) using data of the analysis image currently input by the image input processing section 11 (the image is called the current image) and data of the analysis image previously input by the image input processing section 11 (the image is called the past image):
where, the value Rzncc denotes the coefficient of normalized cross correlation. Also in the expression (1) above, the value O represents each pixel value inside the detection region of the current image. In the process of the correlation determination block 21, the value O indicates each pixel value in the designated region FS of the current image. The value Oavg stands for an average of the pixel values inside the detection region of the current image. In the process of the correlation determination block 21, the value Oavg denotes the average of the pixel values in the designated region FS of the current image. The value P represents each pixel value inside the detection region of the past image. In the process of the correlation determination block 21, the value P indicates each pixel value in the designated region FS of the past image. The value Pavg stands for an average of the pixel values inside the detection region of the past image. In the process of the correlation determination block 21, the value Pavg denotes the average of the pixel values in the designated region FS of the past image.
The coefficient Rzncc of normalized cross correlation is small when the moving object is included in the detection region and is large when the moving object is not included in the detection region. Thus the correlation determination block 21 determines that an image of the moving object exists in the designated region FS if the coefficient Rzncc of normalized cross correlation is found smaller than, say, a predetermined threshold value, and that the image of the moving object does not exist in the designated region FS if the coefficient Rzncc of normalized cross correlation is found larger than the threshold value.
However, such correlation determination is not appropriate where the moving object to be detected is at a long distance from the surveillance camera 61. That is because the image of the moving object becomes smaller in size in the designated region FS the farther away from the surveillance camera 61. In such a case, the size of the moving object inside the designated region FS becomes about the same as that of the image of, say, the trees swaying near the surveillance camera 61. Thus with correlation determination, it is difficult to determine whether the moving object image included in the designated region FS is the image of the moving object to be detected or the image of the disturbances caused by the swaying trees or the like. Correlation determination may then result in faulty detection.
By contrast, moving vector determination entails a reduced possibility of such erroneous detection taking place because this technique involves acquiring the moving vector of the moving object image included in the designated region FS thereby making it easy to find the moving speed of the moving object image and its moving direction inside the designated region FS. For this reason, moving vector determination is principally suitable for, and adopted by, the long-distance detection processing section 13 of the first embodiment as the processing technique.
The wording “moving vector determination is principally suitable” means that it is suitable as the processing technique assuming that at least a certain amount of light is secured as in the daylight. The image taken by the surveillance camera 61 with an insufficient amount of light typically at night has a low level of brightness. The use of the data derived from such images at low levels of brightness worsens the accuracy of calculating the moving vector of the moving object image. As a result, the accuracy of detecting the moving object image declines.
According to the first embodiment, the long-distance detection processing section 13 adopts as its processing technique moving vector determination where the brightness of the analysis image is above a predetermined reference level, or takes up correlation determination where the brightness of the analysis image is below the reference level.
If the brightness of the analysis image is below the reference level, i.e., where there is an insufficient amount of light typically at night, the images of disturbances such as swaying trees are either not included in the analysis image or may be included but at far lower levels of brightness than the image of the moving object to be detected. It follows that where the brightness of the analysis image is below the reference level, there is practically no possibility of erroneously regarding the disturbances typically caused by swaying trees or the like as the image of the moving object. Thus correlation determination may be adopted by the long-distance detection processing section 13 with little fear of faulty detection as long as the brightness of the analysis image is below the reference level.
In the manner described above, the long-distance detection processing section 13 selects either moving vector determination or correlation determination as its processing technique based on the brightness of the analysis image. By use of the processing technique thus selected, the long-distance detection processing section 13 detects the image of the moving object.
Designed to function as discussed above, the long-distance detection processing section 13 is made up of a brightness determination block 31, a processing technique selection block 32, a moving vector determination block 33, and a correlation determination block 34, as illustrated in
The brightness determination block 31 determines whether the brightness of the analysis image of interest in the designated region FS is below a predetermined reference level on the basis of the analysis image data output from the image input processing section 11. More specifically, the brightness determination block 31 counts the number of the pixels whose brightness values are below the reference level from among the pixels inside the designated region FS. If the pixel count thus obtained is above a predetermined threshold value, the brightness determination block 31 determines that the brightness in the designated region FS is below the reference level. If the pixel count is below the threshold value, then the brightness determination block 31 determines that the brightness in the designated region FS is above the reference level.
Based on the result of the determination by the brightness determination block 31, the processing technique selection block 32 selects either moving vector determination or correlation determination as the processing technique. That is, if the brightness determination block 31 determines that the brightness in the designated region FS is above the reference level, the processing technique selection block 32 selects moving vector determination as the processing technique and allows the analysis image data output from the image input processing section 11 to be supplied to the moving vector determination block 33. On the other hand, if the brightness determination block 31 determines that the brightness in the designated region FS is below the reference level, then the processing technique selection block 32 selects correlation determination as the processing technique and allows the analysis image data output from the image input processing section 11 to be sent to the correlation determination block 34.
The moving vector determination block 33 detects the image of the moving object in accordance with moving vector determination. For example, the moving vector determination block 33 establishes each of the pixels of the current image in the designated region FS successively as the pixel of interest so as to establish a block surrounding the pixels of interest in the current image (the block is called the block of interest). The moving vector determination block 33 then searches a past image for a block corresponding to the block of interest (the searched-for block is called the corresponding block). The moving vector determination block 33 proceeds to detect a vector ranging from the corresponding block to the block of interest through the current and past images being overlaid (in the same coordinate system) as the moving vector of the pixels of interest.
The above-described technique for detecting the moving vector is generally called block-matching algorithm. Needless to say, block-matching algorithm is only an example and other desired techniques such as gradient methods may be adopted instead.
The correlation determination block 34 detects the image of the moving object in accordance with correlation determination. That is, the correlation determination block performs basically the same process as the correlation determination block 21 of the short-distance detection processing section 12. It should be noted, however, that the detection region used to find the coefficient Rzncc of normalized cross correlation using the expression (1) above is different between the correlation determination block 34 of the long-distance detection processing section 13 and the correlation determination block 21 of the short-distance detection processing section 12.
Described above was the functional structure of the long-distance detection processing section 13 capable of choosing between moving vector determination and correlation determination. As shown in
The result integration section 14 integrates the detection result coming from the short-distance detection processing section 12 with the detection result from the long-distance detection processing section 13, and sends the integrated result to the result output section 15. In turn, the result output section 15 outputs the integrated result as the definitive result of the detection carried out by the image analysis apparatus 1.
For example, if at least either the detection result from the short-distance detection processing section 12 or the detection result from the long-distance detection processing section 13 indicates a moving object having been detected, the result integration section 14 acquires the integrated result indicating that there is a moving object and causes the result to be output by the result output section 15.
On the other hand, if neither the detection result from the short-distance detection processing section 12 nor the detection result from the long-distance detection processing section 13 indicates a moving object having been detected, then the result integration section 14 acquires the integrated result indicating that there is no moving object and has the result output by the result output section 15.
Explained below in reference to
As discussed above, the image analysis apparatus 1 adopts the moving image as the subject of surveillance for moving object detection. That moving image is composed of a plurality of unit images taken at predetermined intervals by the surveillance camera 61 in
In step S1, the image input processing section 11 of the image analysis apparatus 1 in
In steps S2 and S3, the short-distance detection processing section 12 and long-distance detection processing section 13 perform a short-distance detection process and a long-distance detection process, respectively, in parallel.
The short-distance detection process refers to a series of steps carried out by the short-distance detection processing section 12 until a moving object image is detected. The short-distance detection process will be discussed later in detail in reference to the flowchart of
In step S4, the result integration section 14 integrates the results of the short-distance detection process and long-distance detection process. That is, if the results of both the short-distance detection process and the long-distance detection process indicate that there is no moving object, the integrated result says there exists no moving object. If at least either the detection result from the short-distance detection processing section 12 or the detection result from the long-distance detection processing section 13 indicates that there is a moving object, then the integrated result says there exists a moving object.
In step S5, the result output section 15 outputs the integrated result obtained in step S4 as the definitive result of the detection performed by the image analysis apparatus 1. This step concludes the image analysis process.
Explained below in reference to
In step S21, the correlation determination block 21 of the short-distance detection processing section 12 performs correlation determination on the data of the analysis image input in step S1 of
In step S22, the correlation determination block 21 outputs the result of the process of correlation determination in step S21.
If no moving object image is detected in the process of correlation determination in step S21, then the correlation determination block 21 goes to step S22 and outputs the result indicating that there is no moving object. This step concludes the short-distance detection process. In this case, if the result of a long-distance detection process in
Meanwhile, if a moving object image is detected in the process of correlation determination in step S21, then the correlation determination block 21 goes to step S22 and outputs the result of the detection indicating that there is a moving object. This step concludes the short-distance detection process. In this case, the definitive result of the image analysis process in
After the result of the process in step S21 is output in step S22, control is transferred to step S4 in
Explained above in reference to
In step S41, based on the data of the analysis image input in step S1 of
If the brightness determination block 31 determines that the brightness of the analysis image is above the reference level, then the processing technique selection block selects moving vector determination as the processing technique. The processing technique selection block 32 proceeds to supply the moving vector determination block 33 with the analysis image data input in step S1. In this case, the result of the determination in step S41 is negative (“NO”), and control is transferred to step S42.
In step S42, the moving vector determination block 33 performs moving vector determination on the analysis image data. Performing moving vector determination means detecting a moving object image in accordance with moving vector determination.
In step S44, the moving vector determination block outputs the result of the process of moving vector determination in step S42.
If no moving image data is detected in the process of moving vector determination in step S42, then the moving vector determination block 33 goes to step S44 and outputs the result indicating that there is no moving object. This step concludes the long-distance detection process. In this case, if the result of the above-described short-distance detection process in
Meanwhile, if a moving object image is detected in the process of moving vector determination in step S42, then the moving vector determination block 33 goes to step S44 and outputs the result of the detection indicating that there is a moving object. This step concludes the long-distance detection process. In this case, the definitive result of the image analysis process in
Explained above was the process performed after the result of the determination in step S41 turns out to be negative (“NO”), i.e., the process executed when moving vector determination is carried out.
On the other hand, if the brightness determination block 31 determines that the brightness of the analysis image is below the reference level, then the processing technique selection block 32 selects correlation determination as the processing technique. The processing technique selection block 32 proceeds to supply the correlation determination block 34 with the analysis image data input in step S1. In this case, the result of the determination in step S41 is affirmative (“YES”), and control is transferred to step S43.
In step S43, the correlation determination block 34 performs correlation determination on the data of the analysis image. Performing correlation determination means detecting a moving object image in accordance with correlation determination.
In step S44, the correlation determination block 34 outputs the result of the process of correlation determination performed in step S43.
If no moving image data is detected in the process of correlation determination in step S43, then the correlation determination block 34 goes to step S44 and outputs the result indicating that there is no moving object. This step concludes the long-distance detection process. In this case, if the result of the above-described short-distance detection process in
Meanwhile, if a moving object image is detected in the process of correlation determination in step S43, then the correlation determination block 34 goes to step S44 and outputs the result of the detection indicating that there is a moving object. This step concludes the long-distance detection process. In this case, the definitive result of the image analysis process in
In step S44, the result of the process in step S42 or S43 is output. Control is then transferred to step S4 in
As described, the image analysis apparatus 1 can distinguish between the moving object image at a short distance and the moving object image at a long distance when detecting the image of the moving object moving inside the designated region FS of the analysis image. More specifically, when detecting the image of the moving object at a short distance, the image analysis apparatus 1 always performs correlation determination. On the other hand, if the brightness of the analysis image is above the predetermined reference level, then the image analysis apparatus 1 detects the image of the moving object at the long distance in accordance with moving vector determination. This allows the image analysis apparatus 1 to remain robust against disturbances such as the images of swaying trees in a bright environment as in the daylight, thereby enabling the apparatus 1 to detect moving object images in stable fashion.
Also, when the brightness of the analysis image is below the reference level, the image analysis apparatus 1 switches the processing technique for detecting moving object images at long distances from moving vector determination to correlation determination. Correlation determination is more robust against brightness fluctuation than moving vector determination. Meanwhile, the disturbances such as swaying trees to which correlation determination is vulnerable are not imaged at all or may be imaged but at a very low level of brightness where the brightness of the analysis image is below the reference level in a dark environment such as at night. This provides for little possibility of faulty detection. Thus even if the brightness of the analysis image drops below the reference level in a dark environment such as at night, it is possible to secure stable detection of moving object images.
The image analysis apparatus 1 can be applied not only to the surveillance system discussed above but also to other diverse fields. A few typical applications of the image analysis apparatus 1 will be explained below in reference to
The surveillance system 81 in
The imaging unit 91 is composed of an image pickup device such as CCD (charge coupled device) or CMOS (complementary metal oxide semiconductor) and lenses. Typically, the imaging unit 91 may be the surveillance camera 61 in
The imaging signal processing unit 92 performs various image-related processes such as image correction permitting appropriate gradations, noise removal, and colorization on the imaging signal. Consequently, the imaging signal processing unit 92 outputs a digitized imaging signal, i.e., imaging data that is supplied to the imaging data processing unit 93 and image analysis unit 94.
The imaging data processing unit 93 performs a process for converting the imaging data into a format in which to distribute the data of the taken image over a network. For example, the imaging data processing unit 93 carries out a compression coding process on the imaging data.
As explained above in connection with the image analysis apparatus 1, the image analysis unit 94 analyzes the imaging data output from the imaging signal processing unit 92 as the data of the analysis image, thereby detecting an image of a moving object moving inside the designated region FS in the analysis image of interest.
The transmission unit 95 multiplexes the image data encoded by the imaging data processing unit 93 with the result of the analysis performed by the image analysis unit 94. The transmission unit 95 proceeds to transmit the multiplexed result onto the network.
The system 111 in
The image input unit 121 inputs the image signal coming from an external source other than the surveillance camera, such as an analog camera.
As with the imaging signal processing unit 92, the image signal processing unit 122 performs various image-related processes such as image correction permitting appropriate gradations, noise removal, and colorization on the image signal. As a result, the image signal processing unit 122 outputs a digitized image signal, i.e., image data that is supplied to the image data processing unit 123 and image analysis unit 124.
The image data processing unit 123, like the imaging data processing unit 93, performs a process for converting the image data into a format in which to distribute the data of the image over the network. For example, the image data processing unit 123 carries out a compression coding process on the image data.
As explained above in connection with the image analysis apparatus 1, the image analysis unit 124 analyzes the image data output from the image signal processing unit 122 as the data of the analysis image, thereby detecting an image of a moving object moving inside the designated region FS in the analysis image of interest.
Like the transmission unit 95, the transmission unit 125 multiplexes the image data encoded by the image data processing unit 123 with the result of the analysis performed by the image analysis unit 124. The transmission unit 125 proceeds to transmit the multiplexed result onto the network.
The system 141 in
The system 141 in
As with the image input unit 121, the image input unit 151 inputs the image signal coming from an external source other than the surveillance camera.
Like the imaging signal processing unit 92 and image signal processing unit 122, the image signal processing unit 152 performs various image-related processes such as image correction permitting appropriate gradations, noise removal, and colorization on the image signal. As a result, the image signal processing unit 152 outputs a digitized image signal, i.e., image data that is supplied to the image analysis unit 153.
As explained above in connection with the image analysis apparatus 1, the image analysis unit 153 analyzes the image data output from the image signal processing unit 152 as the data of the analysis image, thereby detecting an image of a moving object moving inside the designated region FS in the analysis image of interest.
The transmission unit 154 transmits the result of the analysis coming from the image analysis unit 153 onto the network.
The first embodiment of the present invention can thus be applied to diverse fields and may also be practiced in many applications other than those described above.
For example, it was shown in the foregoing paragraphs that there are two search ranges D1 and D2 in which to search for the image of the moving object as illustrated in
As shown in
Also, as discussed above, the designated region FS is used unchanged as the detection region in the short-distance search range D1. Meanwhile, if correlation determination is adopted as the processing technique in any of the second search range D21, the third search range D22 and the fourth search range D23 where the brightness is below the reference level, the region FF smaller in size than the designated region FS is used as the detection region. In this case, the region FF for use in the second search range D21, the third search range D22 and the fourth search range D23 as the detection region takes the form of a region FF1, a region FF2 and a region FF3, respectively. The regions FF1, FF2 and FF3 each serving as the detection region diminish progressively in size in that order. That is, the farther away from the surveillance camera 61, the smaller the detection region is arranged to be in size. This arrangement permits detection of the image of a moving object that is farther away from the surveillance camera than ever.
In other words, function blocks, not shown, that are each functionally and structurally equivalent to the long-distance detection processing section 13 in
In the case above, other techniques for detecting the moving object image may be adopted alternatively in combination with the currently used processing technique. For example, the technique of changing the resolution of the image depending on the search range may be adopted. If this technique is utilized, it is possible to apply low resolution to, say, the second search range D21 while using high resolution in the third search range D22 and the fourth search range D23. As another example, the technique of varying frame rate depending on the search range may be adopted. If this technique is utilized, it is possible to apply high frame rate to, say, the second and the third search ranges D21 and D22 while using low frame rate in the fourth search range D23.
Where various techniques for detecting the moving object image are used in suitable combination, it is possible not only to make the image analysis apparatus more robust against the disturbance such as trees but also to provide for detection of the moving object image outdoors as well as indoors.
The above-described first embodiment was shown switching the processing techniques for detecting the image of the moving object that is at a long distance in accordance with the brightness of the analysis image of interest. However, the brightness of the analysis image is not the only parameter for use with the processing technique for detecting the image of a long-distance moving object. Any other suitable parameter may be adopted instead.
The image analysis apparatus 161 in
The short-distance detection processing section 182 is composed of a correlation determination block 191.
The long-distance detection processing section 184 is constituted by a processing technique selection block 201, a moving vector determination block 202, and a correlation determination block 203.
Comparing the image analysis apparatus 161 in
On the other hand, the image analysis apparatus 161 in
The external input section 183 inputs a processing technique switching instruction from the outside and notifies the processing technique selection block 201 of the input instruction.
Based on the switching instruction given by the external input section 183, the processing technique selection block 201 selects either moving vector determination or correlation determination as the processing technique. That is, when notified of the instruction for switching to moving vector determination by the external input section 183, the processing technique selection block 201 selects moving vector determination as the processing technique and supplies the moving vector determination block 202 with the analysis image data output from the image input processing section 181. On the other hand, when notified of the instruction for switching to correlation determination by the external input section 183, the processing technique selection block 201 selects correlation determination as the processing technique and supplies the correlation determination block 203 with the analysis image data output from the image input processing section 181.
It is assumed that as shown in
In that case, the brightness of the designated region FS for the taken image output from the surveillance camera 61 is above the reference level. Here, moving vector determination is used as the processing technique of the long-distance detection processing section 13 in the image analysis apparatus 1 of
However, because the luminous image given by the light source 211 serves as the background of the taken image, there exist virtually no disturbances such as swaying trees. Judging from the other external conditions, correlation determination may then be preferable to moving vector determination. In this case, the image analysis apparatus 161 of
As another example, if the light from the light source 211 is blocked off, then it is determined that a moving object has moved past in front of the light source 211 and that correlation determination is therefore preferred to moving vector determination. In this case, the image analysis apparatus 161 of
The series of steps and processes described above may be executed either by hardware or by software.
In such cases, a personal computer such as one shown in
In
The CPU 301, ROM 302, and RAM 303 are interconnected via a bus 304. An input/output interface 305 is also connected to the bus 304.
The input/output interface 305 is connected with an input section 306 typically made up of a keyboard and a mouse and with an output section 307 usually composed of a display. The input/output interface 305 is also connected with the storage section 308 such as a hard disk and with a communication section 309 generally made up of a modem and a terminal adapter. The communication section 309 controls communications conducted with other apparatuses (not shown) over networks including the Internet.
A drive 310 is connected as needed to the input/output interface 305. A piece of removable media 311 such as magnetic disks, optical disks, magneto-optical disks or semiconductor memory may be loaded into the drive 310. The computer programs retrieved from the loaded removable medium are installed as needed into the storage section 308.
Where the series of the steps and processes above are to be executed by software, the programs constituting the software may be either retrieved from dedicated hardware of the computer in use or installed over networks or from a suitable recording medium into a general-purpose computer or like equipment capable of executing diverse functions based on the installed programs.
As shown in
In this specification, the steps describing the programs stored on the storage medium represent not only the processes that are to be carried out in the depicted sequence (i.e., on a time series basis) but also processes that may be performed parallelly or individually and not necessarily chronologically.
The present invention can be applied to apparatuses which include an analysis section for analyzing image data, such as a surveillance camera, a personal computer, or a dedicated alarm output device and which are capable of detecting images of a moving object.
The present application contains subject matter related to that disclosed in Japanese Priority Patent Application JP 2010-079652 filed in the Japan Patent Office on Mar. 30, 2010, the entire content of which is hereby incorporated by reference.
It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and alternations may occur depending on design requirements and other factors insofar as they are within the scope of the appended claims or the equivalent thereof.
Number | Date | Country | Kind |
---|---|---|---|
P2010-079652 | Mar 2010 | JP | national |