Mercurial > hg > x
view wavelet.h @ 1:6422640a802f
first upload
author | Wen X <xue.wen@elec.qmul.ac.uk> |
---|---|
date | Tue, 05 Oct 2010 10:45:57 +0100 |
parents | |
children | 5f3c32dc6e17 |
line wrap: on
line source
#ifndef waveletH #define waveletH /* wavelet.cpp - wavelet routines */ //--wavelet filter routines-------------------------------------------------- void Daubechies(int p, double* h); //computes Daubechies filter void splinewl(int p1, int p2, double* h1, double* h2); //compute spline biorthogonal wavelet filter int splinewl(int p1, int p2, double* h, double* hm, double* g, double* gm, int normmode=0, int* points=0);//compute spline biorthogonal wavelet filter //--periodic DWT and IDWT---------------------------------------------------- int dwtpqmf(double* in, int Count, int N, double* h, double* g, int M, double* out); int dwtp(double* in, int Count, int N, double* h, double* g, int M, double* out); int dwtp(double* in, int Count, int N, double* h, int Mh, double* g, int Mg, double* out); int dwtp(double* in, int Count, int N, double* h, int sh, int eh, double* g, int sg, int eg, double* out); void idwtp(double* in, int Count, int N, double* h, double* g, int M, double* out); void idwtp(double* in, int Count, int N, double* h, int Mh, double* g, int Mg, double* out); void idwtp(double* in, int Count, int N, double* h, int sh, int eh, double* g, int sg, int eg, double* out); //--pseudo local cosine with wavelet packet---------------------------------- void wavpacqmf(double*** spec, double* data, int Count, int WID, int wid, int M, double* h, double* g); void wavpac(double*** spec, double* data, int Count, int WID, int wid, double* h, int hs, int he, double* g, int gs, int ge); void iwavpacqmf(double* data, double** spec, int Fr, int Wid, int M, double* h, double* g); void iwavpac(double* data, double** spec, int Fr, int Wid, double* h, int hs, int he, double* g, int gs, int ge); #endif