Patent ID: 6987892

Claim:
A method comprising: determining a degree of defectiveness of an image portion; evaluating, based at least in part on a degree of defectiveness, a benefit of correcting the image portion and damage that would be caused by correcting the image portion; and correcting the image portion if the benefit of correcting the image portion is greater than the damage that would be caused by correcting the image portion; wherein determining the degree of defectiveness of an image portion includes: recording a first representation of the image portion using a light source having a first position relative to the image; recording a second representation of the image portion using a light source having a second position relative to the image, the second position different from the first position; low-pass filtering the first representation to generate a first filtered representation; low-pass filtering the second representation to generate a second filtered representation; dividing the first representation by the first filtered representation to generate a first output; and dividing the second representation by the second filtered representation to generate a second output.