Patent Document ID: 9842436
Application ID: 14704770
Patent Status: 1

Claim One:
1. A computer-implemented method for seamlessly transferring a texture, comprising: acquiring an image, wherein the image comprises an object to be concealed; activating a conceal tool; defining a source patch comprising a first collection of one or more pixels within the image; defining a target patch comprising a second collection of one or more pixels within the image, wherein the target patch is located over the object; and concealing the object by mapping the source patch onto the target patch using a transformation (T) measuring a contrast along a boundary between the source patch and the target patch; the contrast is measured using Weber's law based on a difference divided by an original value, wherein the contrast is computed as: 
 CONTRAST=ATAN(ABSOLUTE(( t−s )/ t )) wherein ATAN is an arctangent function, t is a target pixel value, and s is a source pixel value; and defining colors for pixels in the target patch based on the contrast, wherein the color of the one of the one or more pixels in the second collection is rejected when the computed contrast is larger than a specified threshold value.