| CPC G06T 7/0002 (2013.01) [G06V 10/141 (2022.01); G06V 10/60 (2022.01); G06V 10/751 (2022.01); G06V 10/761 (2022.01); G06V 10/98 (2022.01); G06T 2207/10144 (2013.01)] | 19 Claims |

|
1. An electronic device comprising:
an image sensor in which light receiving elements are arranged, the light receiving elements each comprising at least two sub light receiving elements;
at least one image signal processor; and
memory storing at least one computer program including computer-executable instructions,
wherein the instructions, when being executed by the at least one image signal processor individually or collectively, causes the electronic device to:
obtain images corresponding to light from outside by using the image sensor, the images comprising at least a raw image, a first sub image, and a second sub image, the first sub image being an image corresponding to light detected by at least one first sub light receiving element positioned at a first position corresponding in the light receiving elements, the second sub image being an image corresponding to light detected by at least one second sub light receiving element positioned at a second position corresponding in the light receiving elements, the first position distinguished from the second position,
identify a luminance ratio between the first sub image and the second sub image,
identify a defect in the raw image by subtracting a reference luminance ratio of a plurality of reference luminance ratios from the luminance ratio, the reference luminance ratio of a plurality of reference luminance ratios being determined based on optical characteristics including at least one of an F value, a position of a lens, or a tilting degree of the lens, and
perform a function corresponding to a type of the defect.
|