Click or drag to resize

Cv2MinMaxIdx Method (InputArray, 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: 1.0.0
Syntax
public static void MinMaxIdx(
	InputArray src,
	out double minVal,
	out double maxVal,
	int[] minIdx,
	int[] maxIdx,
	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
minIdx
Type: SystemInt32

[Missing <param name="minIdx"/> documentation for "M:OpenCvSharp.Cv2.MinMaxIdx(OpenCvSharp.InputArray,System.Double@,System.Double@,System.Int32[],System.Int32[],OpenCvSharp.InputArray)"]

maxIdx
Type: SystemInt32

[Missing <param name="maxIdx"/> documentation for "M:OpenCvSharp.Cv2.MinMaxIdx(OpenCvSharp.InputArray,System.Double@,System.Double@,System.Int32[],System.Int32[],OpenCvSharp.InputArray)"]

mask (Optional)
Type: OpenCvSharpInputArray

[Missing <param name="mask"/> documentation for "M:OpenCvSharp.Cv2.MinMaxIdx(OpenCvSharp.InputArray,System.Double@,System.Double@,System.Int32[],System.Int32[],OpenCvSharp.InputArray)"]

See Also