reduceArgMax function

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

Finds indices of max elements along provided axis.

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

Implementation

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