RandomJ: Poisson


General Description

This plugin enables you to contaminate images with random numbers generated using a Poisson random variable.

Poisson Dialog

Description of Dialog Components

Mean. The parameter of the probability mass function of the Poisson random variable:

Poisson PMF

with "alpha" being the mean, which must be non-negative.

Insertion. The random numbers can be inserted into the image either additively, multiplicatively, or modulatory. The first two are self-explanatory. Modulatory insertion means that each image element (pixel, voxel) is assigned a Poisson random number generated with the original value being the mean of the process, that is "alpha" in the above formula. The value in the Mean field of the dialog is ignored in that case.


Implementation Details

The generator is based on the algorithm given by Press et al. [1] and uses the Uniform plugin as a source of uniform random numbers. Since the uniform number generator is initialized with a seed derived from the system's current time in milliseconds, the sequence of random numbers will be different for each application of this plugin.


References

[1] W. H. Press, S. A. Teukolsky, W. T. Vetterling, B. P. Flannery. Numerical Recipes in C: The Art of Scientific Computing. 2nd ed., Cambridge University Press, Cambridge, 1992.
[2]A. Leon-Garcia. Probability and Random Processes for Electrical Engineering. Addison-Wesley Publishing Company, Reading, MA, 1989.
Copyright © 1996 - 2010 Erik Meijering