CPC G06T 7/90 (2017.01) [G06T 5/50 (2013.01); H04N 9/64 (2013.01); G06T 2207/20021 (2013.01); G06T 2207/20216 (2013.01)] | 20 Claims |
1. An image processing method, comprising:
acquiring an initial image, wherein the initial image corresponds to an RGB data format;
dividing the initial image into a plurality of image blocks;
converting each image block in the plurality of image blocks from the RGB data format into a YUV data format that comprises a Y component, a U component, and a V component, wherein the Y component is a luminance value, the U component is a first chromatic value, and the V component is a second chromatic value;
inverting the luminance value Y of a target image block into a darkness value D, the target image block being at least one of the plurality of image blocks; and
coding DUV data of the target image block and YUV data of the non-inverted image block to obtain target image data of the initial image, which further comprises:
performing discrete cosine transform on the DUV data of the target image block and the YUV data of the non-inverted image block to obtain transformed DUV data and transformed YUV data; and
coding the transformed DUV data and the transformed YUV data to obtain the target image data of the initial image.
|