anisotropicDiffusionAsync static method

Future<Mat> anisotropicDiffusionAsync(
  1. InputArray src,
  2. double alpha,
  3. double K,
  4. int niters,
)

Performs anisotropic diffusion on an image.

The function applies Perona-Malik anisotropic diffusion to an image. https://docs.opencv.org/4.x/df/d2d/group__ximgproc.html#gaffedd976e0a8efb5938107acab185ec2

Implementation

static Future<Mat> anisotropicDiffusionAsync(InputArray src, double alpha, double K, int niters) async =>
    cvRunAsync(
      (callback) => cffi.ximgproc_anisotropicDiffusion_Async(src.ref, alpha, K, niters, callback),
      matCompleter,
    );