This documentation is for the old version. Go to the latest Graphics Mill docs

Histogram.BuildSum Method (Bitmap, Boolean[])

Builds the histogram for specified bitmap. Histogram is based on average of pixel channels values (sum of these values divided at channels number). You can specify what channels to include into this sum via channels argument.

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

Syntax

Visual Basic
Public Sub BuildSum ( _
	bitmap As Bitmap, _
	channels As Boolean() _
)
C#
public void BuildSum(
	Bitmap bitmap,
	bool[] channels
)

Parameters

bitmap

Type: Aurigma.GraphicsMill.Bitmap

Bitmap class instance to build the histogram for.
channels

Type: System.Boolean []

Array of flags specifying what channels to use when calculating the histogram. If array item is true, the channel with appropriate index is used. Otherwise this channel is skipped.

See Also

Reference