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 Constructor (Bitmap, Boolean[])

Creates new Histogram instance and 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 New ( _
	bitmap As Bitmap, _
	channels As Boolean() _
)
C#
public Histogram(
	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