Patent ID: 8704909

Claim:
A method for handling image data with an electronic device comprising: performing an image coding operation on a first frame of image data comprising: partitioning the image data into a plurality of blocks of data; and transforming the plurality of blocks of data into a frequency domain representation; obtaining color component statistics data from at least one of the plurality of transformed blocks of data; and performing a white balance adjustment operation on at least one second frame of image data using the obtained color component statistics data, wherein the white balance adjustment operation comprises: weighting one or more portions of the obtained color component statistics data based, at least in part, on information derived from a luminance histogram for the first frame of image data; determining a reference white point using at least some of the weighted color component statistics data; and adjusting at least some color components of the at least one second frame of image data based, at least in part, on the reference white point.