Cv2MinMaxIdx Method (InputArray, Double, Double) 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 MinMaxIdx(
	InputArray src,
	out double minVal,
	out double maxVal
)

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
See Also

Reference