pyrDown function

Mat pyrDown(
  1. Mat src, {
  2. Mat? dst,
  3. (int, int) dstsize = (0, 0),
  4. 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

Mat pyrDown(
  Mat src, {
  Mat? dst,
  (int, int) dstsize = (0, 0),
  int borderType = BORDER_DEFAULT,
}) {
  dst ??= Mat.empty();
  cvRun(() => cimgproc.cv_pyrDown(src.ref, dst!.ref, dstsize.cvd.ref, borderType, ffi.nullptr));
  return dst;
}