scharrAsync function

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

Scharr calculates the first x- or y- image derivative using Scharr operator.

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

Implementation

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