Click or drag to resize
CvInvokeMinMaxLoc Method
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: (
public static void MinMaxLoc(
	IInputArray arr,
	ref double minVal,
	ref double maxVal,
	ref Point minLoc,
	ref Point maxLoc,
	IInputArray mask = null


Type: Emgu.CVIInputArray
The source array, single-channel or multi-channel with COI set
Type: SystemDouble
Pointer to returned minimum value
Type: SystemDouble
Pointer to returned maximum value
Type: System.DrawingPoint
Pointer to returned minimum location
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