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

TransformsProvider.AddNoise Method (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 ( _
	amount As Single _
)
C#
public void AddNoise(
	float amount
)

Parameters

amount

Type: System.Single

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

Remarks

You can also use AddNoise class to apply this effect.

Examples

Visual Basic
bitmap.Transforms.AddNoise(0.2F)
C#
bitmap.Transforms.AddNoise(0.2f);

See Also

Reference