摘要 |
A method and apparatus for erasing a feature from a digital image. The method includes identifying a plurality of tip regions on the image each including multiple pixels of the image and each covering a portion of the feature and sequentially processing the tip regions to erase the feature. The sequential processing includes determining an erasure color, defining a color match function for the tip region, applying the color match function to each pixel in the tip region including determining a color match value for each pixel and completely erasing ones of the pixels in the tip region that have a color match value greater than a threshold value. For a pixel having a color match value less than the threshold, an erasure function is applied to the target pixel. A contribution of the erasure color is removed from a color associated with the target pixel where the effect of each action of processing a tip region is recorded in the digital image before any subsequent action of processing a tip region is performed. |