Mercurial > hg > wm
diff Meerwald/frid2_common.h @ 0:be303a3f5ea8
import
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Sun, 12 Aug 2007 13:14:34 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Meerwald/frid2_common.h Sun Aug 12 13:14:34 2007 +0200 @@ -0,0 +1,12 @@ +#ifndef FRID2_COMMON_H +#define FRID2_COMMON_H + +#define FORWARD_STEP(A) ((1.0 + A) / (1.0 - A)) +#define BACKWARD_STEP(A) ((1.0 - A) / (1.0 + A)) + +void embed_low_freq(double **dcts, int cols, int rows, double alpha, int verbose); +void embed_med_freq(double **dcts, int cols, int rows, double gamma, int seed, int verbose); +double detect_low_freq(double **dcts, int cols, int rows, double alpha, double beta, int verbose); +double detect_med_freq(double **dcts, int cols, int rows, int seed, int verbose); + +#endif