Click or drag to resize

Cv2.MinMaxIdx Method (InputArray, Double, Double,Int32[],Int32[], InputArray)

finds global minimum and maximum array elements and returns their values and their locations

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static void MinMaxIdx(
	InputArray src,
	out double minVal,
	out double maxVal,
	int[] minIdx,
	int[] maxIdx,
	InputArray mask = null
)

Parameters

src
Type: OpenCvSharp.InputArray
The source single-channel array
minVal
Type: System.Double
Pointer to returned minimum value
maxVal
Type: System.Double
Pointer to returned maximum value
minIdx
Type:System.Int32[]
maxIdx
Type:System.Int32[]
mask (Optional)
Type: OpenCvSharp.InputArray
See Also