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 whether alpha channel should be included into this sum.

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

Syntax

Visual Basic
Public Sub New ( _
	bitmap As Bitmap, _
	useAlpha As Boolean _
)
C#
public Histogram(
	Bitmap bitmap,
	bool useAlpha
)

Parameters

bitmap

Type: Aurigma.GraphicsMill.Bitmap

Bitmap class instance to build the histogram for.
useAlpha

Type: System.Boolean

If true, alpha channels is included (if available). Otherwise it is skipped. Typically alpha channel should be ignored when applying tone corrections.

See Also

Reference