pyrUp function

Mat pyrUp(
  1. Mat src, {
  2. Mat? dst,
  3. (int, int) dstsize = (0, 0),
  4. int borderType = BORDER_DEFAULT,
})

PyrUp upsamples an image and then blurs it.

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

Implementation

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