---
title: "AddNoise Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_AddNoise.htm
product: "Graphics Mill"
---

# AddNoise Class
 
Applies a noise effect to an image.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public sealed class AddNoise : MaskTransform
```
 
## Remarks
  
This class transforms an image by adding a random number to each pixel. It supports the following settings:
 
- [DistributionKind](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_AddNoise_DistributionKind.htm.md) specifies a noise distribution (uniform or Gaussian).
- [Amount](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_AddNoise_Amount.htm.md) specifies a strength of the noise.
- [GrayNoise](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_AddNoise_GrayNoise.htm.md) specifies whether to put the same noise values to all channels of pixel.
- [Seed](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_AddNoise_Seed.htm.md) specifies the seed for random generator.
 
## Inheritance Hierarchy
  
- System.Object
    - [Aurigma.GraphicsMill.PipelineElement](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_PipelineElement.htm.md)
        - [Aurigma.GraphicsMill.Transforms.Transform](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Transform.htm.md)
            - [Aurigma.GraphicsMill.Transforms.MaskTransform](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_MaskTransform.htm.md)
                - Aurigma.GraphicsMill.Transforms.AddNoise
 
## Thread Safety
 Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.
   
## See Also

### Reference

- [AddNoise Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_Transforms_AddNoise.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
