Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

Histogram.BuildSum Method (BitmapData, Boolean[])

Builds the histogram for specified bitmap data. 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 ( _
	bitmapData As BitmapData, _
	channels As Boolean() _
)
C#
public void BuildSum(
	BitmapData bitmapData,
	bool[] channels
)

Parameters

bitmapData

Type: Aurigma.GraphicsMill.BitmapData

BitmapData 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