Back to Aurora Vision Studio website

You are here: Start » Filter Reference » OpenCV » Computational Photography » cvTextureFlattening

cvTextureFlattening


Module: OpenCV

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.

Name Type Range Description
Input value inImage Image Input image
Input value inMask Region
Input value inLowThreshold Real 0.0 - 100.0
Input value inHighThreshold Real 0.0 - 100.0
Input value inKernelSize Integer 3 - 7 The size of the Sobel kernel to be used.
Output value outImage Image Output image

Requirements

For input inImage only pixel formats are supported: 3⨯uint8.

Read more about pixel formats in Image documentation.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Not supported inImage pixel format in AvsFilter_cvTextureFlattening. Supported formats: 3xUInt8.

Complexity Level

This filter is available on Basic Complexity Level.