Patent attributes
Automatic white balancing of a digital image. In one example embodiment, a method for automatic white balancing of a full-color input image includes several acts. First, pixels of the input image are selected according to one or more predetermined criteria. Next, global gain values for R and B components of the input image are determined using the selected pixels. Then, local gain values for the R and B components of each individual pixel of the input image are determined based on characteristics of each individual pixel. Next, a final gain value for the R and B components of each individual pixel of the input image is determined based on contributions of the local and global gain values. Finally, a white-balanced output image is produced by adjusting the R and B components of each pixel in the input image using the corresponding final gain value.