sepFilter2DAsync function

Future<Mat> sepFilter2DAsync(
  1. InputArray src,
  2. int ddepth,
  3. InputArray kernelX,
  4. InputArray kernelY, {
  5. Point? anchor,
  6. double delta = 0,
  7. int borderType = BORDER_DEFAULT,
})

SepFilter2D applies a separable linear filter to the image.

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

Implementation

Future<Mat> sepFilter2DAsync(
  InputArray src,
  int ddepth,
  InputArray kernelX,
  InputArray kernelY, {
  Point? anchor,
  double delta = 0,
  int borderType = BORDER_DEFAULT,
}) async =>
    cvRunAsync(
      (callback) => cffi.SepFilter2D_Async(
        src.ref,
        ddepth,
        kernelX.ref,
        kernelY.ref,
        anchor?.ref ?? Point(-1, -1).ref,
        delta,
        borderType,
        callback,
      ),
      matCompleter,
    );