comparison 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
comparison
equal deleted inserted replaced
23:71dd4b96221b 24:9f20bce6184e
1 #ifndef DWT_H
2 #define DWT_H
3
4 #include "wm.h"
5 #include "netpbm/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 param_len[]);
22 void done_dwt();
23
24 #endif

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.