You are here: Start » AVL.NET » AVL.AddNoiseToImage
Adds random noise to the image
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void AddNoiseToImage ( AvlNet.RandomState ioState, AvlNet.Image inImage, float inMinValue, float inMaxValue, float inNoiseStrength, bool inColorNoise, int? inSeed, AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | AvlNet.RandomState | State of generator. | |||
inImage | AvlNet.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 | int? | Random seed used to generate noise. Default value: atl::NIL. | |||
outImage | AvlNet.Image | Output image. |