Mercurial > hg > wm
diff Meerwald/wm_wang_d.c @ 3:acb6967ee76d
update to 0.5
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Tue, 14 Aug 2007 21:11:21 +0200 |
parents | be303a3f5ea8 |
children | f83ef905a63d |
line wrap: on
line diff
--- a/Meerwald/wm_wang_d.c Tue Aug 14 19:59:48 2007 +0200 +++ b/Meerwald/wm_wang_d.c Tue Aug 14 21:11:21 2007 +0200 @@ -44,7 +44,7 @@ int filter = 0; char filter_name[MAXPATHLEN] = ""; - int level, levels; + int level = 0; double alpha = 0.0; double beta = 0.0; @@ -225,14 +225,14 @@ fclose(orig); // complete decomposition - levels = find_deepest_level(cols, rows) - 1; + level = find_deepest_level(cols, rows) - 1; - init_dwt(cols, rows, filter_name, filter, levels, method); + init_dwt(cols, rows, filter_name, filter, level, method); #ifdef POLLEN_STUFF -#include "pollen_stuff.xxx" +#include "pollen_stuff.c" #endif #ifdef PARAM_STUFF -#include "param_stuff.xxx" +#include "param_stuff.c" #endif input_dwts = fdwt(input_image);