annotate Meerwald/dwt.h @ 23:71dd4b96221b

fix some compiler warning
author Peter Meerwald-Stadler <pmeerw@pmeerw.net>
date Fri, 20 Dec 2024 12:53:41 +0100
parents acb6967ee76d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
1 #ifndef DWT_H
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
2 #define DWT_H
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
3
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
4 #include "wm.h"
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
5 #include "pgm.h"
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
6 #include "wavelet.h"
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
7
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
8 #define FILTERG 1
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
9 #define FILTERH 2
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
10 #define FILTERGi 3
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
11 #define FILTERHi 4
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
12
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
13 void init_dwt(int cols, int rows, const char *filter_name, int filter, int level, int method);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
14 Image_tree fdwt(gray **input);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
15 Image_tree fdwt_wp(gray **input);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
16 void idwt(Image_tree dwts, gray **output);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
17 void idwt_wp(Image_tree dwts, gray **output);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
18 int gen_pollen_filter(double *filter, double alpha, double beta, int which);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
19 void dwt_pollen_filter(double alpha, double beta);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
20 int gen_param_filter(double *filter, int n, double alpha[], int which);
3
acb6967ee76d update to 0.5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents: 0
diff changeset
21 void dwt_param_filter(double alpha[], int param_len[]);
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
22 void done_dwt();
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
23
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
24 #endif

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