You are here: Start » AVL.NET » Invoke.AddNoiseToImage
Adds random noise to the image.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void AddNoiseToImage ( Avl.RandomState ioState, Avl.Image inImage, float inMinValue, float inMaxValue, float inNoiseStrength, bool inColorNoise, Optional<int> inSeed, Avl.Image outImage )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
| ioState | Avl.RandomState | State of generator. | |||
![]()  | inImage | Avl.Image | Input image. | ||
![]()  | inMinValue | float | 0.0f | Minimum value of noise pixel, inclusive. Default value: 0.0f. | |
![]()  | inMaxValue | float | 256.0f | Maximum value of noise pixel, exclusive. Default value: 256.0f. | |
![]()  | inNoiseStrength | float | <0.0f, 1.0f> | 0.5f | Noise strength. Default value: 0.5f. | 
![]()  | inColorNoise | bool | If 'True', noise will be generated separately for each channel. | ||
![]()  | inSeed | Atl.Optional<int> | Random seed used to generate noise. Default value: atl::NIL. | ||
![]()  | outImage | Avl.Image | Output image. | 


