Poisson#
from pssr.crappifiers import Poisson
- pssr.crappifiers.Poisson.__init__(self, intensity: float = 1, gain: float = 0, spread: float = 0)#
Crappifier using Poisson noise sampling (shot noise). Adds Poisson noise to a low resolution image.
- Parameters:
intensity (float) – Interpolated mix of generated Poisson image. 1 is standard distribution, 0 is none, larger values amplify noise. Default is 1.
gain (float) – Value gain added to the output. Default is 0.
spread (float) – Standard deviation of crappifier intensity for training on a range of crappifications. Default is 0.