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

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

Syntax

Visual Basic
Public Sub BuildSum ( _
	bitmapData As BitmapData, _
	useAlpha As Boolean _
)
C#
public void BuildSum(
	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