Finds the minimum and maximum histogram bins and their positions

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 )

- 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

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.