Patent ID: 11967048
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 10:
11. An electronic device for processing an image, the electronic device comprising:
a camera module;
a memory storing one or more instructions; and
at least one processor communicatively coupled to the camera module and the memory, and configured to execute the one or more instructions stored in the memory to:
obtain, using the camera module, a first image by photographing a subject;
obtain, using the camera module, a depth image including information related to a distance from the electronic device to the subject;
determine whether light reflection exists in the first image;
obtain, based on a determination that the light reflection exists in the first image, depth information indicating the distance from the electronic device to the subject;
obtain, based on the depth information, a second image by photographing the subject in an activated state of a flash of the electronic device;
perform pre-processing for matching the first image, the second image, and the depth image and representing the first image, the second image, and the depth image on a coordinate system; and
obtain an image from which the light reflection has been removed, using at least one of the pre-processed first image, the pre-processed second image, or the pre-processed depth image.