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

ColorAdjustmentProvider.AutoLevels Method (Boolean[], HistogramMode)

Automatically applies levels adjustment.

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

Syntax

Visual Basic
Public Sub AutoLevels ( _
	channels As Boolean(), _
	histogramMode As HistogramMode _
)
C#
public void AutoLevels(
	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

HistogramModevalue that specifies how to build histogram.

Remarks

You can also use Levels class to apply this correction (with Auto property set to true).

See Also

Reference