Mercurial > hg > wm
annotate Meerwald-dir/dwt.h @ 24:9f20bce6184e v0.7
move directories, support netpbm 11
author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> |
---|---|
date | Fri, 20 Dec 2024 13:08:59 +0100 |
parents | Meerwald/dwt.h@acb6967ee76d |
children |
rev | line source |
---|---|
0 | 1 #ifndef DWT_H |
2 #define DWT_H | |
3 | |
4 #include "wm.h" | |
24
9f20bce6184e
move directories, support netpbm 11
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents:
3
diff
changeset
|
5 #include "netpbm/pgm.h" |
0 | 6 #include "wavelet.h" |
7 | |
8 #define FILTERG 1 | |
9 #define FILTERH 2 | |
10 #define FILTERGi 3 | |
11 #define FILTERHi 4 | |
12 | |
13 void init_dwt(int cols, int rows, const char *filter_name, int filter, int level, int method); | |
14 Image_tree fdwt(gray **input); | |
15 Image_tree fdwt_wp(gray **input); | |
16 void idwt(Image_tree dwts, gray **output); | |
17 void idwt_wp(Image_tree dwts, gray **output); | |
18 int gen_pollen_filter(double *filter, double alpha, double beta, int which); | |
19 void dwt_pollen_filter(double alpha, double beta); | |
20 int gen_param_filter(double *filter, int n, double alpha[], int which); | |
3 | 21 void dwt_param_filter(double alpha[], int param_len[]); |
0 | 22 void done_dwt(); |
23 | |
24 #endif |