Patent ID: 7062086

Claim:
A system comprising: means for receiving an image; means for searching a set of areas of the image for candidate pixels of one or more colors, wherein the one or more colors comprise colors corresponding to red-eye; means for combining the candidate pixels into a set of one or more pixel groups, wherein the means for combining comprises means for combining candidate pixels into the same group if the candidate pixels are adjacent to one another; means for classifying each pixel group in the set of one or more pixel groups as being part of an eye or not part of an eye; means for checking whether a flash was used in capturing the image, wherein the means for checking whether a flash was used in capturing the image comprises means for checking whether a flash used flag is set in a header corresponding to the image; and the means for searching, the means for combining, and the means for classifying are performed only if a flash was used in capturing the image.