maxAsync function
Max calculates per-element maximum of two arrays or an array and a scalar.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#gacc40fa15eac0fb83f8ca70b7cc0b588d
Implementation
Future<Mat> maxAsync(InputArray src1, InputArray src2, {OutputArray? dst}) async {
dst ??= Mat.empty();
return cvRunAsync0(
(callback) => ccore.cv_max(src1.ref, src2.ref, dst!.ref, callback),
(c) {
return c.complete(dst);
},
);
}