Random noise image

../../../../_images/image_noise.svg

Adds noise to an image

Documentation

Algorithms

Gaussian

Gaussian distributed white noise

mean:

Mean value of gaussian noise

variance:

Variance of gaussian noise

seed:

Random seed, if zero then a fresh random seed is generated

clip:

Clips the output to range 0..1

Pepper

Replaces random pixels with a 0

amount:

Fraction of pixels that will be replaced

seed:

Random seed, if zero then a fresh random seed is generated

Poisson

Poisson distributed noise generated from the data

seed:

Random seed, if zero then a fresh random seed is generated

clip:

Clips the output to range 0..1

Salt

Replaces random pixels with a 1

amount:

Fraction of pixels that will be replaced

seed:

Random seed, if zero then a fresh random seed is generated

Salt and pepper

Replaces random pixels with a 1 or a 0

amount:

Fraction of pixels that will be replaced

salt vs pepper:

Fraction of replaced pixels that will be replaced with a 1 (salt)

seed:

Random seed, if zero then a fresh random seed is generated

Speckle

Multiplies incoming image with a uniform noise with given mean and variance

mean:

Mean value of speckle noise

variance:

Variance of speckle noise

seed:

Random seed, if zero then a fresh random seed is generated

clip:

Clips the output to range 0..1

Definition

Input ports

source image

source image to add noise to

Output ports

result image

result after adding noise

Configuration

Algorithm (algorithm)

(no description)

amount (amount)

(no description)

clip (clip)

(no description)

mean (mean)

(no description)

salt vs pepper (salt vs pepper)

(no description)

seed (seed)

(no description)

variance (variance)

(no description)

Implementation

class node_noise.ImageNoise[source]