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

AddNoise Constructor (Single, DistributionKind, Boolean, Int32)

Creates new AddNoise class instance. You can specify all the transform parameters here (noise amount, distribution kind, seed, 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, _
	seed As Integer _
)
C#
public AddNoise(
	float amount,
	DistributionKind distributionKind,
	bool grayNoise,
	int seed
)

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.
seed

Type: System.Int32

An integer value specifying seed for random generator. You can change this value later through property Seed.

See Also

Reference