Click or drag to resize
CvInvokeMinMaxIdx Method
http://www.emgu.com
Finds the global minimum and maximum in an array

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public static void MinMaxIdx(
	IInputArray src,
	out double minVal,
	out double maxVal,
	int[] minIdx,
	int[] maxIdx,
	IInputArray mask = null
)

Parameters

src
Type: Emgu.CVIInputArray
Input single-channel array.
minVal
Type: SystemDouble
The returned minimum value
maxVal
Type: SystemDouble
The returned maximum value
minIdx
Type: SystemInt32
The returned minimum location
maxIdx
Type: SystemInt32
The returned maximum location
mask (Optional)
Type: Emgu.CVIInputArray
The extremums are searched across the whole array if mask is IntPtr.Zert. Otherwise, search is performed in the specified array region.
See Also