sobelAsync function

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

Sobel calculates the first, second, third, or mixed image derivatives using an extended Sobel operator

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

Implementation

Future<Mat> sobelAsync(
  Mat src,
  int ddepth,
  int dx,
  int dy, {
  int ksize = 3,
  double scale = 1,
  double delta = 0,
  int borderType = BORDER_DEFAULT,
}) async =>
    cvRunAsync(
      (callback) => cimgproc.Sobel_Async(src.ref, ddepth, dx, dy, ksize, scale, delta, borderType, callback),
      matCompleter,
    );