Video motion detection using block processing
First Claim
Patent Images
1. A method comprising:
- creating a difference frame by determining the differences in pixel intensity values per channel between pixels in a first frame of video data and corresponding pixels in a second frame of video data;
dividing said difference frame into one or more blocks;
calculating standard deviations for each channel in each of said one or more blocks;
determining a maximum value and a mean value per channel of said standard deviations for said difference frame;
calculating a cumulative mean per channel of said maximum values and said mean values over a plurality of frames;
calculating a cumulative difference by subtracting said cumulative mean of said mean values from said cumulative mean of said maximum values;
determining that said cumulative difference is greater than zero;
calculating a threshold value;
labeling pixels of a current frame having intensity values below said threshold value as 0, and labeling pixels of said current frame having intensity values above said threshold value as 1, thereby giving a binary image of each channel; and
logically ANDing said binary images of each channel.
1 Assignment
0 Petitions
Accused Products
Abstract
A system detects motion in video data. In an embodiment, a difference frame is created by comparing the pixels from a first frame and a second frame. The difference frame is divided up into blocks of pixels, and the system calculates standard deviations on a block basis. A threshold value is calculated based on the standard deviation, and the presence or absence of motion is determined based on that threshold value.
29 Citations
20 Claims
-
1. A method comprising:
-
creating a difference frame by determining the differences in pixel intensity values per channel between pixels in a first frame of video data and corresponding pixels in a second frame of video data;
dividing said difference frame into one or more blocks;
calculating standard deviations for each channel in each of said one or more blocks;
determining a maximum value and a mean value per channel of said standard deviations for said difference frame;
calculating a cumulative mean per channel of said maximum values and said mean values over a plurality of frames;
calculating a cumulative difference by subtracting said cumulative mean of said mean values from said cumulative mean of said maximum values;
determining that said cumulative difference is greater than zero;
calculating a threshold value;
labeling pixels of a current frame having intensity values below said threshold value as 0, and labeling pixels of said current frame having intensity values above said threshold value as 1, thereby giving a binary image of each channel; and
logically ANDing said binary images of each channel. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A machine readable medium comprising instructions thereon for executing a method comprising:
-
creating a difference frame by determining the differences in pixel intensity values per channel between pixels in a first frame of video data and corresponding pixels in a second frame of video data;
dividing said difference frame into one or more blocks;
calculating standard deviations for each channel in each of said one or more blocks;
determining a maximum value and a mean value per channel of said standard deviations for said difference frame;
calculating a cumulative mean per channel of said maximum values and said mean values over a plurality of frames;
calculating a cumulative difference by subtracting said cumulative mean of said mean values from said cumulative mean of said maximum values;
determining that said cumulative difference is greater than zero;
calculating a threshold value;
labeling pixels of a current frame having intensity values below said threshold value as 0, and labeling pixels of said current frame having intensity values above said threshold value as 1, thereby giving a binary image of each channel; and
logically ANDing said binary images of each channel. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A method comprising:
-
creating a difference frame from a first frame of video data and a second frame of video data;
dividing said difference frame into a plurality of blocks;
calculating block-based standard deviations;
determining a maximum value of said standard deviations;
calculating a mean value of said standard deviations;
calculating a cumulative maximum value and a cumulative mean value over a plurality of frames;
calculating a threshold value from said maximum standard deviation; and
determining motion in said video data based on said threshold value. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification