Patent ID: 9613288
Date: 2017-04-04
CPC Classifications: G06K,G06T

Claim:
1. A computer implemented method for identifying and healing spots in an image, the method comprising: receiving, at a computing device, a selection of an area of the image, the selected area having a center; calculating, by the computing device, pixel values of pixels in the selected area; determining, based at least in part on the calculated pixel values, a threshold value; detecting, based at least in part on comparing pixel values in the selected area to the threshold value, one or more spots in the selected area; determining, by the computing device, a center of a parent area by determining a center of the detected one or more spots in the selected area, the parent area having a plurality of edges; expanding the parent area in response to determining that an edge of the parent area intersects a pixel included in the one or more spots; creating, by the computing device, a mask for the one or more spots, the mask including pixels in the one or more spots that are within the expanded parent area; and replacing pixels in the mask with non-spot pixels.