addWeightedAsync function

Future<Mat> addWeightedAsync(
  1. InputArray src1,
  2. double alpha,
  3. InputArray src2,
  4. double beta,
  5. double gamma, {
  6. 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) => ccore.core_AddWeighted_Async(src1.ref, alpha, src2.ref, beta, gamma, dtype, callback),
      matCompleter,
    );