Table of Contents

Method ReduceArgMin

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

ReduceArgMin(InputArray, OutputArray, int, bool)

Finds indices of min elements along provided axis

public static void ReduceArgMin(InputArray src, OutputArray dst, int axis, bool lastIndex = false)

Parameters

src InputArray

Input single-channel array

dst OutputArray

Output array of type CV_32SC1 with the same dimensionality as src, except for axis being reduced - it should be set to 1.

axis int

Axis to reduce along

lastIndex bool

Whether to get the index of first or last occurrence of min