Click or drag to resize

MatMinMaxIdx Method (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 void MinMaxIdx(
	out double minVal,
	out double maxVal,
	int[] minIdx,
	int[] maxIdx,
	InputArray mask = null
)

Parameters

minVal
Type: SystemDouble
Pointer to returned minimum value
maxVal
Type: SystemDouble
Pointer to returned maximum value
minIdx
Type: SystemInt32
maxIdx
Type: SystemInt32
mask (Optional)
Type: OpenCvSharpInputArray
See Also