Patent ID: 8111301

Claim:
A method of performing auto white balance in a YCbCr color space, the method comprising: setting a plurality of sections of a whole range of a value of each of Y, Cb, and Cr in the YCbCr color space, according to a size of each value; calculating an accumulated Y value, an accumulated Cb value, and an accumulated Cr value for each section of pixels of an input image frame, the pixels included in each of the plurality of sections; determining one or more effective sections including pixels to be used in the auto white balance among the plurality of sections, according to the number of the pixels included in each of the plurality of sections; calculating a mean Y value, a mean Cb value, and a mean Cr value of pixels included in all of the effective sections by using the accumulated Y value, the accumulated Cb value, and the accumulated Cr value of each of the effective sections; calculating a mean R value, a mean G value, and a mean B value by converting the mean Y value, the mean Cb value, and the mean Cr value into an RGB color space; determining an R color gain and a B color gain of a Bayer image outputted from an image sensor by using the mean R value, the mean G value, and the mean B value, applying an IIR (Infinite Impulse Response) filter having plurality of time constants to the R color gain and the B color gain; and applying the R color gain and the B color gain, to which the IIR filter is applied, to the image sensor.