Electronic device and method for determining type of light source of image

    公开(公告)号:US11418740B2

    公开(公告)日:2022-08-16

    申请号:US17255112

    申请日:2019-06-10

    Abstract: An electronic device is disclosed. The electronic device includes at least one processor electrically connected with an image sensor and a memory. The memory stores instructions, when executed, causing the processor to obtain an image through the image sensor, segment the obtained image into the plurality of regions, calculate values of a first parameter for each of the plurality of regions based on the reference color components indicating a representative color of each of the plurality of regions, calculate values of a second parameter for each of the plurality of regions based on first pixel values output from the plurality of first light receiving elements included in each of the plurality of regions and second pixel values output from the plurality of second light receiving elements, determine a type of a light source corresponding to each of the plurality of regions, based on a value of the second reference parameter included in data about the correlationship corresponding to the calculated values of the first parameter and values of the second parameter calculated for each of the plurality of regions, and determine a type of a light source of the image based on the determined types of the light source. In addition, various other embodiments recognized from the specification are also possible.

Patent Agency Ranking