Table of Contents

Method BilateralTextureFilter

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

BilateralTextureFilter(InputArray, OutputArray, int, int, double, double)

Applies the bilateral texture filter to an image. It performs structure-preserving texture filter. For more details about this filter see @cite Cho2014.

public static void BilateralTextureFilter(InputArray src, OutputArray dst, int fr = 3, int numIter = 1, double sigmaAlpha = -1, double sigmaAvg = -1)

Parameters

src InputArray

Source image whose depth is 8-bit UINT or 32-bit FLOAT

dst OutputArray

Destination image of the same size and type as src.

fr int

Radius of kernel to be used for filtering. It should be positive integer

numIter int

Number of iterations of algorithm, It should be positive integer

sigmaAlpha double

Controls the sharpness of the weight transition from edges to smooth/texture regions, where a bigger value means sharper transition.When the value is negative, it is automatically calculated.

sigmaAvg double

Range blur parameter for texture blurring. Larger value makes result to be more blurred. When the value is negative, it is automatically calculated as described in the paper.