AddNoise Constructor (Single, DistributionKind, Boolean, Int32)

Initializes a new instance of the AddNoise class using the specified noise settings.

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

Syntax

C#
public AddNoise(
	float amount,
	DistributionKind distributionKind,
	bool grayNoise,
	int seed
)

Parameters

amount

Type: System.Single

The strength of noise in range [-1, 1]. You can change this value later through the Amount property.
distributionKind

Type: Aurigma.GraphicsMill.Transforms.DistributionKind

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

Type: System.Boolean

true if the noise is gray; otherwise, false. You can change this value later through the GrayNoise property.
seed

Type: System.Int32

The seed for the noise random generator. You can change this value later through the Seed property.

See Also

Reference