Patent ID: 8786735

Claim:
A method to repair a white eye artifact in an image comprising: obtaining a white prominence bitmask corresponding to an area of an image that includes a pupil and an iris, wherein the image is stored in a memory and the white prominence bitmask is configured to identify one or more regions of the area that are prominently white; obtaining an alpha mask based at least in part on the white prominence bitmask, wherein the alpha mask covers a repair area of the image to be repaired; determining a tonality for the iris; infilling the pupil with the tonality of the iris using a non-uniform infill comprising a variable radiant pattern, wherein the variable radiant pattern comprises a plurality of radial striations with each of the plurality of radial striations extending outwardly at different angles; repairing each pixel in the repair area of the image corresponding to the pupil based on corresponding values in the white prominence bitmask and alpha mask.