Accusoft ImagXpress 13
RGBColorCountV Method
A variant representing a 256 element array of long values to receive the count of red values.
A variant representing a 256 element array of long values to receive the count of green values.
A variant representing a 256 element array of long values to receive the count of blue values.
Description
Returns three variants, each containing 256 elements, which equate to a count of the red, green, and blue color intensities of the image.
Syntax
Visual Basic
Public Sub RGBColorCountV( _
   ByRef Red As Variant, _
   ByRef Green As Variant, _
   ByRef Blue As Variant _
) 
Parameters
Red
A variant representing a 256 element array of long values to receive the count of red values.
Green
A variant representing a 256 element array of long values to receive the count of green values.
Blue
A variant representing a 256 element array of long values to receive the count of blue values.
Remarks
The array sets contain a histogram of intensity values for each of the red, green, and blue components of the current image.
Example
Dim RedV As Variant
Dim GreenV As Variant
Dim BlueV As Variant
 
Dim Red(256) As Long
Dim Green(256) As Long
Dim Blue(256) As Long
    
RedV = Red
GreenV = Green
BlueV = Blue
 
ImagXpress1.RGBColorCountV RedV, GreenV, BlueV
See Also

ImagXpress Object  | ImagXpress Members

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback