http://www.emgu.com
Finds the minimum and maximum histogram bins and their positions

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public void MinMax(
	out float minValue,
	out float maxValue,
	out int[] minLocation,
	out int[] maxLocation
)
Visual Basic
Public Sub MinMax ( 
	<OutAttribute> ByRef minValue As Single,
	<OutAttribute> ByRef maxValue As Single,
	<OutAttribute> ByRef minLocation As Integer(),
	<OutAttribute> ByRef maxLocation As Integer()
)
Visual C++
public:
void MinMax(
	[OutAttribute] float% minValue, 
	[OutAttribute] float% maxValue, 
	[OutAttribute] array<int>^% minLocation, 
	[OutAttribute] array<int>^% maxLocation
)
F#
member MinMax : 
        minValue : float32 byref * 
        maxValue : float32 byref * 
        minLocation : int[] byref * 
        maxLocation : int[] byref -> unit 

Parameters

minValue
Type: System..::..Single%
Pointer to the minimum value of the histogram
maxValue
Type: System..::..Single%
Pointer to the maximum value of the histogram
minLocation
Type: array<System..::..Int32>[]()[][]%
Pointer to the array of coordinates for minimum
maxLocation
Type: array<System..::..Int32>[]()[][]%
Pointer to the array of coordinates for maximum

Remarks

Among several extremums with the same value the ones with minimum index (in lexicographical order). In case of several maximums or minimums the earliest in lexicographical order extrema locations are returned.

See Also