Patent ID: 7102669

Claim:
A method for processing an image, comprising: providing a sensor output; performing an automatic gain control of the sensor output to generate a first output, wherein the automatic gain control is applied in a digital domain, including performing an expansion of a histogram to fill a dynamic range; performing an automatic white balance correction to the first output to generate a second output; performing a gamma correction of the second output to generate a third output, wherein the gamma correction performs a variable gamma correction to increase a dynamic range of an image included in the second output; performing a color interpolation to the third output to generate a fourth output; performing a low-pass spatial filtration of the fourth output to generate a fifth output, wherein the low-pass spatial filtration is for eliminating a fixed pattern noise in a flat field; performing a color saturation and correction of the fifth output to generate a sixth output; and performing a high-pass spatial filtration of the sixth output to generate an image output.