AddNoiseToImage
Adds random noise to the image.
Syntax
C++
Python
def AddNoiseToImage( state: RandomState, inImage: Image, outImage: Image, /, *, inMinValue: float = 0.0, inMaxValue: float = 256.0, inNoiseStrength: float = 0.5, inColorNoise: bool = False, inSeed: int | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | RandomState | State of generator | ||
![]() |
inImage | Image | Input image | ||
![]() |
inMinValue | float | 0.0 | Minimum value of noise pixel, inclusive | |
![]() |
inMaxValue | float | 256.0 | Maximum value of noise pixel, exclusive | |
![]() |
inNoiseStrength | float | 0.0 - 1.0 | 0.5 | Noise strength |
![]() |
inColorNoise | bool | False | If 'True', noise will be generated separately for each channel | |
![]() |
inSeed | int | None | None | Random seed used to generate noise | |
![]() |
outImage | Image | Output image |



