Creates new AddNoise class instance. You can specify all the transform parameters here (noise amount, distribution kind, if it should be gray, and channels to apply transform at).
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub New ( _ channels As Boolean(), _ amount As Single, _ distributionKind As DistributionKind, _ grayNoise As Boolean _ )
public AddNoise( bool[] channels, float amount, DistributionKind distributionKind, bool grayNoise )
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. You can change to this array later through the property Channels.Type: System.Single
Noise amount value varying in range [-1, 1]. You can change this value later through property Amount.Type: Aurigma.GraphicsMill.Transforms.DistributionKind
A member of DistributionKind enumeration specifying noise distribution law. You can change this value later through property DistributionKind.Type: System.Boolean
A value specifying if to generate gray or color noise. You can change this value later through property GrayNoise.