VAPoR  0.1
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
VAPoR::WaveFiltBase Class Reference

A base class for wavelet family filters. More...

#include <WaveFiltBase.h>

Inheritance diagram for VAPoR::WaveFiltBase:
VAPoR::WaveFiltBior VAPoR::WaveFiltCoif VAPoR::WaveFiltDaub VAPoR::WaveFiltHaar

Public Member Functions

 WaveFiltBase ()
 
virtual ~WaveFiltBase ()
 
int GetLength () const
 
const double * GetLowDecomFilCoef () const
 Return scaling (low pass) decompostion filter coefficients. More...
 
const double * GetLowReconFilCoef () const
 Return scaling (low pass) reconstruction filter coefficients. More...
 
const double * GetHighDecomFilCoef () const
 Return wavelet (high pass) decompostion filter coefficients. More...
 
const double * GetHighReconFilCoef () const
 Return wavelet (high pass) decompostion filter coefficients. More...
 
virtual bool issymmetric () const
 

Protected Member Functions

void wrev (const double *sigIn, double *sigOut, int sigLength) const
 
void qmf_even (const double *sigIn, double *sigOut, int sigLength) const
 
void qmf_wrev (const double *sigIn, double *sigOut, int sigLength) const
 
void verbatim_copy (const double *sigIn, double *sigOut, int sigLength) const
 

Protected Attributes

int _filterLength
 
double * _lowDecomFilCoef
 
double * _lowReconFilCoef
 
double * _hiDecomFilCoef
 
double * _hiReconFilCoef
 

Static Protected Attributes

static const int MAX_FILTER_SIZE = 32
 

Detailed Description

A base class for wavelet family filters.

Author
John Clyne
Version
$Revision$
Date
$Date$

The WaveFiltBase class is a base class for building classes of wavelet families that can be implemented as FIR filters. A wavelet family class contains scaling and wavelet coefficients that define a particular wavelet. All filters are normalized.

Definition at line 21 of file WaveFiltBase.h.

Constructor & Destructor Documentation

VAPoR::WaveFiltBase::WaveFiltBase ( )
virtual VAPoR::WaveFiltBase::~WaveFiltBase ( )
virtual

Member Function Documentation

const double* VAPoR::WaveFiltBase::GetHighDecomFilCoef ( ) const
inline

Return wavelet (high pass) decompostion filter coefficients.

Definition at line 47 of file WaveFiltBase.h.

References _hiDecomFilCoef.

const double* VAPoR::WaveFiltBase::GetHighReconFilCoef ( ) const
inline

Return wavelet (high pass) decompostion filter coefficients.

Definition at line 50 of file WaveFiltBase.h.

References _hiReconFilCoef.

int VAPoR::WaveFiltBase::GetLength ( ) const
inline

Return the number of coefficients in both the scaling and wavelet FIR filter.

This method returns the number of elements in the arrays returned by the classes filter retrieval methods

Return values
filterlength
See also
GetLowDecomFilCoef(), GetLowReconFilCoef(), GetHighDecomFilCoef() GetHighReconFilCoef()

Definition at line 38 of file WaveFiltBase.h.

References _filterLength.

const double* VAPoR::WaveFiltBase::GetLowDecomFilCoef ( ) const
inline

Return scaling (low pass) decompostion filter coefficients.

Definition at line 41 of file WaveFiltBase.h.

References _lowDecomFilCoef.

const double* VAPoR::WaveFiltBase::GetLowReconFilCoef ( ) const
inline

Return scaling (low pass) reconstruction filter coefficients.

Definition at line 44 of file WaveFiltBase.h.

References _lowReconFilCoef.

virtual bool VAPoR::WaveFiltBase::issymmetric ( ) const
inlinevirtual

Returns true if the wavelet is symmetric (or antisymmetric)

Reimplemented in VAPoR::WaveFiltBior.

Definition at line 54 of file WaveFiltBase.h.

void VAPoR::WaveFiltBase::qmf_even ( const double *  sigIn,
double *  sigOut,
int  sigLength 
) const
protected
void VAPoR::WaveFiltBase::qmf_wrev ( const double *  sigIn,
double *  sigOut,
int  sigLength 
) const
protected
void VAPoR::WaveFiltBase::verbatim_copy ( const double *  sigIn,
double *  sigOut,
int  sigLength 
) const
protected
void VAPoR::WaveFiltBase::wrev ( const double *  sigIn,
double *  sigOut,
int  sigLength 
) const
protected

Member Data Documentation

int VAPoR::WaveFiltBase::_filterLength
protected

Definition at line 58 of file WaveFiltBase.h.

Referenced by GetLength().

double* VAPoR::WaveFiltBase::_hiDecomFilCoef
protected

Definition at line 61 of file WaveFiltBase.h.

Referenced by GetHighDecomFilCoef().

double* VAPoR::WaveFiltBase::_hiReconFilCoef
protected

Definition at line 62 of file WaveFiltBase.h.

Referenced by GetHighReconFilCoef().

double* VAPoR::WaveFiltBase::_lowDecomFilCoef
protected

Definition at line 59 of file WaveFiltBase.h.

Referenced by GetLowDecomFilCoef().

double* VAPoR::WaveFiltBase::_lowReconFilCoef
protected

Definition at line 60 of file WaveFiltBase.h.

Referenced by GetLowReconFilCoef().

const int VAPoR::WaveFiltBase::MAX_FILTER_SIZE = 32
staticprotected

Definition at line 57 of file WaveFiltBase.h.


The documentation for this class was generated from the following file: