annotate Meerwald/dwt.h @ 0:be303a3f5ea8

import
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Sun, 12 Aug 2007 13:14:34 +0200
parents
children acb6967ee76d
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);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
21 void dwt_param_filter(double alpha[], int n);
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.