Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- redCounts
- An integer array of red counts.
- greenCounts
- An integer array of green counts.
- blueCounts
- An integer array of blue counts.
The returned arrays contain a histogram of intensity values for each of the red, green, and blue components of the current image.
C# | Copy Code |
---|---|
int[] redCounts; int[] greenCounts; int[] blueCounts; using (Processor processor = new Processor(imagXpress1, imageXView1.Image)) { processor.RGBColorCount(out redCounts, out greenCounts, out blueCounts); } |