BitmapStatisticsProvider.GetSumHistogram Method

Calculates and returns a histogram built from the sum of each channel luminosities of the pixel.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public Histogram GetSumHistogram()

Return Value

A Histogram containing sum histogram of this bitmap.

Remarks

This histogram type is used in Adobe® Photoshop®.

Examples

C#
var histogram = bitmap.Statistics.GetSumHistogram();
for (int i = 0; i < histogram.Length; i++)
{
    Console.WriteLine(i + ": " + histogram[i]);
}

See Also

Reference