Patent ID: 8837822

Claim:
An image processing method, comprising: receiving user input indicating a region in an image, the region including at least a part of an artifact and wherein the image is stored in a memory; extracting a plurality of recognition channels from the indicated region of the image, wherein the plurality of recognition channels comprises at least a white color recognition channel, wherein extracting the plurality of recognition channels comprises: deriving a plurality of prominence bitmasks with a prominence bitmask derived for each of the plurality of recognition channels; and growing at least one prominence bitmask of the plurality of prominence bitmasks by seed filling the at least one prominence bitmask using successively lower thresholds until the at least one prominence bitmask transitions until a breakout occurs, wherein the breakout comprises a transition from an expected shape for a pupil to an unexpected shape for a pupil; characterizing the plurality of recognition channels; identifying an artifact-type for the artifact based on the characterized plurality of recognition channels; and repairing the artifact based on the identified artifact-type.