CPC H04M 1/0264 (2013.01) [H04N 23/51 (2023.01); H04N 23/57 (2023.01); H04N 23/62 (2023.01)] | 12 Claims |
1. A photographing method, applied to a terminal including a camera and a display screen, the camera being disposed under the display screen, comprising:
determining a first optical signal value acquired by the camera at the time of photographing;
determining a screen influence value of the display screen based on at least a second optical signal value acquired by a light sensor, wherein the first optical signal value is a value of color information corresponding to both a screen light of the display screen and ambient light, and the second optical signal value is an optical signal value at a respective wavelength obtained by the light sensor acquiring an optical signal according to color channels; and
generating an image based on the first optical signal value and the screen influence value,
wherein the screen influence value comprises a light emission spectral value of the display screen, and
generating the image based on the first optical signal value and the screen influence value comprises:
calculating a difference between the first optical signal value and the light emission spectral value according to different wavelength components corresponding to different spectrums, to obtain color values of the image at the corresponding wavelength components; and
obtaining the image based on the color values.
|