| CPC G06T 11/001 (2013.01) [H04N 9/64 (2013.01); G06T 2200/24 (2013.01)] | 20 Claims |

|
1. A method implemented by an electronic device, the method comprising:
receiving a color mode selection operation from a user;
selecting, based on the color mode selection operation, a first color mode;
generating based on a first three-dimensional (3D) lookup table and a second 3D lookup table, a target 3D lookup table, wherein the first 3D lookup table is configured to correct a first color of a display of the electronic device, wherein the second 3D lookup table is configured to adjust a second color of an image, and wherein the second 3D lookup table corresponds to the first color mode;
obtaining, based on the first color mode, an index of the target 3D lookup table corresponding to the first color mode;
searching, based on the index, for the target 3D lookup table configured to adjust a to-be-displayed image;
obtaining the to-be-displayed image;
mapping, based on the target 3D lookup table, a third color of the to-be-displayed image to obtain an adjusted image; and
sending the adjusted image to the display of the electronic device.
|