Patent ID: 9633460
Date: 2017-04-25
CPC Classifications: G06T

Claim:
1. A method implemented in an image editing device for editing an image, comprising: determining a source region in a source image; determining a target region in a target image; analyzing at least one image characteristic of each of the source region and a region outside the target region, wherein the at least one image characteristic comprises a gradient level, wherein analyzing the gradient level comprises: for each of the source region and the region outside the target region, applying a high pass filter to the region to generate an edge map; and calculating a standard deviation for each pixel in the edge map, wherein the standard deviation value for all the pixels corresponds to the gradient level of the region; adjusting content within the source region according to the at least one image characteristic of the content within the source region and the at least one image characteristic of the region outside the target region; inserting the adjusted content from the source region into the target region; and upon insertion of the adjusted source region, applying a smoothing operation to a boundary of the adjusted source region, wherein the smoothing operation comprises averaging each pixel on the boundary by accumulating a pixel value of each neighboring pixel directly adjacent to the pixel being averaged according to a corresponding weighting factor.