Patent ID: 8571271

Claim:
A computer-readable storage medium storing computer-executable instructions that, when executed, cause one or more processors to perform acts comprising: detecting an eye portion in a digital image; performing a strong red eye correction for the eye portion when the eye portion includes a strong red eye, the eye portion is determined to include the strong red eye when a redness hue of the eye portion is above a redness threshold, each of one or more shape values of a region inside a red eye area of the eye portion is greater than a corresponding roundness threshold, and the region inside the red eve area has a centrality value that is greater than a corresponding centrality threshold; and performing a weak red eye correction for the eye portion when the eye portion includes a weak red eye, the eye portion is determined to include the weak red eye portion at least when the redness hue of the eye portion is equal to or below the redness threshold.