0
|
1 #ifndef DWT_H
|
|
2 #define DWT_H
|
|
3
|
|
4 #include "wm.h"
|
|
5 #include "pgm.h"
|
|
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);
|
|
21 void dwt_param_filter(double alpha[], int n);
|
|
22 void done_dwt();
|
|
23
|
|
24 #endif
|