Patent ID: 8818091

Claim:
An image processing method, comprising: receiving a plurality of prominence bitmasks, the prominence bitmasks corresponding to an artifact in a first region of an image stored in a memory, the image comprising a plurality of pixels, wherein each pixel comprises a plurality of values; determining an area of specular shine of the artifact, wherein the specular shine corresponds to light reflected off of a cornea or a sclera of an eye; determining an alpha mask corresponding to a specified one of the plurality of prominence bitmasks, the alpha mask incorporating the specular shine area; and for each pixel in the image corresponding to an entry in the alpha mask: determining a plurality of new values, one for each of the pixel's plurality of values, and modifying each of the pixel's plurality of values based, at least in part, on the corresponding new value and the alpha mask while substantially maintaining an appearance of the specular shine.