Method of repairing scratches in digital images
First Claim
1. A method of repairing scratches in digital images, the method comprising:
- calculating a brightness difference between a selected pixel and one of neighboring pixels surrounding the selected pixel;
counting the number of abnormal pixels among the neighboring pixels;
designating as particular pixels the selected pixels surrounded by the abnormal pixels, wherein the number of abnormal pixels is more than a predetermined value;
dividing an area surrounding each particular pixel into a plurality of blocks, and calculating a brightness difference between the blocks;
finding out scratch pixels from the particular pixels based on brightness difference between blocks; and
subdividing and filling up an area surrounded by scratch pixels,wherein the step of calculating brightness difference between the blocks includes estimating a mean square error of each block which has a plurality of pixels, and calculating the difference between the mean square errors.
3 Assignments
0 Petitions
Accused Products
Abstract
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.
12 Citations
9 Claims
-
1. A method of repairing scratches in digital images, the method comprising:
-
calculating a brightness difference between a selected pixel and one of neighboring pixels surrounding the selected pixel; counting the number of abnormal pixels among the neighboring pixels; designating as particular pixels the selected pixels surrounded by the abnormal pixels, wherein the number of abnormal pixels is more than a predetermined value; dividing an area surrounding each particular pixel into a plurality of blocks, and calculating a brightness difference between the blocks; finding out scratch pixels from the particular pixels based on brightness difference between blocks; and subdividing and filling up an area surrounded by scratch pixels, wherein the step of calculating brightness difference between the blocks includes estimating a mean square error of each block which has a plurality of pixels, and calculating the difference between the mean square errors. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
Specification