Aurigma Graphics Mill 5.5 for .NET
BitmapStatisticsProvider..::.GetSumHistogram Method (Boolean)
Calculates and returns a histogram built from the sum of each channel luminosities of the pixel. You can include or exclude alpha channel from this sum.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Syntax
Parameters
- useAlpha
-
Type: System..::.Boolean
Flag that specify whether to include alpha channel into the histogram calculation.
Return Value
Histogram class instance that contains sum histogram of this bitmap.Remarks
This histogram type is used in Adobe® Photoshop®.
Examples
Visual Basic
Dim histogram As Aurigma.GraphicsMill.Histogram = _
bitmap.Statistics.GetSumHistogram(False)
For i As Integer = 0 To histogram.Length - 1
Console.WriteLine(i & ": " & histogram(i))
Next
C#
Aurigma.GraphicsMill.Histogram histogram =
bitmap.Statistics.GetSumHistogram(false);
for (int i = 0; i < histogram.Length; i++)
{
Console.WriteLine(i + ": " + histogram[i]);
}