Applies a noise effect to the bitmap using the specified settings.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void AddNoise( float amount, DistributionKind distributionKind, bool grayNoise )
Type: System.Single
The strength of noise in range [-1, 1]. If 0, no noise added.Type: Aurigma.GraphicsMill.Transforms.DistributionKind
A DistributionKind specifying noise distribution law.Type: System.Boolean
true
if the noise is gray; otherwise, false
.This method transforms an image by adding a random number to each pixel.