Namespace drift::wavelet¶
Namespace List > drift > wavelet
Public Types¶
Type | Name |
---|---|
enum | Padding |
typedef blaze::CompressedMatrix< DataType > | Signal2DCompressed |
Public Functions¶
Type | Name |
---|---|
blaze::CompressedMatrix< DataType > | DaubechiesMat (size_t size, int order=4, Padding padding=Padding::Periodized) |
std::tuple< Signal1D, Signal1D, Signal1D, Signal1D > | Orthfilt (Signal1D const & W_in) |
Signal1D | dbwavf (const int wnum) |
std::tuple< blaze::DynamicVector< DataType >, blaze::DynamicVector< DataType > > | dwt (const blaze::DynamicVector< DataType > & signal, const blaze::CompressedMatrix< DataType > & dmat) |
std::tuple< Signal2D, Signal2D, Signal2D, Signal2D > | dwt2 (Signal2D const & x, Signal2DCompressed const & dmat_w, Signal2DCompressed const & dmat_h) |
Signal2D | dwt2s (Signal2D const & x, Signal2DCompressed const & dmat_w, Signal2DCompressed const & dmat_h) |
blaze::DynamicVector< DataType > | idwt (const blaze::DynamicVector< DataType > & low_subband, const blaze::DynamicVector< DataType > & high_subband, const blaze::CompressedMatrix< DataType > & dmat) |
Signal2D | idwt2 (const Signal2D & ll, const Signal2D & lh, const Signal2D & hl, const Signal2D & hh, const Signal2DCompressed & dmat_w, const Signal2DCompressed & dmat_h) |
Public Types Documentation¶
enum Padding¶
enum drift::wavelet::Padding {
ZeroDerivative,
Periodized
};
Padding type
typedef Signal2DCompressed¶
using drift::wavelet::Signal2DCompressed = typedef blaze::CompressedMatrix<DataType>;
Public Functions Documentation¶
function DaubechiesMat¶
blaze::CompressedMatrix< DataType > drift::wavelet::DaubechiesMat (
size_t size,
int order=4,
Padding padding=Padding::Periodized
)
Construct convolutional matrix for wavelet transform
Parameters:
size
order
padding
padding type
Returns:
function Orthfilt¶
std::tuple< Signal1D, Signal1D, Signal1D, Signal1D > drift::wavelet::Orthfilt (
Signal1D const & W_in
)
Computes the four lowpass and highpass, decomposition and reconstruction filters associated with the scaling filter W corresponding to a wavelet
Parameters:
W_in
Scaling filter corresponding to a wavelet
Returns:
Decomposition: lowpass, highpass; Reconstruction: lowpass, highpass
function dbwavf¶
Signal1D drift::wavelet::dbwavf (
const int wnum
)
Construct the scaling filter associated with the Daubechies wavelet
Parameters:
wnum
Daubechies wavelet vanishing moments, positive integer in the closed interval [1, 10]
Returns:
Scaling filter values
function dwt¶
std::tuple< blaze::DynamicVector< DataType >, blaze::DynamicVector< DataType > > drift::wavelet::dwt (
const blaze::DynamicVector< DataType > & signal,
const blaze::CompressedMatrix< DataType > & dmat
)
Wavelet decomposition using Daubechies matrix
Parameters:
signal
dmat
convolutional matrix / 2 row with Lo_D, Hi_D filters
Returns:
function dwt2¶
std::tuple< Signal2D, Signal2D, Signal2D, Signal2D > drift::wavelet::dwt2 (
Signal2D const & x,
Signal2DCompressed const & dmat_w,
Signal2DCompressed const & dmat_h
)
function dwt2s¶
Signal2D drift::wavelet::dwt2s (
Signal2D const & x,
Signal2DCompressed const & dmat_w,
Signal2DCompressed const & dmat_h
)
function idwt¶
blaze::DynamicVector< DataType > drift::wavelet::idwt (
const blaze::DynamicVector< DataType > & low_subband,
const blaze::DynamicVector< DataType > & high_subband,
const blaze::CompressedMatrix< DataType > & dmat
)
Wavelet composition using Daubechies matrix
Parameters:
low_subband
high_subband
dmat
convolutional matrix / 2 row with Lo_R, Hi_R filters
Returns:
function idwt2¶
Signal2D drift::wavelet::idwt2 (
const Signal2D & ll,
const Signal2D & lh,
const Signal2D & hl,
const Signal2D & hh,
const Signal2DCompressed & dmat_w,
const Signal2DCompressed & dmat_h
)
The documentation for this class was generated from the following file wavelet_buffer/wavelet.h