scaleAddAsync function
Calculates the sum of a scaled array and another array.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga9e0845db4135f55dcf20227402f00d98
Implementation
Future<Mat> scaleAddAsync(InputArray src1, double alpha, InputArray src2, {OutputArray? dst}) async {
dst ??= Mat.empty();
return cvRunAsync0(
(callback) => ccore.cv_scaleAdd(src1.ref, alpha, src2.ref, dst!.ref, callback),
(c) {
return c.complete(dst);
},
);
}