VAPoR
0.1
|
Wrapper for Wim Swelden's Liftpack wavelet transform interface. More...
#include <Lifting1D.h>
Public Member Functions | |
Lifting1D (unsigned int n, unsigned int ntilde, unsigned int width, int normalize=0) | |
~Lifting1D () | |
void | ForwardTransform (Data_T *data, int stride=1) |
void | InverseTransform (Data_T *data, int stride=1) |
Public Member Functions inherited from VetsUtil::MyBase | |
MyBase () | |
const string & | getClassName () const |
Static Public Attributes | |
static const int | MAX_FILTER_COEFF = 32 |
maximum number of filter coefficients More... | |
Static Public Attributes inherited from VetsUtil::MyBase | |
static char * | ErrMsg |
static int | ErrCode |
static int | ErrMsgSize |
static FILE * | ErrMsgFilePtr |
static ErrMsgCB_T | ErrMsgCB |
static char * | DiagMsg |
static int | DiagMsgSize |
static FILE * | DiagMsgFilePtr |
static DiagMsgCB_T | DiagMsgCB |
static bool | Enabled |
Additional Inherited Members | |
Public Types inherited from VetsUtil::MyBase | |
typedef void(* | ErrMsgCB_T) (const char *msg, int err_code) |
typedef void(* | DiagMsgCB_T) (const char *msg) |
Static Public Member Functions inherited from VetsUtil::MyBase | |
static void | SetErrMsg (const char *format,...) |
Record a formatted error message. More... | |
static void | SetErrMsg (int errcode, const char *format,...) |
Record a formatted error message and an error code. More... | |
static const char * | GetErrMsg () |
static void | SetErrCode (int err_code) |
Record an error code. More... | |
static int | GetErrCode () |
Retrieve the current error code. More... | |
static void | SetErrMsgCB (ErrMsgCB_T cb) |
static ErrMsgCB_T | GetErrMsgCB () |
static void | SetErrMsgFilePtr (FILE *fp) |
static const FILE * | SetErrMsgFilePtr () |
static void | SetDiagMsg (const char *format,...) |
Record a formatted diagnostic message. More... | |
static const char * | GetDiagMsg () |
static void | SetDiagMsgCB (DiagMsgCB_T cb) |
static DiagMsgCB_T | GetDiagMsgCB () |
static void | SetDiagMsgFilePtr (FILE *fp) |
static bool | EnableErrMsg (bool enable) |
Protected Member Functions inherited from VetsUtil::MyBase | |
void | SetClassName (const string &name) |
Wrapper for Wim Swelden's Liftpack wavelet transform interface.
This class provides an interface to the Liftpack wavelet transformation library.
Definition at line 26 of file Lifting1D.h.
Lifting1D::Lifting1D | ( | unsigned int | n, |
unsigned int | ntilde, | ||
unsigned int | width, | ||
int | normalize = 0 |
||
) |
[in] | n | Number of wavelet filter coefficients. Valid values are from 1 to Lifting1D::MAX_FILTER_COEFF |
[in] | ntilde | Number of wavelet lifting coefficients. Valid values are from 1 to Lifting1D::MAX_FILTER_COEFF |
[in] | width | Number of samples to be transformed |
Definition at line 169 of file Lifting1D.h.
References VetsUtil::IsOdd(), VetsUtil::LogBaseN(), and MAX.
Lifting1D::~Lifting1D | ( | ) |
Definition at line 286 of file Lifting1D.h.
void Lifting1D::ForwardTransform | ( | Data_T * | data, |
int | stride = 1 |
||
) |
Apply forward lifting transform
Apply forward lifting transform to width
samples from data
. The transform is performed in place.
[in,out] | data | Data to transform |
Definition at line 315 of file Lifting1D.h.
void Lifting1D::InverseTransform | ( | Data_T * | data, |
int | stride = 1 |
||
) |
Apply inverse lifting transform
Apply inverse lifting transform to width
samples from data
. The transform is performed in place.
[in,out] | data | Data to transform |
Definition at line 342 of file Lifting1D.h.
|
static |
maximum number of filter coefficients
Definition at line 31 of file Lifting1D.h.