The present invention is directed to improving the accuracy of white
balance adjustment. An image input from an image capture device 10 is
divided into blocks, and white balance gains are calculated from a
representative value of each block. Prior to calculation of the
representative value of each block, a color range determining circuit 13
determines whether each pixel included in each block belongs to a light
source color range, or belongs to an apparent object color range. A
representative value of that block is calculated from remaining pixels
other than pixels determined to belong to the apparent object color
range. Thus, by preventing the representative value from being affected
by an object color, the accuracy of white balance gains is improved.