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

ColorAdjustmentProvider.HistogramEqualize Method (Boolean[], HistogramMode)

Applies histogram equalization to the bitmap. Histogram is taken from the bitmap automatically.

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

Syntax

Visual Basic
Public Sub HistogramEqualize ( _
	channels As Boolean(), _
	histogramMode As HistogramMode _
)
C#
public void HistogramEqualize(
	bool[] channels,
	HistogramMode histogramMode
)

Parameters

channels

Type: System.Boolean []

Array of flags specifying what channels to apply effect at. If array item is true, transform will be applied at channel with appropriate index. Otherwise this channel is skipped.
histogramMode

Type: Aurigma.GraphicsMill.HistogramMode

HistogramMode enumeration member that specifies what histogram calculation algorithm to use.

Remarks

You can also use HistogramEqualize class to apply this correction.

See Also

Reference