min function

Mat min(
  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

Mat min(InputArray src1, InputArray src2, {OutputArray? dst}) {
  dst ??= Mat.empty();
  cvRun(() => ccore.Mat_Min(src1.ref, src2.ref, dst!.ref));
  return dst;
}