Accusoft.ImagXpressSdk Namespace > Processor Class : RGBColorCount Method |
'Declaration Public Sub RGBColorCount( _ ByRef redCounts As Integer(), _ ByRef greenCounts As Integer(), _ ByRef blueCounts As Integer() _ )
'Usage Dim instance As Processor Dim redCounts As Integer() Dim greenCounts As Integer() Dim blueCounts As Integer() instance.RGBColorCount(redCounts, greenCounts, blueCounts)
public void RGBColorCount( out int[] redCounts, out int[] greenCounts, out int[] blueCounts )
public: void RGBColorCount( [PARAMFLAG::Out] int[] redCounts, [PARAMFLAG::Out] int[] greenCounts, [PARAMFLAG::Out] int[] blueCounts )
public: void RGBColorCount( [Out] array<int> redCounts, [Out] array<int> greenCounts, [Out] array<int> blueCounts )
The returned arrays contain a histogram of intensity values for each of the red, green, and blue components of the current image.
int[] redCounts; int[] greenCounts; int[] blueCounts; using (Processor processor = new Processor(imagXpress1, imageXView1.Image)) { processor.RGBColorCount(out redCounts, out greenCounts, out blueCounts); }