VAPOR3 3.9.4
WaveFiltInt.h
Go to the documentation of this file.
1#include <string>
2#include "WaveFiltBase.h"
3
4using namespace std;
5
6#ifndef _WaveFiltInt
7 #define _WaveFiltInt
8
9namespace VAPoR {
10
11//
21public:
27 WaveFiltInt(const string &wavename);
28 virtual ~WaveFiltInt();
29
32 virtual bool issymmetric() const { return (true); };
33
37 virtual bool isint() const { return (true); };
38
39 virtual bool IsNormalized() const { return (false); };
40
41 void Analysis(const long *sigIn, size_t sigInLen, long *cA, long *cD, bool oddlow, bool oddhigh) const;
42
43 void Synthesis(const long *cA, const long *cD, size_t sigInLen, long *sigOut) const;
44
45private:
46 string _wavename;
47
48 void _analysis_initialize();
49 void _synthesis_initialize();
50
51 void _AnalysisCDF5_3(const long *sigIn, size_t sigInLen, long *cA, long *cD) const;
52
53 void _SynthesisCDF5_3(const long *cA, const long *cD, size_t sigInLen, long *sigOut) const;
54};
55
56} // namespace VAPoR
57
58#endif
A base class for wavelet family filters.
Definition: WaveFiltBase.h:21
Integer Biorthogonal spline family FIR filters.
Definition: WaveFiltInt.h:20
virtual bool issymmetric() const
Definition: WaveFiltInt.h:32
virtual bool IsNormalized() const
Definition: WaveFiltInt.h:39
void Synthesis(const long *cA, const long *cD, size_t sigInLen, long *sigOut) const
virtual bool isint() const
Definition: WaveFiltInt.h:37
void Analysis(const long *sigIn, size_t sigInLen, long *cA, long *cD, bool oddlow, bool oddhigh) const
WaveFiltInt(const string &wavename)
virtual ~WaveFiltInt()
#define WASP_API
Definition: common.h:74