A CPU 200 acquires image data of a photographed image, determines a
specific subject area containing a specific subject in the photographed
image, and calculates a specific subject characteristic value for
representing a characteristic of image data corresponding to the
determined specific subject area. CPU200 calculates a correction value
for color balance correction using the calculated specific subject
characteristic value and a preset characteristic target value, and
executes the color balance correction on the image data using the
calculated correction value.