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
srcInputArraySource image whose depth is 8-bit UINT or 32-bit FLOAT
dstOutputArrayDestination image of the same size and type as src.
frintRadius of kernel to be used for filtering. It should be positive integer
numIterintNumber of iterations of algorithm, It should be positive integer
sigmaAlphadoubleControls 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.
sigmaAvgdoubleRange 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.