Moving object detection apparatus and method
Granted 16 Aug 2011 · 1 office action
Assignee: Industrial Technology Research Institute
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Ying-Ying Chao, Ming-Yu Shih · Examiner: Manav Seth · AU 2624 · TC 2600
Life of the application
8 dated eventsAbstract
Disclosed is directed to a moving object detection apparatus and method. The apparatus comprises an image capture module, an image alignment module, a temporal differencing module, a distance transform module, and a background subtraction module. The image capture module derives a plurality of images in a time series. The image alignment module aligns the images if the image capture module is situated on a movable platform. The temporal differencing module performs temporal differencing on the captured images or the aligned images, and generates a difference image. The distance transform module transforms the difference image into a distance map. The background subtraction module applies the distance map to background subtraction technology and compares the results with the current captured image, so as to obtain the information for moving objects.
Description
6 parts›FIELD OF THE INVENTION
The present invention generally relates to a moving object detection apparatus and method.
›BACKGROUND OF THE INVENTION
Moving object detection plays an important role in automatic surveillance systems. Surveillance systems detect abnormal security events by analyzing the trajectory and behavior of moving objects in an image, and notify the related security staff. The development of the security robots moves towards the intelligent security robots with abnormal event detection capability to support dynamic deployment and repetitive, continuous surveillance. The moving object detection aims to replace the passive recording widely used in conventional surveillance systems.
For example, US. Pat. No. 6,867,799 disclosed a method and apparatus for object surveillance with a movable camera, including the construction of a surveillance mechanism of maintaining a moving object of interest within the filed of view of a movable camera in an object surveillance system. According to the selected object of interest, the camera movement commands are created so that the object of interest remains in the field of the view of the camera. U.S. Pat. No. 7,123,745 disclosed a method and apparatus for detecting moving objects in video conferencing and other applications. From the continuous video images of a fixed camera, the difference image technique is used to detect moving person and the position and the size of the head of the person are identified.
U.S. Pat. No. 5,991,428 disclosed a moving object detection apparatus and method, including a foreground moving object detection technique applicable to a platform with a movable camera. By image segmentation, template matching and evaluation and voting, the disclosed patent estimates the moving vector of the corresponding areas of the neighboring images. Based on the dominant moving vector of the image, the align vector between the neighboring images is determined. Based on the align vector, one of the two neighboring images is shifted for alignment and difference comparison to identify the moving object area. U.S. Pat. No. 5,473,364 disclosed a video technique for indicating moving objects from a movable platform. Assuming that the images captured by the front and rear cameras at two consecutive times have only a slight difference, the disclosed patent aligns the images from the front camera and subtracts from the image from the rear camera, and then uses Gaussian pyramid construction to compute the area energy to detect the moving objects and obtains more stable moving object profiles.
However, image-based moving object detection technique deployed on a fixed camera usually cannot provide dynamic security support. In a restricted surveillance area, the surveillance is often ineffective. On the other hand, for movable camera surveillance, the movement of the camera will cause the entire image change and the compensation to the error caused by the camera movement makes it difficult to use a single image-based technique to effectively detect moving objects.
FIGS. 1 and 2 show the moving object detection methods, which integrate background subtraction and consecutive image difference, proposed by Desa and Spagnolo in 2004 and 2006 respectively. The background subtraction is to consider the background of an area in foreground detection, and the consecutive image difference is to find the difference in a plurality of consecutive images to detect moving parts. However, in the techniques depicted in FIGS. 1 and 2 , the background subtraction and consecutive image difference are solely integrated computationally. Therefore, only the outer profile of moving objects can be detected, while the inner area of the entire moving objects cannot be detected.
›SUMMARY OF THE INVENTION
The disclosed exemplary embodiments according to the present invention may provide an apparatus and method for detecting moving objects. The information of the detected moving objects at least includes the region where the moving objects occur.
In an exemplary embodiment, the disclosed is directed to a moving object detection apparatus, comprising: an image capture module, an image alignment module, a temporal differencing module, a distance transform module, and a background subtraction module. The image capture module derives a plurality of images in a time series. The image alignment module aligns the images if the image capture module is situated on a movable platform. The temporal differencing module performs temporal differencing on the captured images or the aligned images, and generates a difference image. The distance transform module transforms the difference image into a distance map. The background subtraction module applies the distance map to background subtraction technology and compares the results with the current captured image, so as to obtain the information for moving objects.
In another exemplary embodiment, the disclosed is directed to a moving object detection method, comprising: capturing images at different times; aligning the images at different times if on a movable platform; applying temporal differencing on captured or aligned images to generate a difference image; transforming the difference image into a distance map; and applying the distance map to the background subtraction technology and comparing the results with an current captured image to obtain the moving object information.
The disclosed exemplary embodiments according to the present invention may be applied to a platform with a movable camera for detecting moving objects in real-time. By using temporal differencing to obtain distance map for enhancing the background subtraction technique, the present invention is also applicable to a fixed camera platform to improve the reliability of moving object detection.
The foregoing and other features, aspects and advantages of the present invention will become better understood from a careful reading of a detailed description provided herein below with appropriate reference to the accompanying drawings.
›BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 shows an exemplary schematic view of combining background subtraction and temporal differencing for moving object detection.
FIG. 2 shows another exemplary schematic view of combining background subtraction and temporal differencing for moving object detection.
FIG. 3 shows a schematic view of an exemplary moving object detection apparatus, consistent with certain disclosed embodiments.
FIG. 4 shows an exemplary flowchart of a moving object detection method, consistent with certain disclosed embodiments.
FIG. 5 shows an exemplary schematic view of performing image alignment, consistent with certain disclosed embodiments.
FIG. 6 shows an exemplary schematic view of performing temporal differencing, consistent with certain disclosed embodiments.
FIG. 7 shows an exemplary schematic view of performing distance transform, consistent with certain disclosed embodiments.
FIG. 8 shows an exemplary view of performing background subtraction, consistent with certain disclosed embodiments.
FIG. 9 shows an exemplary schematic view of integrating FIG. 5-FIG . 8 , consistent with certain disclosed embodiments.
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS · 1 of 2
In the disclosed exemplary embodiments of the present invention, the images captured by the movable camera are first compensated by the image analysis for the background changed caused by the camera movement. Then, the temporal differencing, distance transformation, and background subtraction techniques are combined to detect the moving object regions in a stable manner.
FIG. 3 shows a schematic view of an exemplary moving object detection apparatus, consistent with certain disclosed embodiments. Referring to FIG. 3 , the exemplary moving object detection apparatus 300 may comprise an image capture module 301 , an image alignment module 303 , a temporal differencing module 305 , a distance transform module 307 , and a background subtraction module 309 .
Image capture module 301 captures images for moving objects 310 at different times. If image capture module 301 is on a movable platform, image align module 303 aligns the images captured at different times. The aligned images are marked as 303 a . Temporal differencing module 305 performs temporal differencing on the captured or aligned images to obtain a difference image 305 a . Distance transform module 307 transforms difference image 305 a into a distance map 307 a . Background subtraction module 309 applies distance map 307 a to a background subtraction technology and compares to the current captured image to obtain a final detection result for moving objects; that is, moving object information 309 a.
In the case of a movable platform, image align module 303 may provide aligned images 303 a to temporal differencing module 305 for reference and provide alignment parameters to background subtraction module 309 for reference. In the case of a static platform, no image alignment is required. Therefore, on a static platform, moving object detection apparatus 300 need not include an image align module 303 , and background subtraction module 309 does not require alignment parameters for input.
FIG. 4 shows an exemplary flowchart of a moving object detection method, according to the exemplary apparatus of FIG. 3 , consistent with certain disclosed embodiments. Referring to FIG. 4 , step 410 is to capture images for moving objects at different times. If image capture module 301 is on a moveable platform, step 420 is to align images 301 a captured at different times to obtain an aligned image 303 a . In step 430 , temporal differencing technology is performed on aligned image 303 a to obtain difference image 305 a . On the other hand, if image capture module 301 is on a static platform, step 430 is to perform differencing technology directly on captured images at different times to obtain difference image 305 a . Therefore, as shown in step 430 , temporal differencing technology is performed on captured images 301 a or aligned images 303 a to obtain difference image 305 a.
In step 440 , distance transform is performed on difference image 305 a into a distance map 307 a . The distance map 307 a is applied to the background subtraction technology and compared with the current captured image to obtain the moving object information, as shown in step 450 . The moving object information may include the marking of the area of the moving object, such as foreground pixels. In step 450 , the alignment parameters are also used to align the background model to the current captured image to obtain the moving object information.
In the exemplary embodiment of FIG. 3 , image capture module 301 may capture a series of continuous images 301 a at different times by a camera on a movable or static platform through moving objects in a scene. According to the background of the continuous images captured at different times, image align module 303 may obtain alignment parameters for aligning the background of these continuous images captured on a movable platform at different times. As shown in FIG. 5 , the alignment parameters may be obtained from two of the three continuous images F t−1 , F t , F t+1 captured at times t−1, t, and t+1, and to align both images F t−1 , F t+1 to F t to eliminate the image change caused by the movable camera.
In the disclosed exemplary embodiments, several background compensation technologies may be used, for example, multi-resolution estimation of parametric motion models, which is a technology using Gaussian low-pass filter to establish multi-resolution image pyramid, and then estimating the motion parameters between two neighboring images by using the least mean square error (LMSE) analysis to minimize the difference square of two neighboring images on each resolution.
FIG. 6 shows an exemplary schematic view of performing temporal differencing, consistent with certain disclosed embodiments. Referring to FIG. 6 , after aligning images F t−1 , F t+1 to F t , based on the difference between images F t−1 , F t+1 and F t , two frame differences 610 , 620 may be obtained. Using frame differences 610 , 620 and an AND operation 630 , difference image 305 a may be obtained to detect the possible foreground area. That is, temporal differencing module 305 may apply the analysis of the three continuous images to the compensated image to detect the possible foreground of moving objects.
The following shows an example for obtaining the difference image from three continuous images F t−1 , F t , F t+1 . Let X i represent the image location in a scene, and C(X i ) be a representation matrix of X i that may be multiplied by a motion parameter matrix. Then, after images F t−1 , F t+1 are aligned to F t , two motion parameters A t−1 , A t+1 may be obtained. Using the following equation, two difference frames FD t−1 , FD t+1 may be obtained:
FD k ( X i ) = { 1 , abs ( F t ( X i ) - F k ( X i + C ( X i ) A k - 1 ) ) < δ 1 0 , otherwise ,
Where k =t−1, t, t+1, and δ 1 is a threshold value. “AND” operation is applied to processing the difference frames Fd −1 , FD t+1 to obtain difference image FA t ; i.e., FA t (X i ) =FD t−1 (X i )^FD t+1 (X i ).
On the other hand, if the continuous images 301 a are captured on a static platform, no alignment is necessary. The captured images may be processed for difference image 305 a to detect the possible foreground area of the moving object.
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS · 2 of 2
Distance transform module 307 may apply a distance transform technology to transform difference image 305 a into a distance map 307 a . The distance transform technology, such as the following equation, may transform difference image FA t into a distance map D t :
D t ( X i ) = min ( FA t ( X i ) - FA t ( X k ) , δ 2 ) δ 2 ,
where X k is the foreground point closest to X i , and δ 2 is the maximum allowed distance. In other words, each point in distance map D t is the value of the distance between the point and the closest foreground point divided by the maximum allowed distance. The closer to a foreground the point is, the smaller its value is, which means that the point is more likely to belong to the moving object, and vice versa. FIG. 7 shows an exemplary schematic view of performing distance transform, consistent with certain disclosed embodiments. Referring to FIG. 7 , after distance transform on difference image 705 , distance map 707 is obtained. Distance map 707 may be seen as a probability distribution of the moving object location. Therefore, from the distance map, the area in which the moving object in a scene may be seen, and the stability of the moving object detection may be improved.
Background subtraction module 309 applies distance map to the background subtraction technology, and compares with the current capture image to obtain the moving object information. FIG. 8 shows an exemplary view of performing background subtraction, consistent with certain disclosed embodiments. Referring to FIG. 8 , background subtraction module 309 applies alignment parameters 811 to background model 812 to align the background to the current captured image. Aligned background model 821 and image at time t use distance map, such as 707 , as an updating rate to update background model, as shown in 830 . Also, aligned background model 821 having the weight of distance map 707 is compared with the image captured at time t to perform foreground detection at time t for detecting moving objects, such as 809 .
In the foreground detection stage, because of the background alignment error, a region of background pixels may be used for foreground detection. The result of the distance transform of the continuous images, i.e., distance map D t may be used as an adaptive threshold value for foreground detection. The higher the probability of being in foreground is, the lower the threshold value will be; and vice versa. When the background is updated, distance map D t may be used as adaptive updating rate. The higher the probability of being in foreground is, the background is not updated; and vice versa.
Because background subtraction module 309 uses distance map D t as the basis of parameter tuning in applying distance map to the background subtraction technology for foreground detection and background updating at time t, the obtained moving object information not only includes the outer shape of moving objects, but also the internal area of moving objects.
FIG. 9 shows an exemplary schematic view of integrating FIG. 5-FIG . 8 , consistent with certain disclosed embodiments. From FIG. 9 and the previous description, the disclosed exemplary embodiments according to present invention compensate for the image shift caused by a movable platform, and combine background subtraction with temporal differencing technologies in applying the distance map obtained by temporal differencing and distance transform for background subtraction to stably detect the foreground moving object area.
In the disclosed exemplary embodiments of the present invention, temporal differencing technology is used to assist the background subtraction technology to detect foreground object after compensating the background caused by background shift. This achieves the objective of using a single camera in effective moving object detection. The disclosed exemplary embodiments of the present invention also use distance transform technology to transform the temporal differencing result into a distance map that can be seen as a probability distribution for the current location of objects and may be applied to the background subtraction as a good weighting function for foreground detection and background updating.
In foreground detection, the weight on moving object area is increased and in background updating, the weight of moving object area is reduced so that the moving object may be detected more easily. In this manner, the present invention may improve the conventional background subtraction technology to detect a moving object more stably. The temporal differencing mechanism used in the disclosed exemplary embodiments of the present invention not only is applicable to the movable platform, but also to the fixed platform to improve the moving object detection stability.
Although the present invention has been described with reference to the exemplary embodiments, it will be understood that the invention is not limited to the details described thereof. Various substitutions and modifications have been suggested in the foregoing description, and others will occur to those of ordinary skill in the art. Therefore, all such substitutions and modifications are intended to be embraced within the scope of the invention as defined in the appended claims.
Claims as granted
15 claimsLog in to read the claims of this application.
Log in to unlockClassifications
10 codes- G06K9/00
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock