Puts an additive noise on the image by adding random number to each pixel.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub AddNoise ( _ channels As Boolean(), _ amount As Single, _ distributionKind As DistributionKind, _ grayNoise As Boolean, _ seed As Integer _ )
public void AddNoise( bool[] channels, float amount, DistributionKind distributionKind, bool grayNoise, int seed )
Type: System.Boolean []
Array of flags specifying what channels to apply effect at. If array item is true, transform will be applied at channel with appropriate index. Otherwise this channel is skipped.Type: System.Single
Noise amount value varying in range [-1, 1].Type: Aurigma.GraphicsMill.Transforms.DistributionKind
A member of DistributionKind enumeration specifying noise distribution law.Type: System.Boolean
A value specifying if to generate gray or color noise.Type: System.Int32
An integer value specifying seed for random generator.