reduceArgMin function

Mat reduceArgMin(
  1. InputArray src,
  2. int axis, {
  3. OutputArray? dst,
  4. bool lastIndex = false,
})

Finds indices of min elements along provided axis.

For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#gaeecd548276bfb91b938989e66b722088

Implementation

Mat reduceArgMin(InputArray src, int axis, {OutputArray? dst, bool lastIndex = false}) {
  dst ??= Mat.empty();
  cvRun(() => ccore.cv_reduceArgMin(src.ref, dst!.ref, axis, lastIndex, ffi.nullptr));
  return dst;
}