diff options
author | Thomas White <taw@physics.org> | 2009-11-25 18:11:33 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2009-11-25 18:11:33 +0100 |
commit | 0a3ed7206e2bc009ba86a8072530a3f18196cf8f (patch) | |
tree | 6262d3e7c5ea609d9d6565638434f3e29591cc2f /src/utils.h | |
parent | 2f3f6011e2b90a54909d5f20412c179a0cb6b37e (diff) |
Add Poisson noise to image
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index 9e6458cf..54cfdcfb 100644 --- a/src/utils.h +++ b/src/utils.h @@ -55,6 +55,7 @@ extern double angle_between(double x1, double y1, double z1, extern size_t skipspace(const char *s); extern void chomp(char *s); extern void progress_bar(int val, int total); +extern double poisson_noise(double expected); /* Keep these ones inline, to avoid function call overhead */ static inline double distance(double x1, double y1, double x2, double y2) |