Finds the minimum and maximum histogram bins and their positions

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

Syntax

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

Parameters

minValue
Single%
Pointer to the minimum value of the histogram
maxValue
Single%
Pointer to the maximum value of the histogram
minLocation
array<Int32>[]()[][]%
Pointer to the array of coordinates for minimum
maxLocation
array<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