Patent ID: 8737479

Claim:
A method for encoding a first set of pixels in an image in a sequence of images, wherein the first set of pixels comprises a plurality of subsets of pixels, the method comprising: identifying a plurality of motion vectors for the plurality of subsets of pixels, each motion vector corresponding to a different subset of pixels; by a computing device, determining whether an angular difference between a first motion vector in the plurality of motion vectors of a first subset of pixels and a second motion vector in the plurality of motion vectors of a non-overlapping second subset of pixels that is adjacent to the first subset of pixels, is within a first threshold; determining whether a length difference between the first motion vector of the first subset of pixels and the second motion vector of the second subset of pixels is within a second threshold; when the angular difference is within the first threshold and the length difference is within the second threshold, grouping the first and second subsets of pixels into a second set of pixels, and selecting an encoding mode for the second set of pixels.