摘要 |
One embodiment of the present invention provides a system that automatically locates a source point within an image for an image-retouching tool. During operation, the system receives an image, wherein the image includes a defective area. Next, the system determines visual characteristics for the defective area. The system then searches around the defective area to identify candidate replacements for the defective area, and also determines visual characteristics for the candidate replacements. Next, the system compares visual characteristics of the defective area with visual characteristics for the candidate replacements to select a candidate replacement to be used as the source point from which pixels can be copied by the image-retouching tool. Note that this system not only improves the usability of image-retouching tools, but can also improve the quality of the result.
|