The three arrays each containing 256 elements which equate to a count of the red, green, and blue color intensities of the image.
- Red
- The address of the 256 element array of longs to receive the count of red values.
- Green
- The address of the 256 element array of longs to receive the count of green values.
- Blue
- The address of the 256 element array of longs to receive the count of blue values.
The array sets contain a histogram of intensity values for each of the red, green, and blue components of the current image.
VB Example using RGBColorCount (Visual Basic) | Copy Code |
---|---|
Dim Red(256) As Long Dim Green(256) As Long Dim Blue(256) As Long ImagXpress1.RGBColorCount Red(0), Green(0), Blue(0) |