Patent Document ID: 7683948
Application ID: 11095447
Patent Status: 1

Claim One:
1. A method of processing a digital image in a processor tangibly embodying a program of instructions to perform method steps, the method comprising the steps of: receiving image data defining the image, the image data including a plurality of pixels, the plurality of pixels including a plurality of green pixels, a plurality of red pixels, and a plurality of blue pixels; determining for each pixel if the pixel is likely corrupt by comparing each pixel to a plurality of neighboring pixels, wherein the step of determining for each pixel if the pixel is likely corrupt by comparing each pixel to a plurality of neighboring pixels comprises: for each of the plurality of green pixels: determining if the green pixel exceeds a plurality of green-neighboring pixels by a first green threshold difference; determining if the green pixel is less than the plurality of green-neighboring pixels by a second green threshold difference; for each of the plurality of red pixels: determining if the red pixel exceeds a plurality of red-neighboring pixels by a first red threshold difference; determining if the red pixel is less than the plurality of red-neighboring pixels by a second red threshold difference; determining if an area around the red pixel is locally flat by determining a maximum difference in neighboring green pixels and comparing the maximum difference in neighboring green pixels to a first local flatness threshold; determining if the area of the red pixel is locally dark by determining a brightness in neighboring green pixels and comparing the brightness to a first brightness threshold; and for each of the plurality of blue pixels: determining if the blue pixel exceeds a pair of a plurality of blue-neighboring pixels by a first blue threshold difference; determining if the blue pixel is less than a pair of the plurality blue-neighboring pixels by a second blue threshold difference; determining if an area around the blue pixel is locally flat by determining a maximum difference in neighboring green pixels and comparing the maximum difference in neighboring green pixels to a second local flatness threshold; determining if the area of the blue pixel is locally dark by determining a brightness in neighboring green pixels and comparing the brightness to a second brightness threshold; and replacing each pixel determined to be likely corrupt with a statistical function of a plurality of nearby pixels.