Mobile electronic device having camera with improved auto white balance
An improved mobile electronic device and camera provide an improved auto white balance system where constraints can be imposed the correlated color temperature (CCT) that is employed by the auto white balance system. For instance, if a distance between a subject and the camera is determined to exceed a threshold for closeness, the CCT can be constrained so that it is above a preset CCT that corresponds with sunrise or sunset. Other distance thresholds and the content of an image, as well as the brightness of the image, can be further employed in determining the CCT to employ.
1. A mobile electronic device comprising:
a processor configured to execute a camera module with an auto white balance system, wherein the auto white balance system is configured to:
determine whether a distance between the device and an object exceeds at least one predefined threshold,
select, in response to determining the distance exceeds a predefined threshold, a correlated color temperature corresponding to the predefined threshold, wherein the correlated color temperature is at least higher than a predefined correlated color temperature for sunrise/sunset condition, and
apply the selected correlated color temperature in processing an image of the object.
2. The mobile electronic device of claim 1 , wherein the auto white balance system is further configured to ignore a dominant color of the object.