blur function

Mat blur(
  1. Mat src,
  2. (int, int) ksize, {
  3. Mat? dst,
})

Blur blurs an image Mat using a normalized box filter.

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

Implementation

Mat blur(Mat src, (int, int) ksize, {Mat? dst}) {
  dst ??= Mat.empty();
  cvRun(() => cimgproc.Blur(src.ref, dst!.ref, ksize.cvd.ref));
  return dst;
}