TransformsProvider.AddNoise Method (Single, DistributionKind, Boolean)

Applies a noise effect to the bitmap using the specified settings.

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

Syntax

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

Parameters

amount

Type: System.Single

The strength of noise in range [-1, 1]. If 0, no noise added.
distributionKind

Type: Aurigma.GraphicsMill.Transforms.DistributionKind

A DistributionKind specifying noise distribution law.
grayNoise

Type: System.Boolean

true if the noise is gray; otherwise, false.

Remarks

This method transforms an image by adding a random number to each pixel.

See Also

Reference