AdditiveGaussian#

from pssr.crappifiers import AdditiveGaussian
pssr.crappifiers.AdditiveGaussian.__init__(self, intensity: float = 13, gain: float = 0, spread: float = 0)#

Crappifier using additive Gaussian noise sampling (normally distributed noise). Adds additive Gaussian noise to a low resolution image.

Approximates Poisson noise at high samples.

Parameters:
  • intensity (float) – Standard deviation of Gaussian distribution. Higher values will introduce more noise to the image. Default is 13.

  • gain (float) – Mean of Gaussian distribution. Higher or lower values will raise the mean image value higher or lower respectively. Default is 0.

  • spread (float) – Standard deviation of crappifier intensity for training on a range of crappifications. Default is 0.