nanopyx.core.generate.noise_add_mixed_noise

def add_mixed_gaussian_poisson_noise(image, gauss_sigma, gauss_mean):

Add mixed Gaussian-Poisson noise to an image, pure cython version

Parameters
  • image: The image to add noise to, need to be 2D or 3D
  • gauss_sigma: The standard deviation of the Gaussian noise
  • gauss_mean: The mean of the Gaussian noise
def add_mixed_gaussian_poisson_noise2(image, gauss_sigma, gauss_mean):

Add mixed Gaussian-Poisson noise to an image, pure numpy version

Parameters
  • image: The image to add noise to
  • gauss_sigma: The standard deviation of the Gaussian noise
  • gauss_mean: The mean of the Gaussian noise