pyrDownAsync function

Future<Mat> pyrDownAsync(
  1. Mat src, {
  2. (int, int) dstsize = (0, 0),
  3. int borderType = BORDER_DEFAULT,
})

PyrDown blurs an image and downsamples it.

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

Implementation

Future<Mat> pyrDownAsync(
  Mat src, {
  (int, int) dstsize = (0, 0),
  int borderType = BORDER_DEFAULT,
}) async =>
    cvRunAsync(
      (callback) => cffi.PyrDown_Async(src.ref, dstsize.cvd.ref, borderType, callback),
      matCompleter,
    );