Patent ID: 7949185

Claim:
A method of performing robust white balance, comprising: a first process of dividing an input image into a plurality of blocks; a second process of selecting blocks having higher color errors with respect to surrounding blocks, and calculating average RGB values of the selected blocks; a third process of selecting a specific top percentage of bright blocks from the selected blocks of the second process, and calculating average RGB values of these selected blocks; a fourth process of calculating average RGB values by performing color clustering on the selected blocks from the third process based on similarity of color information; a fifth process of converting the average RGB values after color clustering of the fourth into CIE xyY color space; a sixth process of calculating Euclidean distances (Eds) between x and y values of standard light sources in a color space and x and y values of the average RGB values after color clustering of the fourth process in CIE xyY color space, and selecting an average RGB value having a shortest Euclidean distance (Ed); and a seventh process of calculating white balance gain values for R, G, and B using the selected average RGB value, and correcting the input image using the balance gain values.