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

Lut.BuildStaircase Method

Builds a LUT from a staircase function with a given number of steps.

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

Syntax

Visual Basic
Public Sub BuildStaircase ( _
	steps As Integer, _
	extended As Boolean _
)
C#
public void BuildStaircase(
	int steps,
	bool extended
)

Parameters

steps

Type: System.Int32

Number of the staircase function steps. Minimum value is 0 (single horizontal line will be produced).
extended

Type: System.Boolean

Value that specifies if LUTshould be build for extended (16 bits per channel) or non-extended (8 bits per channel) bitmaps. If it is true, LUT entries number is 65536 and maximum value is 65535, otherwise entries number is 256 and maximum value is 255.

Remarks

Using staircase function you can apply a posterize effect.

See Also

Reference