Video coding using statistical-based spatially differentiated partitioning
First Claim
Patent Images
1. A method, comprising:
- forming a difference frame comprising differences between pixel values of a first video frame and a second video frame of a video stream;
calculating, using a processor, a variance for blocks of the difference frame;
forming a variance histogram using at least some of the calculated variances;
determining a threshold variance value to separate static or low motion areas from fast motion areas wherein a portion of the blocks of the variance histogram representing static or low motion areas have variances less than or equal to the threshold variance value;
selecting at least one encoding parameter for a block of the first video frame based on a comparison of a variance of a spatially-correspondent block in the difference frame with the threshold variance value; and
encoding the block of the first video frame using the at least one encoding parameter.
2 Assignments
0 Petitions
Accused Products
Abstract
Frames of a video data stream can be encoded using statistically-based spatially differentiated partitioning. Statistically-based spatially differentiated partitioning involves forming a difference frame between a current video frame and a temporally nearby video frame and then calculating the variance of the difference frame on a block-by-block basis. A histogram can be formed from the calculated variances and a threshold determined on the histogram. The determined threshold can be used to select parameters for the encoding process that will more efficiently encode static or slow-motion areas without a significant loss in resulting quality.
253 Citations
20 Claims
-
1. A method, comprising:
-
forming a difference frame comprising differences between pixel values of a first video frame and a second video frame of a video stream; calculating, using a processor, a variance for blocks of the difference frame; forming a variance histogram using at least some of the calculated variances; determining a threshold variance value to separate static or low motion areas from fast motion areas wherein a portion of the blocks of the variance histogram representing static or low motion areas have variances less than or equal to the threshold variance value; selecting at least one encoding parameter for a block of the first video frame based on a comparison of a variance of a spatially-correspondent block in the difference frame with the threshold variance value; and encoding the block of the first video frame using the at least one encoding parameter. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An apparatus, comprising:
-
a memory; and a processor configured to execute instructions stored in the memory to; form a difference frame comprising differences in pixel values between a first video frame and a second video frame of a video stream; calculate a variance for blocks of the difference frame; form a variance histogram using at least some of the calculated variances; determine a threshold variance value to separate static or low motion areas from fast motion areas wherein a portion of the blocks of the variance histogram representing static or low motion areas have variances less than or equal to the threshold variance value; select at least one encoding parameter for a block of the first video frame based on a comparison of a variance of a spatially-correspondent block in the difference frame with the threshold variance value; and encode the block of the first video frame using the at least one encoding parameter. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
Specification