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

TransformsProvider.AddNoise Method (Boolean[], Single)

Puts an additive noise on the image by adding random number to each pixel.

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

Syntax

Visual Basic
Public Sub AddNoise ( _
	channels As Boolean(), _
	amount As Single _
)
C#
public void 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.
amount

Type: System.Single

Noise amount value varying in range [-1, 1].

Remarks

You can also use AddNoise class to apply this effect.

See Also

Reference