laplacianAsync function

Future<Mat> laplacianAsync(
  1. Mat src,
  2. int ddepth, {
  3. int ksize = 1,
  4. double scale = 1,
  5. double delta = 0,
  6. int borderType = BORDER_DEFAULT,
})

Laplacian calculates the Laplacian of an image.

For further details, please see: https:///docs.opencv.org/master/d4/d86/group__imgproc__filter.html#gad78703e4c8fe703d479c1860d76429e6

Implementation

Future<Mat> laplacianAsync(
  Mat src,
  int ddepth, {
  int ksize = 1,
  double scale = 1,
  double delta = 0,
  int borderType = BORDER_DEFAULT,
}) async =>
    cvRunAsync(
      (callback) => cffi.Laplacian_Async(src.ref, ddepth, ksize, scale, delta, borderType, callback),
      matCompleter,
    );