Patent Document ID: 20100303380
Application ID: 12476514
Patent Status: 0

Claim One:
1. A method for removing an artifact from a digital image, the method comprising: estimating, by a processing device, an attenuation of a plurality of pixels of the digital image; applying, by the processing device, an inverse transformation, based on the estimated attenuation, to a plurality of pixels in a corrupted region including the artifact; selecting, by the processing device, a target patch area, such that a first plurality of pixels of the target patch area are outside of the corrupted region and a second plurality of pixels of the target patch area are inside the corrupted region; determining, by the processing device, a pixel distance between the target patch area and each of a plurality of candidate source patch areas outside of the corrupted region such that ones of the second plurality of pixels within the target patch area are considered when determining the pixel distance; selecting, by the processing device, at least one of the plurality of candidate source patches based on the determined pixel distance; and restoring, by the processing device, the second plurality of pixels of the target patch area based on corresponding pixels of the selected at least one of the plurality of candidate source patches.