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

AddNoise Constructor (Boolean[], Single)

Creates new AddNoise class instance. You can specify what channels to modify and set noise amount parameter.

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

Syntax

Visual Basic
Public Sub New ( _
	channels As Boolean(), _
	amount As Single _
)
C#
public AddNoise(
	bool[] channels,
	float amount
)

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. You can change to this array later through the property Channels.
amount

Type: System.Single

Noise amount value varying in range [-1, 1]. You can change this value later through property Amount.

See Also

Reference