medianBlurAsync function

Future<Mat> medianBlurAsync(
  1. Mat src,
  2. int ksize, {
  3. OutputArray? dst,
})

MedianBlur blurs an image using the median filter.

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

Implementation

Future<Mat> medianBlurAsync(Mat src, int ksize, {OutputArray? dst}) async {
  dst ??= Mat.empty();
  return cvRunAsync0(
    (callback) => cimgproc.cv_medianBlur(src.ref, dst!.ref, ksize, callback),
    (c) {
      return c.complete(dst);
    },
  );
}