medianBlur function

Mat medianBlur(
  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

Mat medianBlur(Mat src, int ksize, {OutputArray? dst}) {
  dst ??= Mat.empty();
  cvRun(() => cffi.MedianBlur(src.ref, dst!.ref, ksize));
  return dst;
}