Click or drag to resize
CvInvokeMinMaxLoc Method
http://www.emgu.com
Finds minimum and maximum element values and their positions. The extremums are searched over the whole array, selected ROI (in case of IplImage) or, if mask is not IntPtr.Zero, in the specified array region. If the array has more than one channel, it must be IplImage with COI set. In case if multi-dimensional arrays min_loc->x and max_loc->x will contain raw (linear) positions of the extremums

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static void MinMaxLoc(
	IInputArray arr,
	ref double minVal,
	ref double maxVal,
	ref Point minLoc,
	ref Point maxLoc,
	IInputArray mask = null
)

Parameters

arr
Type: Emgu.CVIInputArray
The source array, single-channel or multi-channel with COI set
minVal
Type: SystemDouble
Pointer to returned minimum value
maxVal
Type: SystemDouble
Pointer to returned maximum value
minLoc
Type: System.DrawingPoint
Pointer to returned minimum location
maxLoc
Type: System.DrawingPoint
Pointer to returned maximum location
mask (Optional)
Type: Emgu.CVIInputArray
The optional mask that is used to select a subarray. Use IntPtr.Zero if not needed
See Also