Systems and methods of detecting and correcting redeye in an image are
described. In one aspect, the input image is sub-sampled to generate a
thumbnail image, redeye pixel areas are detected in the thumbnail image.
In another aspect, an input image having lines of pixels with original
color values is processed. One or more redeye pixel areas corresponding
to respective areas in the input image are detected. Each pixel in the
input image corresponding to the detected redeye pixel areas is
classified as a redeye pixel or a non-redeye pixel on a line-by-line
basis without reference to pixels in adjacent lines. The original color
values of pixels in the input image classified as redeye pixels are
corrected.