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

ColorAdjustmentProvider.HistogramEqualize Method (Boolean[], Histogram)

Applies histogram equalization to the bitmap. Histogram is retrieved to this method.

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

Syntax

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

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.
histogram

Type: Aurigma.GraphicsMill.Histogram

Histogram class instance containing a histogram to equalize. If you want to get histogram from the bitmap automatically, you should use overloaded version without this parameter.

Remarks

You can also use HistogramEqualize class to apply this correction.

See Also

Reference