摘要 |
PROBLEM TO BE SOLVED: To enable reduction of a calculation time for calculating a white balance correction value using a simple algorithm. SOLUTION: Color information sets in a plurality of divided area obtained by dividing a single screen into a plurality of areas are obtained for each divided area. A center coordinate of a cluster of the above color information sets in a color space is obtained, and the color information of the above center coordinate of the cluster is used for adjusting the white balance as representative color information. Now, in case of detecting a cluster of six color information sets a-f and obtaining the center coordinate thereof, after obtaining color information sets a-c located in a circle 1 having a predetermined radius specifying an approximate range centering a certain target color information (a), a mean value (representative color information) a<SB>1</SB>of the above color information sets a-c is calculated. Subsequently, among the color information sets d-f outside the range of the circle 1, color information d to which attention is to be paid is determined, and representative color information b<SB>1</SB>is obtained in a similar way. Then, next representative color information a<SB>2</SB>is obtained from the representative color information a<SB>1</SB>and b<SB>1</SB>, so as to converge the representative color information. COPYRIGHT: (C)2006,JPO&NCIPI |