Cv2MinMaxIdx Method (InputArray, Double, Double, Int32, Int32, InputArray) OpenCvSharp Class Library
finds global minimum and maximum array elements and returns their values and their locations

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void MinMaxIdx(
	InputArray src,
	out double minVal,
	out double maxVal,
	out int minIdx,
	out int maxIdx,
	InputArray mask = null
)

Parameters

src
Type: OpenCvSharp.CPlusPlusInputArray
The source single-channel array
minVal
Type: SystemDouble
Pointer to returned minimum value
maxVal
Type: SystemDouble
Pointer to returned maximum value
minIdx
Type: SystemInt32

[Missing <param name="minIdx"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.MinMaxIdx(OpenCvSharp.CPlusPlus.InputArray,System.Double@,System.Double@,System.Int32@,System.Int32@,OpenCvSharp.CPlusPlus.InputArray)"]

maxIdx
Type: SystemInt32

[Missing <param name="maxIdx"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.MinMaxIdx(OpenCvSharp.CPlusPlus.InputArray,System.Double@,System.Double@,System.Int32@,System.Int32@,OpenCvSharp.CPlusPlus.InputArray)"]

mask (Optional)
Type: OpenCvSharp.CPlusPlusInputArray

[Missing <param name="mask"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.MinMaxIdx(OpenCvSharp.CPlusPlus.InputArray,System.Double@,System.Double@,System.Int32@,System.Int32@,OpenCvSharp.CPlusPlus.InputArray)"]

See Also

Reference