Mercurial > hg > wm
diff Meerwald/wm_wang_e.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_e.c Tue Aug 14 19:59:48 2007 +0200 +++ b/Meerwald/wm_wang_e.c Tue Aug 14 21:11:21 2007 +0200 @@ -40,7 +40,7 @@ int filter = 0; int method = -1; - int levels; + int level = 0; char filter_name[MAXPATHLEN] = ""; int verbose = 0; @@ -185,15 +185,15 @@ fclose(in); // complete decomposition - levels = find_deepest_level(cols, rows) - 1; + level = find_deepest_level(cols, rows) - 1; // wavelet transform - 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 dwts = fdwt(image);