CPC H04N 23/632 (2023.01) [H04N 23/62 (2023.01); H04N 23/633 (2023.01); H04N 23/667 (2023.01)] | 14 Claims |
14. A non-transitory computer-readable storage medium storing instructions that, when executed on an electronic device that includes a camera, cause the electronic device to perform a method comprising:
displaying a preview interface, wherein the preview interface displays a first image from the camera and a plurality of shooting function options, wherein a color parameter of the first image is a first parameter, and wherein the plurality of shooting function options comprise a look-up table (LUT) function option;
receiving a first operation for the LUT function option among the plurality of shooting function options, wherein the LUT function option corresponds to a LUT function, the LUT function provides a plurality of LUT templates, and the plurality of LUT templates are used to change a color parameter of an image;
displaying, in response to the first operation, a plurality of LUT template options on the preview interface, wherein the plurality of LUT template options comprise a first LUT template option, and wherein the plurality of LUT template options correspond to the plurality of LUT templates, respectively;
determining a target LUT template from the plurality of LUT templates, wherein the target LUT template corresponds to the first LUT template option, wherein the target LUT template describes a mapping relationship between a second parameter and a third parameter, the second parameter is a color parameter corresponding to a first video, and the third parameter is a color parameter corresponding to a second video;
adjusting, based on the target LUT template, the color parameter of the first image, to obtain a second image;
displaying the second image on the preview interface, wherein a color parameter of the second image is a fourth parameter, and a mapping relationship between the first parameter and the fourth parameter is the same as the mapping relationship between the second parameter and the third parameter; and
receiving a second operation performed on the preview interface, wherein in response to the second operation, the electronic device starts shooting for the second image.
|