CPC H04N 19/436 (2014.11) [H04N 19/105 (2014.11); H04N 19/14 (2014.11); H04N 19/176 (2014.11)] | 20 Claims |
1. A method for compressing data of an image, the method comprising:
determining intermediate pixels;
associating each location of the image with a block of a plurality of blocks of a first size and a block a plurality of blocks of a second size;
determining, in parallel, using the intermediate pixels, for each block of the first size and for each block of the second size, a first cost for a first mode and a second cost for a second mode;
selecting, for each location of the image, i) a final mode from at least the first mode and the second mode and ii) a final block size from at least the first size and the second size, using the first cost and the second cost for each of a respective block of the first size and a respective block of the second size associated with a corresponding location;
determining final pixels based on the selected final mode and the selected final block size for each location of the image; and
obtaining, based on the final pixels, a representation of the image.
|