Path: Imaging/Utilities
% Smear the pixels with poisson noise. Smear a pixelmap with Poisson shot noise. Shot noise operates on the number of electrons. It is a type of noise that can be modeled as a Poisson process. If b is not entered it will use 5% of the max pixel count. The default scaling is for an 8 bit discretization. The conversion to counts, excluding noise, is f*p + b. To convert counts back to the original intensity, (p - b)/f. -------------------------------------------------------------------------- Form: p = PoissonNoise( pixels, f, b) -------------------------------------------------------------------------- ------ Inputs ------ pixels (m,n) Pixelmap f (1,1) Convert from pixelmap units to counts. b (1,1) Flat background, in counts, to apply before shot noise ------- Outputs ------- p (m,n) Pixels as counts with noise f (1,1) Pixelmap conversion used. b (1,1) Flat background used. --------------------------------------------------------------------------
Back to the Imaging Module page