panwave
|
#include <WaveletPacketTreeBase.h>
Classes | |
struct | WaveletPacketTreeNodeData |
Public Member Functions | |
WaveletPacketTreeBase (const WaveletPacketTreeBase &)=delete | |
WaveletPacketTreeBase (const WaveletPacketTreeBase &&)=delete | |
WaveletPacketTreeBase & | operator= (const WaveletPacketTreeBase &)=delete |
WaveletPacketTreeBase & | operator= (const WaveletPacketTreeBase &&)=delete |
virtual void | Decompose ()=0 |
virtual void | Reconstruct (size_t level)=0 |
virtual void | SetRootSignal (const std::vector< double > *signal)=0 |
virtual const std::vector< double > * | GetRootSignal ()=0 |
virtual size_t | GetWaveletLevelCount () const =0 |
Base class for all wavelet packet tree specialization types.
This abstract class is an interface to hold methods common to various wavelet packet trees.
|
pure virtual |
Perform a wavelet packet tree decomposition.
Starting with the root node, decomposes recursively every node in the tree stopping at the leaf nodes.
This is not a sparse decomposition, all nodes will have decomposed signal data after executing.
Implemented in panwave::StationaryWaveletPacketTree, and panwave::WaveletPacketTree.
|
pure virtual |
Get a read-only view of the root node signal data.
Implemented in panwave::WaveletPacketTreeTemplateBase< k >, panwave::WaveletPacketTreeTemplateBase< 2 >, and panwave::WaveletPacketTreeTemplateBase< 4 >.
|
pure virtual |
Get the number of wavelet levels this tree is capable of isolating and reconstructing.
Implemented in panwave::WaveletPacketTreeTemplateBase< k >.
|
pure virtual |
Reconstruct an isolated wavelet level.
Beginning at the leaf nodes, recursively reconstruct up all levels of the tree stopping at the root node.
Upon completion, the root signal will contain the reconstructed signal.
level | The wavelet level we should isolate and reconstruct. |
Implemented in panwave::StationaryWaveletPacketTree, and panwave::WaveletPacketTree.
|
pure virtual |
Set the root node signal.
This signal data is used during decomposition to construct all signal values in the tree.
signal | Values from signal are copied into the root node. |
Implemented in panwave::WaveletPacketTreeTemplateBase< k >, panwave::WaveletPacketTreeTemplateBase< 2 >, and panwave::WaveletPacketTreeTemplateBase< 4 >.