主权项 |
1. A method for reducing visually detectable defects in a document image, the method comprising:
identifying, using a computing device comprising one or more processors, a plurality of image fragments within the document image; separating, using the computing device, the plurality of image fragments into a plurality of classes, wherein each class of the plurality of classes includes a subset of the plurality of image fragments that are substantially similar to one another; for each of the plurality of classes:
processing, using the computing device, the class of image fragments to generate a combined and substantially enlarged image of the class;filtering, using the computing device, the combined and substantially enlarged image of the class to generate a filtered image for the class; and generating, using the computing device, an improved document image by replacing or modifying the image fragments within the document image based on the filtered images for the respective classes of the image fragments. |