minAsync function

Future<Mat> minAsync(
  1. InputArray src1,
  2. InputArray src2, {
  3. OutputArray? dst,
})

Min calculates per-element minimum 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#ga9af368f182ee76d0463d0d8d5330b764

Implementation

Future<Mat> minAsync(InputArray src1, InputArray src2, {OutputArray? dst}) async {
  dst ??= Mat.empty();
  return cvRunAsync0(
    (callback) => ccore.cv_min(src1.ref, src2.ref, dst!.ref, callback),
    (c) {
      return c.complete(dst);
    },
  );
}