Click or drag to resize

Cv2MinMaxLoc Method (InputArray, 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 static void MinMaxLoc(
	InputArray src,
	out double minVal,
	out double maxVal,
	out Point minLoc,
	out Point maxLoc,
	InputArray mask = null
)

Parameters

src
Type: OpenCvSharpInputArray
The source single-channel array
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