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 static void cvGetMinMaxHistValue(
	IntPtr hist,
	ref float minValue,
	ref float maxValue,
	int[] minIdx,
	int[] maxIdx
)
Visual Basic
Public Shared Sub cvGetMinMaxHistValue ( 
	hist As IntPtr,
	ByRef minValue As Single,
	ByRef maxValue As Single,
	minIdx As Integer(),
	maxIdx As Integer()
)
Visual C++
public:
static void cvGetMinMaxHistValue(
	IntPtr hist, 
	float% minValue, 
	float% maxValue, 
	array<int>^ minIdx, 
	array<int>^ maxIdx
)
F#
static member cvGetMinMaxHistValue : 
        hist : IntPtr * 
        minValue : float32 byref * 
        maxValue : float32 byref * 
        minIdx : int[] * 
        maxIdx : int[] -> unit 

Parameters

hist
Type: System..::..IntPtr
Histogram
minValue
Type: System..::..Single%
Pointer to the minimum value of the histogram
maxValue
Type: System..::..Single%
Pointer to the maximum value of the histogram
minIdx
Type: array<System..::..Int32>[]()[][]
Pointer to the array of coordinates for minimum
maxIdx
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