Cv2MinMaxLoc Method (InputArray, Double, Double, Point, Point, 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 MinMaxLoc(
	InputArray src,
	out double minVal,
	out double maxVal,
	out Point minLoc,
	out Point maxLoc,
	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
minLoc
Type: OpenCvSharp.CPlusPlusPoint
Pointer to returned minimum location
maxLoc
Type: OpenCvSharp.CPlusPlusPoint
Pointer to returned maximum location
mask (Optional)
Type: OpenCvSharp.CPlusPlusInputArray
The optional mask used to select a sub-array
See Also

Reference