addWeightedAsync function
Future<Mat>
addWeightedAsync(
- InputArray src1,
- double alpha,
- InputArray src2,
- double beta,
- double gamma, {
- int dtype = -1,
AddWeighted calculates the weighted sum of two arrays.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#gafafb2513349db3bcff51f54ee5592a19
Implementation
Future<Mat> addWeightedAsync(
InputArray src1,
double alpha,
InputArray src2,
double beta,
double gamma, {
int dtype = -1,
}) async =>
cvRunAsync(
(callback) => cffi.core_AddWeighted_Async(src1.ref, alpha, src2.ref, beta, gamma, dtype, callback),
matCompleter,
);