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

Histogram Constructor (BitmapData, Boolean)

Creates new Histogram instance and 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 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 ( _
	bitmapData As BitmapData, _
	useAlpha As Boolean _
)
C#
public Histogram(
	BitmapData bitmapData,
	bool useAlpha
)

Parameters

bitmapData

Type: Aurigma.GraphicsMill.BitmapData

BitmapData 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