CPC H04N 23/88 (2023.01) [G06N 20/00 (2019.01); G06T 7/11 (2017.01); G06T 7/194 (2017.01)] | 20 Claims |
1. An electronic device, comprising:
a camera;
at least one processor; and
a memory storing instructions being executable by the at least one processor, causing the electronic device to at least;
acquire image by using the camera;
partition the acquired image into a first region and a second region according to a designated scheme;
acquire a first auto-white-balancing (AWB) parameter of the first region, and a second AWB parameter of the second region; and
when a difference value between the first AWB parameter and the second AWB parameter is greater than a first threshold value, execute AWB on the acquired image by using both the first AWB parameter and the second AWB parameter,
when the difference value between the first AWB parameter and the second AWB parameter is less than or equal to the first threshold value, acquire a third AWB parameter of the acquired image and execute the AWB on the acquired image by using the third AWB parameter.
|