CPC G09G 5/024 (2013.01) [G09G 5/04 (2013.01); G09G 2320/0242 (2013.01); G09G 2320/0693 (2013.01); G09G 2340/06 (2013.01)] | 20 Claims |
1. A color correction method, comprising:
in response to original color data of a pixel, converting the original color data into original color coordinates in an original color space;
mapping the original color coordinates to a sampling point space to obtain a mapped point corresponding to the original color coordinates in the sampling point space, and determining, according to mapped coordinates of the mapped point, a plurality of reference point coordinates corresponding to the mapped coordinates;
obtaining reference point addresses of the plurality of reference point coordinates, and simultaneously reading color data of the plurality of reference point coordinates according to the reference point addresses; and
obtaining corrected color data of the pixel through an interpolation algorithm according to the color data of the plurality of reference point coordinates, wherein
the mapping the original color coordinates to the sampling point space comprises: performing coordinate mapping on the original color coordinates at least according to quantization bits of the original color space and a number of sampling points of the sampling point space, so as to obtain the mapped coordinates of the mapped point, which further comprises:
determining a quantitative ratio according to the quantization bits and the number of sampling points, performing the coordinate mapping on the original color coordinates according to the quantitative ratio, and performing quantization operation on a coordinate mapping result based on a preset quantitative level to obtain a quantization operation result; and
performing a right shift operation on the quantization operation result based on the quantitative level, and taking a right shift operation result as the mapped coordinates of the mapped point.
|