ColorHist

Function

Description

GetValue(ColorHist, Index, [Color])

Returns the value contained in the indexed bin (0 to 255) for the specified Color of the ColorHist data structure.

 

Color is an optional parameter that determines from which color component to pull histogram data. If unspecified, this parameter will default to 0 (Red).

0 = Red

Selects the Red component from the ColorHist structure.

1 = Green

Selects the Green component from the ColorHist structure.

2 = Blue

Selects the Blue component from the ColorHist structure.

3 = Hue

Selects the Hue component from the ColorHist structure.

4 = Saturation

Selects the Saturation component from the ColorHist structure.

5 = Intensity

Selects the Intensity component from the ColorHist structure.