Click or drag to resize

MatMinMaxLoc Method (Double, Double, Point, Point, InputArray)

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

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public void MinMaxLoc(
	out double minVal,
	out double maxVal,
	out Point minLoc,
	out Point maxLoc,
	InputArray mask = null
)

Parameters

minVal
Type: SystemDouble
Pointer to returned minimum value
maxVal
Type: SystemDouble
Pointer to returned maximum value
minLoc
Type: OpenCvSharpPoint
Pointer to returned minimum location
maxLoc
Type: OpenCvSharpPoint
Pointer to returned maximum location
mask (Optional)
Type: OpenCvSharpInputArray
The optional mask used to select a sub-array
See Also