milk
1.01
Modular Image processing Library toolKit
|
Function prototypes for statistic module. More...
Go to the source code of this file.
Functions | |
void | __attribute__ ((constructor)) libinit_statistic() |
double | ran1 () |
Uniform distribution from 0 to 1. | |
double | gauss () |
Normal distribution, mean=0, sigma=1. | |
double | gauss_trc () |
truncated (-1/+1) sigma = 1 mean = 0 gaussian probability | |
long | poisson (double mu) |
Poisson distribution. More... | |
double | gammaln (double xx) |
Gamma function. | |
double | better_poisson (double mu) |
double | fast_poisson (double mu) |
long | put_poisson_noise (const char *ID_in_name, const char *ID_out_name) |
Apply Poisson noise to image. | |
long | put_gauss_noise (const char *ID_in_name, const char *ID_out_name, double ampl) |
Apply Gaussian noise to image. | |
Function prototypes for statistic module.
Functions provide statistical tools
long poisson | ( | double | mu | ) |
Poisson distribution.
mu | Distribution mean |