| CPC G06T 5/90 (2024.01) [G06T 5/50 (2013.01); G06T 5/60 (2024.01); G06T 5/70 (2024.01); G06T 7/30 (2017.01); H04N 23/71 (2023.01); H04N 23/73 (2023.01); G06T 2207/10144 (2013.01); G06T 2207/20182 (2013.01); G06T 2207/20221 (2013.01)] | 20 Claims |

|
1. An image processing method, applied to an electronic device that comprises a camera, wherein the method comprises:
detecting, by a processor of an electronic device, a first operation;
turning on the camera in response to the first operation;
determining, by the processor, that a first preset condition is met, and capturing M frames of images, wherein the M frames of images comprise a first exposure image, a second exposure image, and a third exposure image, an exposure value of the first exposure image is less than an exposure value of the second exposure image, and the exposure value of the second exposure image is less than an exposure value of the third exposure image, wherein M is an integer greater than or equal to 2;
determining, by the processor, that the first exposure image and the third exposure image meet a second preset condition, and that the second exposure image and the third exposure image meet the second preset condition;
fusing, by the processor, the first exposure image, the second exposure image, and the third exposure image to obtain a first target image; and
storing the first target image.
|