cv.textureFlattening - MATLAB File Help
cv.textureFlattening

Texture Flattening

dst = cv.textureFlattening(src, mask)
dst = cv.textureFlattening(src, mask, 'OptionName',optionValue, ...)

Input

Output

Options

By retaining only the gradients at edge locations, before integrating with the Poisson solver, one washes out the texture of the selected region, giving its contents a flat aspect. Here Canny Edge Detector is used.

Note

The algorithm assumes that the color of the source image is close to that of the destination. This assumption means that when the colors don't match, the source image color gets tinted toward the color of the destination image.

See also