RandomJ: Binomial
General Description
This plugin enables one to contaminate images with random numbers generated using a binomial random variable.
Dialog Description
Trials and Probability. The parameters of the probability mass function of the binomial random variable:

with n being the number of trials and p the probability of success per trial. The former must be a non-negative integer and latter a real number in [0,1].
Insertion. The random numbers can be inserted into the image either additively or multiplicatively.
Implementation Details
The generator is based on [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 run of this plugin, provided there is a time interval of at least one millisecond between the runs.
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. |