Table of Contents

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

src InputArray

Grayscale Source image.

dst OutputArray

Destination image of the same size and the same number of channels as src.

alpha float

The amount of time to step forward by on each iteration (normally, it's between 0 and 1).

k float

sensitivity to the edges

niters int

The number of iterations