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

AddNoise Constructor (Single, DistributionKind, Boolean)

Creates new AddNoise class instance. You can specify all the transform parameters here (noise amount, distribution kind, and if it should be gray). Transform will be applied to all channels of the bitmap.

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

Syntax

Visual Basic
Public Sub New ( _
	amount As Single, _
	distributionKind As DistributionKind, _
	grayNoise As Boolean _
)
C#
public AddNoise(
	float amount,
	DistributionKind distributionKind,
	bool grayNoise
)

Parameters

amount

Type: System.Single

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

Type: Aurigma.GraphicsMill.Transforms.DistributionKind

A member of DistributionKind enumeration specifying noise distribution law. You can change this value later through property DistributionKind.
grayNoise

Type: System.Boolean

A value specifying if to generate gray or color noise. You can change this value later through property GrayNoise.

See Also

Reference