CPC H04N 23/88 (2023.01) [G06N 20/00 (2019.01); H04N 9/643 (2013.01)] | 11 Claims |
1. An image processing apparatus comprising:
one or more processors configured to function as following units:
a detection unit configured to detect a specific area from a captured image;
a first determination unit configured to determine, based on a color included in the detected specific area, a light source color including a characteristic color by using a learning unit trained in advance by machine learning;
a first calculation unit configured to calculate a first white balance correction value corresponding to the light source color determined by the first determination unit;
a second determination unit configured to determine the light source color based on a color of an area including an area other than the specific area;
a second calculation unit configured to calculate a second white balance correction value corresponding to the light source color determined by the second determination unit; and
a third calculation unit configured to calculate a third white balance correction value based on the first white balance correction value and the second white balance correction value.
|