Patent ID: 7570808

Claim:
A method for enhancing an image, comprising using a processor to perform: applying an auto-level transformation to an original image to form a first image; applying an auto-contrast transformation to the original image to form a second image; applying an auto-brightness transformation to the original image to form a third image; applying a color cast correction to the first, the second, and the third images to generate a first plurality of images, said applying a color cast correction comprising: creating a histogram Hist[Cr,Cb] of an image, wherein the histogram Hist[Cr,Cb] is defined as a count of points in the image with chromatic values (Cr,Cb); and determining a nearest peak to an origin (0,0), wherein a peak is located at chromatic values (cr,cb) if (1) Hist(cr,cb)>Hist[cr−1,cb], (2) Hist(cr,cb)>Hist[cr+1,cb], (3) Hist(cr,cb)>Hist[cr,cb−1], and (4) Hist(cr,cb)>Hist[cr,cb+1]; applying a gamma correction to the first plurality of images to generate a second plurality of images; applying a sharpening correction to the second plurality of images to generate a third plurality of images; and presenting the third plurality of images to a user to select a final result.