Methods and apparatus for image restoration
First Claim
1. A method for repairing a defect in a digital image to provide a restored image, comprising:
- determining, using a computer having a processor, a plurality of pixel locations relating to the defect and whether a blotch has an edge darker than a selected threshold;
where it is determined that the edge is not darker than the selected threshold,(a) processing the blotch to bring the blotch to a more uniform darkness;
(b) processing the uniform darkness blotch to match surroundings in the digital image;
(c) copying a border of the blotch in the digital image into the processed blotch;
(d) processing pixels of the border to repair the copied border pixels; and
(e) outputting the restored image for display to a user;
where it is determined that the edge is darker than the selected threshold,(f) processing the blotch to locally enhance the blotch and match surroundings in the digital image;
(g) processing the blotch edge such that the edge also matches surroundings in the defect and the digital image;
(h) processing the blotch to invert pixel values and perform steps (f) and (g) again;
(i) processing the blotch to increase its contrast and performing steps (f)-(h) again;
(j) processing the blotch to bring the blotch to a more uniform darkness;
(k) processing the uniform darkness blotch to match surroundings in the digital image; and
(l) outputting the restored image for display to a user.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatus for restoration of a digital image. In one embodiment, a method for repairing a defect in a digital image to provide a restored image comprises determining a plurality of pixel locations to form a neighborhood relating to the defect and whether or not the neighborhood has a well-defined, dark border along its edge. Should the neighborhood not have dark border, one embodiment of the method entails processing the neighborhood to bring the neighborhood approximately to uniform darkness, processing the neighborhood to match surroundings in the digital image, copying an edge of a neighborhood in the digital image into the processed neighborhood, processing pixels of the edge to repair the copied edge pixels, and outputting the restored image for display to a user. Should the neighborhood have a dark, well-defined border, one embodiment of the method entails processing the neighborhood as to locally enhance the neighborhood and match its surroundings in the digital image; processing the neighborhood'"'"'s edge such that the edge also matches its surroundings in both the defect and the digital image; processing the neighborhood to invert its pixel values and then perform the last two steps once again; processing the neighborhood to increase its contrast and then perform the last three steps once again; processing the neighborhood to bring the neighborhood to a more uniform darkness; processing the uniform darkness neighborhood to match surroundings in the digital image; and outputting the restored image for display to a user.
27 Citations
16 Claims
-
1. A method for repairing a defect in a digital image to provide a restored image, comprising:
-
determining, using a computer having a processor, a plurality of pixel locations relating to the defect and whether a blotch has an edge darker than a selected threshold; where it is determined that the edge is not darker than the selected threshold, (a) processing the blotch to bring the blotch to a more uniform darkness; (b) processing the uniform darkness blotch to match surroundings in the digital image; (c) copying a border of the blotch in the digital image into the processed blotch; (d) processing pixels of the border to repair the copied border pixels; and (e) outputting the restored image for display to a user; where it is determined that the edge is darker than the selected threshold, (f) processing the blotch to locally enhance the blotch and match surroundings in the digital image; (g) processing the blotch edge such that the edge also matches surroundings in the defect and the digital image; (h) processing the blotch to invert pixel values and perform steps (f) and (g) again; (i) processing the blotch to increase its contrast and performing steps (f)-(h) again; (j) processing the blotch to bring the blotch to a more uniform darkness; (k) processing the uniform darkness blotch to match surroundings in the digital image; and (l) outputting the restored image for display to a user. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A system, comprising:
-
a processor and a memory to provide; an edge analysis module to detect an edge of a defect in a blotch in a digital image; a uniform intensity module to bring the blotch to a more uniform darkness; a uniform intensity module to process the more uniform darkness blotch to match surroundings in the digital image; an edge pixel module to copy an edge of a blotch in the digital image into the processed blotch; an edge pixel restoration module to process pixels of the edge to repair the copied edge pixels; and an output module to output the processed image for display to a user.
-
-
16. An article, comprising:
-
a storage medium containing stored instructions that when executed enable a machine to perform; determining, using a computer having a processor, a plurality of pixel locations relating to a defect and whether a blotch has an edge darker than a selected threshold; where it is determined that the edge is not darker than the selected threshold, (a) processing the blotch to bring the blotch to a more uniform darkness; (b) processing the uniform darkness blotch to match surroundings in the digital image; (c) copying a border of the blotch in the digital image into the processed blotch; (d) processing pixels of the border to repair the copied border pixels; and (e) outputting the processed image for display to a user; where it is determined that the edge is darker than the selected threshold, (f) processing the blotch to locally enhance the blotch and match surroundings in the digital image; (g) processing the blotch edge such that the edge also matches surroundings in the defect and the digital image; (h) processing the blotch to invert pixel values and perform steps (f) and (g) again; (i) processing the blotch to increase its contrast and performing steps (f)-(h) again; (j) processing the blotch to bring the blotch to a more uniform darkness; (k) processing the uniform darkness blotch to match surroundings in the digital image; and (l) outputting the restored image for display to a user.
-
Specification