CPC H04N 5/2226 (2013.01) [H04N 23/633 (2023.01); H04N 25/40 (2023.01)] | 20 Claims |
1. An electronic device comprising:
at least one lens;
an image sensor including first group pixels receiving a part of light that has passed through the at least one lens through a first optical path group and second group pixels receiving another part of the light that has passed through the at least one lens through a second optical path group;
a memory configured to store first point spread function (PSF) feature information including a first asymmetric blur features and a first image height-specific blur features of the first group pixels and second PSF feature information including a second asymmetric blur features and a second image height-specific blur features of the second group pixels with respect to a plurality of focus positions of the at least one lens; and
a processor operatively connected to the image sensor, and the memory, wherein the memory stores instructions executable by the processor to cause the electronic device to:
obtain a first image using the first group pixels and a second image using the second group pixels;
generate first correction candidate image based on the first image and the second PSF feature information;
generate second correction candidate image based on the second image and the first PSF feature information;
calculate matching costs between a first region of interest (ROI) in a pixel basis of the first correction candidate image and a second ROI in the pixel basis of the second correction candidate image; and
determine a depth map corresponding to the matching costs between the first ROI and the second ROI.
|