Method AnisotropicDiffusion
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
AnisotropicDiffusion(InputArray, OutputArray, float, float, int)
Performs anisotropic diffusian on an image. The function applies Perona-Malik anisotropic diffusion to an image.
public static void AnisotropicDiffusion(InputArray src, OutputArray dst, float alpha, float k, int niters)
Parameters
srcInputArrayGrayscale Source image.
dstOutputArrayDestination image of the same size and the same number of channels as src.
alphafloatThe amount of time to step forward by on each iteration (normally, it's between 0 and 1).
kfloatsensitivity to the edges
nitersintThe number of iterations