| CvXImgProcAnisotropicDiffusion Method |
Performs anisotropic diffusian on an image.
The function applies Perona-Malik anisotropic diffusion to an image.
Namespace:
OpenCvSharp.XImgProc
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void AnisotropicDiffusion(
InputArray src,
OutputArray dst,
float alpha,
float k,
int niters
)
Public Shared Sub AnisotropicDiffusion (
src As InputArray,
dst As OutputArray,
alpha As Single,
k As Single,
niters As Integer
)
public:
static void AnisotropicDiffusion(
InputArray^ src,
OutputArray^ dst,
float alpha,
float k,
int niters
)
static member AnisotropicDiffusion :
src : InputArray *
dst : OutputArray *
alpha : float32 *
k : float32 *
niters : int -> unit
Parameters
- src
- Type: OpenCvSharpInputArray
Grayscale Source image. - dst
- Type: OpenCvSharpOutputArray
Destination image of the same size and the same number of channels as src. - alpha
- Type: SystemSingle
The amount of time to step forward by on each iteration (normally, it's between 0 and 1). - k
- Type: SystemSingle
sensitivity to the edges - niters
- Type: SystemInt32
The number of iterations
See Also