#include <wavelet_utils.h>
Public Member Functions | |
WaveletTransform (int d=4, WltFilter f=DAUB) | |
Constructor. | |
virtual | ~WaveletTransform () |
Destructor. | |
void | Transform (const Direction d, PicArray &pic_data) |
Transforms the data to and from the wavelet domain. | |
SubbandList & | BandList () |
Returns the set of subbands. | |
const SubbandList & | BandList () const |
Returns the set of subbands. | |
void | SetBandWeights (const float cpd, const FrameSort &fsort, const ChromaFormat &cformat, const CompSort csort) |
Sets the subband weights. |
A class to do forward and backward wavelet transforms by iteratively splitting or merging the lowest frequency band.
Definition at line 263 of file wavelet_utils.h.
|
Sets the subband weights. Sets perceptual weights for the subbands. Takes into account both perceptual factors (weight noise less at higher spatial frequencies) and the scaling needed for the wavelet transform.
Definition at line 493 of file wavelet_utils.cpp. Referenced by dirac::CompCompressor::Compress(). |
|
Transforms the data to and from the wavelet domain. Transforms the data to and from the wavelet domain.
Definition at line 158 of file wavelet_utils.cpp. References dirac::SubbandList::Clear(), dirac::SubbandList::Init(), dirac::TwoDArray< T >::LengthX(), and dirac::TwoDArray< T >::LengthY(). Referenced by dirac::CompCompressor::Compress(). |