accumulateProductAsync function
Future<Mat>
accumulateProductAsync(
- InputArray src1,
- InputArray src2,
- InputOutputArray dst, {
- InputArray? mask,
Adds the per-element product of two input images to the accumulator image.
For further details, please see: https:///docs.opencv.org/master/d7/df3/group__imgproc__motion.html#ga82518a940ecfda49460f66117ac82520
Implementation
Future<Mat> accumulateProductAsync(
InputArray src1,
InputArray src2,
InputOutputArray dst, {
InputArray? mask,
}) {
if (mask == null) {
return cvRunAsync0(
(callback) => cimgproc.cv_accumulateProduct(src1.ref, src2.ref, dst.ref, callback),
(c) {
return c.complete(dst);
},
);
} else {
return cvRunAsync0(
(callback) => cimgproc.cv_accumulateProduct_1(src1.ref, src2.ref, dst.ref, mask.ref, callback),
(c) {
return c.complete(dst);
},
);
}
}