pyrDownAsync function
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
Future<Mat> pyrDownAsync(
Mat src, {
Mat? dst,
(int, int) dstsize = (0, 0),
int borderType = BORDER_DEFAULT,
}) {
dst ??= Mat.empty();
return cvRunAsync0(
(callback) => cimgproc.cv_pyrDown(src.ref, dst!.ref, dstsize.cvd.ref, borderType, callback),
(c) {
return c.complete(dst);
},
);
}