摘要 |
An image processing unit, electronic camera, and image processing program have low probability of failure and high probability of success in white balance adjustment. The image processing unit includes: a first setting unit setting a value of a first adjusting parameter for white balance adjustment applied to an image of a subject; a calculation unit calculating a deviation in the balance of a color signal when an area of the image detected by achromatic color detection is subjected to white balance adjustment with the first adjusting parameter; and a second setting unit setting the as-is value of the first adjusting parameter as a second adjusting parameter when the deviation is equal to or more than a threshold value, correcting the value of the first adjusting parameter in a direction of reducing the deviation and setting it as the second adjusting parameter when the deviation is less than the threshold value.
|