Accusoft.ImagXpress12.Net
RGBColorCount Method
See Also  Example Send Feedback
Accusoft.ImagXpressSdk Namespace > Processor Class : RGBColorCount Method




redCounts
An integer array of red counts.
greenCounts
An integer array of green counts.
blueCounts
An integer array of blue counts.

Glossary Item Box

Returns three arrays, each containing 256 elements, which equate to a count of the red, green, and blue color intensities of the image.

Syntax

 
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.

Remarks

The returned arrays contain a histogram of intensity values for each of the red, green, and blue components of the current image.

Example

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);
}

See Also

©2013. Accusoft Corporation. All Rights Reserved.