IDENTIFYING STALE BACKGROUND PIXELS IN A VIDEO ANALYSIS SYSTEM
First Claim
1. A method for identifying stale background pixels in a background model of scene depicted in a sequence of video frames, the method comprising:
- receiving a raw video frame of the sequence of video frames;
classifying a first set of one or more pixels of the raw video frame as depicting a portion of a background of the scene;
classifying a second set of one or more pixels of the raw video frame as depicting a portion of a foreground of the scene;
for at least a first pixel classified as depicting a portion of the foreground of the scene;
selecting a background pixel in the background model corresponding to the first pixel and a plurality of pixels in the background model neighboring the background pixel,determining a plurality of changes between color-characteristic values of the plurality of pixels in the background model and respective color-characteristic values of a corresponding plurality of pixels in a video frame previously used to update the color-characteristic values of the background pixel, andupon determining a difference between the change and the plurality of changes is within a specified threshold, classifying the background pixel in the background model as a stale background pixel; and
updating the color-characteristic values of the background pixel in the background model using the color-characteristic values of the first pixel.
6 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide a method and a module for identifying a background of a scene depicted in an acquired stream of video frames that may be used by a video-analysis system. For each pixel or block of pixels in an acquired video frame a comparison measure is determined. The comparison measure depends on difference of color values exhibited in the acquired video frame and in a background image respectively by the pixel or block of pixels and a corresponding pixel and block of pixels in the background image. To determine the comparison measure, the resulting difference is considered in relation to a range of possible color values. If the comparison measure is above a dynamically adjusted threshold, the pixel or the block of pixels is classified as a part of the background of the scene.
33 Citations
18 Claims
-
1. A method for identifying stale background pixels in a background model of scene depicted in a sequence of video frames, the method comprising:
-
receiving a raw video frame of the sequence of video frames; classifying a first set of one or more pixels of the raw video frame as depicting a portion of a background of the scene; classifying a second set of one or more pixels of the raw video frame as depicting a portion of a foreground of the scene; for at least a first pixel classified as depicting a portion of the foreground of the scene; selecting a background pixel in the background model corresponding to the first pixel and a plurality of pixels in the background model neighboring the background pixel, determining a plurality of changes between color-characteristic values of the plurality of pixels in the background model and respective color-characteristic values of a corresponding plurality of pixels in a video frame previously used to update the color-characteristic values of the background pixel, and upon determining a difference between the change and the plurality of changes is within a specified threshold, classifying the background pixel in the background model as a stale background pixel; and updating the color-characteristic values of the background pixel in the background model using the color-characteristic values of the first pixel. - View Dependent Claims (2, 3, 4, 5, 6, 8, 9, 10, 11, 12)
-
-
7. A computer-readable storage medium containing a program which, when executed by a processor, performs an operation for identifying stale background pixels in a background model of scene depicted in a sequence of video frames, the operation comprising:
-
receiving a raw video frame of the sequence of video frames; classifying a first set of one or more pixels of the raw video frame as depicting a portion of a background of the scene; classifying a second set of one or more pixels of the raw video frame as depicting a portion of a foreground of the scene; for at least a first pixel classified as depicting a portion of the foreground of the scene; selecting a background pixel in the background model corresponding to the first pixel and a plurality of pixels in the background model neighboring the background pixel, determining a plurality of changes between color-characteristic values of the plurality of pixels in the background model and respective color-characteristic values of a corresponding plurality of pixels in a video frame previously used to update the color-characteristic values of the background pixel, and upon determining a difference between the change and the plurality of changes is within a specified threshold, classifying the background pixel in the background model as a stale background pixel; and updating the color-characteristic values of the background pixel in the background model using the color-characteristic values of the first pixel.
-
-
13. A system, comprising:
-
a video input source configured to provide a sequence of video frames, each depicting a scene; a processor; and a memory containing a video analysis application, which when executed by the processor is configured to perform an operation for identifying stale background pixels in a background model of scene depicted in a sequence of video frames, the operation comprising; receiving a raw video frame of the sequence of video frames, classifying a first set of one or more pixels of the raw video frame as depicting a portion of a background of the scene, classifying a second set of one or more pixels of the raw video frame as depicting a portion of a foreground of the scene, and for at least a first pixel classified as depicting a portion of the foreground of the scene; selecting a background pixel in the background model corresponding to the first pixel and a plurality of pixels in the background model neighboring the background pixel, determining a plurality of changes between color-characteristic values of the plurality of pixels in the background model and respective color-characteristic values of a corresponding plurality of pixels in a video frame previously used to update the color-characteristic values of the background pixel, and upon determining a difference between the change and the plurality of changes is within a specified threshold, classifying the background pixel in the background model as a stale background pixel; and updating the color-characteristic values of the background pixel in the background model using the color-characteristic values of the first pixel. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification