A method of repairing scratches in a digital image includes counting the number of abnormal pixels among neighboring pixels of a selected pixel. The selected pixels that are surrounded by abnormal pixels in a number greater than a predetermined value are designed as particular pixels. An area surrounding each particular pixel is divided into a plurality of blocks. Furthermore, brightness difference between two of the blocks are calculated. Scratch pixels are found from the particular pixels based on brightness difference between blocks. Then, an area surrounded by scratch pixels are subdivided and filled up. Thereby, the scratch pixels can be precisely found and repaired without the need of hardware.

 
Web www.patentalert.com

< Method and system for correcting the effect of non-uniform illumination

> Atlas and methods for segmentation and alignment of anatomical data

~ 00409