Television – Special applications – Observation of or from a specific location
Reexamination Certificate
1999-06-01
2003-01-28
Kelley, Chris (Department: 2613)
Television
Special applications
Observation of or from a specific location
C348S152000, C348S700000
Reexamination Certificate
active
06512537
ABSTRACT:
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a motion detecting apparatus, a motion detecting method, and a storage medium storing a motion detecting program for detecting motion of objects using motion vectors obtained by a MPEG video encoder.
2. Description of the Prior Art
With extension of business hours in stores and increase in the number of unattended facilities, the demand for reinforcing crime prevention measures in such stores and facilities is growing these days. As a representative measure, one or more surveillance cameras are placed in a store so that the security personnel can monitor images taken by the cameras.
However, this method is problematic as it requires the security personnel to constantly watch the surveillance cameras long hours. To lessen the workload for the security personnel, a conventional motion detecting apparatus is used for detecting motion of objects such as persons in images taken by a surveillance camera. When motion is detected on the camera, the security personnel is alerted by an alarm attached to the motion detecting apparatus and watches pertinent images, with it being possible to reduce the load of constantly watching the camera.
This conventional motion detecting apparatus uses a background difference method to detect motion of an object.
The background difference method compares a present frame taken by a surveillance camera with a frame preceding the present frame and detects motion when the two frames differ. To be more specific, the motion detecting apparatus calculates a difference of luminance between the two frames in units of pixels and, when the calculated difference is larger than a threshold value, judges the difference as motion. The threshold value is used here to prevent small picture jitter or solar irradiation change from being detected as motion.
On the other hand, a MPEG (Moving Picture Experts Group) technique for coding images using a MPEG method is becoming increasingly common in recent years. In this technique motion vectors are calculated during image coding. A motion detecting apparatus that detects motion using these motion vectors is also conventionally used.
A motion vector shows the spatial correlation between a target block and a prediction block. Here, one block is composed of 16×16 or 8×8 pixels. The target block is a block in a frame (target frame) which is to be coded. The prediction block is a block selected from another frame which is temporally close to the target frame. To select the prediction block, the other frame or a predetermined search area in the other frame is searched for a block closely analogous to the target block. In the case of static images, a magnitude of a motion vector of the target block is 0, since a position of the target block in the target frame is identical to a position of the prediction block in the other frame. In the case of moving images, the target block and the prediction block often show one part of movement of the same object. Accordingly, a motion vector of the target block shows the magnitude and direction of the movement of the object. In brief, the motion detecting apparatus that uses motion vectors detects motion if a motion vector of a block has a certain magnitude. More specifically, the motion detecting apparatus checks whether the motion vector of the block has a magnitude larger than a threshold value which has been set in consideration of image jitter or the like, and detects motion if the magnitude is larger than the threshold value.
In motion detection techniques it is desirable to detect only movements of objects. However, when luminance greatly changes due to strong flicker of a fluorescent lamp or light incident from a motor vehicle during night, a flat area which actually does not show an object in motion may be detected in the above conventional background difference method and motion detecting method using motion vectors. The flat area referred to here is an area, such as a wall or a floor, where luminance is relatively even in a frame.
SUMMARY OF THE INVENTION
In view of the above problem, the present invention aims to provide a motion detecting apparatus, a motion detecting method, and a storage medium storing a motion detecting program that can prevent strong flicker or light flash in a flat area from being detected as motion.
The stated object can be fulfilled by a motion detecting apparatus, connected to a video encoder which sequentially compression-codes images inputted from a camera, for detecting motion of objects in the images, the motion detecting apparatus including: an acquiring unit for acquiring a plurality of motion vectors calculated by the video encoder respectively for a plurality of blocks and storing the plurality of motion vectors of the respective plurality of blocks in a memory; a first judging unit for detecting motion vectors whose magnitudes are larger than a threshold value among the plurality of motion vectors in the memory and judging blocks corresponding to the detected motion vectors as possible motion blocks; and a second judging unit for judging, when a motion vector of a present block and motion vectors of blocks surrounding the present block have non-random directions and non-random magnitudes, the present block as a motion block, wherein the present block is selected from the possible motion blocks one by one, and wherein the motion block shows a part of an object in motion.
With this construction, when luminance greatly changes in a fairly short time due to light flash or strong flicker, the mistake of detecting a flat area (such as a wall or a floor where luminance is relatively even) can be avoided.
Assume an image is classified under an image area that shows an object in motion (motion area) and an image area that does not show an object in motion, the latter being further classified under an image area that shows a flat part (flat area) and an image area that shows a nonflat part (nonflat area). In the presence of light flash or strong flicker, magnitudes and directions of motion vectors are even in the motion area, magnitudes and directions of motion vectors are random in the flat area, and magnitudes of motion vectors are 0 in the nonflat area.
With conventional motion detecting apparatus that detects motion whenever magnitudes of motion vectors are large, not only the motion area but also the flat area is mistakenly detected under the above circumstances.
On the other hand, the motion detecting apparatus of the present invention detects motion in consideration of not only magnitudes of motion vectors but also uniformity of the motion vectors in direction and magnitude, so that the flat area which does not show an object in motion will not be mistakenly detected.
Also, since the acquiring unit in the motion detecting apparatus acquires motion vectors from the video encoder, the motion detecting apparatus itself does not need to calculate these motion vectors. Accordingly, it is unnecessary to equip the motion detecting apparatus with a dedicated motion vector calculating device, thereby realizing the motion detection with a simple configuration using a conventional video encoder.
Here, the motion detecting apparatus may further include: an area storing unit for storing a critical area set in a frame; an area judging unit for judging whether at least one of motion blocks found by the second judging unit is present within the critical area; and an alarm generating unit for generating an alarm depending on a judgement result of the area judging unit.
With this construction, only when the area judging unit judges that a motion block exists within the critical area, the security personnel is alerted by the alarm generating unit to watch images in question, so that the load of constantly watching images can be reduced. Further, since incorrect detection of a flat area caused by light flash or strong flicker is suppressed as a result of the judgement by the second judging unit. Accordingly, an alarm will not be mistakenly generated by incorrect detection
Inoue Shuji
Shimizu Kazuhito
Kelley Chris
Parsons Charles
LandOfFree
Motion detecting apparatus, motion detecting method, and... does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Motion detecting apparatus, motion detecting method, and..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Motion detecting apparatus, motion detecting method, and... will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-3063468