Skip to content

Class drift::WaveletBufferView

ClassList > drift > WaveletBufferView

More...

  • #include <wavelet_buffer_view.h>

Public Types

Type Name
typedef blaze::Subvector< NWaveletDecomposition > NWaveletDecompositionView

Public Functions

Type Name
bool Compose (SignalN2D * data, int scale_factor=0) const
bool Decompose (const SignalN2D & data, const DenoiseAlgorithm< DataType > & denoiser)
NWaveletDecompositionView decompositions () const
operator WaveletBuffer () const
~WaveletBufferView ()

Detailed Description

View of wavelet buffer to compose and decompose a part of the signal in the decomposition

Public Types Documentation

typedef NWaveletDecompositionView

using drift::WaveletBufferView::NWaveletDecompositionView =  blaze::Subvector<NWaveletDecomposition>;

Public Functions Documentation

function Compose

bool drift::WaveletBufferView::Compose (
    SignalN2D * data,
    int scale_factor=0
) const

Composes the internal subbands into a signal

Parameters:

  • data the signal
  • scale_factor wavelet scale factor 0 - all the steps of the decomposition recomposed and the output has size of the original signal. If factor N - all the step - N are recomposed and output has size 2^N smaller

Returns:

true if it has no errors

function Decompose

bool drift::WaveletBufferView::Decompose (
    const SignalN2D & data,
    const DenoiseAlgorithm < DataType > & denoiser
) 

Decomposes the signal into the subbands and saves it internally

Parameters:

  • data the signal

Returns:

true if it has no errors

function decompositions

NWaveletDecompositionView drift::WaveletBufferView::decompositions () const

function operator WaveletBuffer

drift::WaveletBufferView::operator WaveletBuffer () const

Cast to a new wavelet buffer

Returns:

function ~WaveletBufferView

drift::WaveletBufferView::~WaveletBufferView () 

The documentation for this class was generated from the following file wavelet_buffer/wavelet_buffer_view.h