System and method for motion detection in a surveillance video
First Claim
1. A non-transitory processor-readable medium storing code representing instructions to be executed by a processor, the code comprising code to cause the processor to:
- receive video data having a plurality of pixels;
classify each pixel from the plurality of pixels associated with an image as a foreground pixel or a background pixel using a threshold from a plurality of first thresholds and associated with that pixel, and a threshold from a plurality of second thresholds and associated with that pixel;
reset a value of a first threshold from the plurality of first thresholds associated with a first pixel from the plurality of pixels to a default first threshold value, the first pixel being classified as a foreground pixel;
update a value of a second threshold from the plurality of first thresholds associated with a second pixel from the plurality of pixels, the second pixel being classified as a background pixel, a first counter configured to count the number of successive frames the second pixel is classified as a background pixel having a value greater than a counter threshold; and
incrementing a second counter configured to count the number of successive frames a third pixel from the plurality of pixels is classified as a background pixel, the third pixel being classified as a background pixel, the second counter having a value less than the counter threshold, a third threshold from the plurality of first thresholds associated with the third pixel maintaining its value.
5 Assignments
0 Petitions
Accused Products
Abstract
In some embodiments, a non-transitory processor-readable medium stores code representing instructions to cause a processor to smooth a current image of a scene to produce a smoothed image and subtract pixel values of a background image of the scene from corresponding pixel values of the smoothed image to produce an altitude difference image. Pixel values of the altitude difference image are weighted to produce a weighted difference image. The weighted difference image is convolved to produce a convoluted difference image. A threshold is applied to each pixel of the convoluted difference image to produce a thresholded difference image. Pixels having a value less than the threshold are removed from the thresholded difference image and classified as background pixels. Foreground pixels are determined based on the thresholded difference image.
-
Citations
19 Claims
-
1. A non-transitory processor-readable medium storing code representing instructions to be executed by a processor, the code comprising code to cause the processor to:
-
receive video data having a plurality of pixels; classify each pixel from the plurality of pixels associated with an image as a foreground pixel or a background pixel using a threshold from a plurality of first thresholds and associated with that pixel, and a threshold from a plurality of second thresholds and associated with that pixel; reset a value of a first threshold from the plurality of first thresholds associated with a first pixel from the plurality of pixels to a default first threshold value, the first pixel being classified as a foreground pixel; update a value of a second threshold from the plurality of first thresholds associated with a second pixel from the plurality of pixels, the second pixel being classified as a background pixel, a first counter configured to count the number of successive frames the second pixel is classified as a background pixel having a value greater than a counter threshold; and incrementing a second counter configured to count the number of successive frames a third pixel from the plurality of pixels is classified as a background pixel, the third pixel being classified as a background pixel, the second counter having a value less than the counter threshold, a third threshold from the plurality of first thresholds associated with the third pixel maintaining its value. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory processor-readable medium storing code representing instructions to be executed by a processor, the code comprising code to cause the processor to:
-
receive video data having a plurality of pixels; classify each pixel from the plurality of pixels associated with an image as a foreground pixel or a background pixel using a low threshold from a plurality of low thresholds and associated with that pixel, and a high threshold from a plurality of high thresholds and associated with that pixel; reset a value of the low threshold from the plurality of low thresholds and associated with a first pixel from the plurality of pixels to a predetermined low threshold value when the first pixel is classified as a foreground pixel; and update (1) a value of the low threshold from the plurality of low thresholds and associated with a second pixel from the plurality of pixels, and (2) a value of the high threshold from the plurality of high thresholds and associated with the second pixel, when the second pixel is classified as a background pixel for a number of successive frames greater than a predetermined counter threshold. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A non-transitory processor-readable medium storing code representing instructions to be executed by a processor, the code comprising code to cause the processor to:
-
receive video data having a plurality of pixels; classify, at a first time a pixel from the plurality of pixels associated with an image as a background pixel, the pixel being associated with a threshold from a plurality of first thresholds and a threshold from a plurality of second thresholds; update at least one of a value of the threshold from the plurality of first thresholds or a value of the threshold from the plurality of second thresholds when the pixel is classified as a background pixel for a number of successive frames that is greater than a value of a counter threshold; classify, at a second time after the first time, the pixel as a foreground pixel; and reset, in response to the pixel being classified as a foreground pixel, at least one of the value of the threshold from the plurality of first thresholds to a predetermined first threshold value or the value of the threshold from the plurality of second thresholds to a predetermined second threshold value. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification