Created by the British Broadcasting Corporation.
#include <wavelet_utils.h>
dirac::WaveletTransform::WaveletTransform | ( | int | d = 4 , |
|
WltFilter | f = DAUB9_7 | |||
) |
virtual dirac::WaveletTransform::~WaveletTransform | ( | ) | [virtual] |
dirac::WaveletTransform::WaveletTransform | ( | const WaveletTransform & | cpy | ) | [private] |
void dirac::WaveletTransform::Transform | ( | const Direction | d, | |
PicArray & | pic_data, | |||
CoeffArray & | coeff_data | |||
) |
Transforms the data to and from the wavelet domain.
d | the direction of the transform | |
pic_data | the data to be transformed | |
coeff_data | array that holds the transform coefficient data |
SubbandList& dirac::WaveletTransform::BandList | ( | ) | [inline] |
References m_band_list.
const SubbandList& dirac::WaveletTransform::BandList | ( | ) | const [inline] |
References m_band_list.
void dirac::WaveletTransform::SetBandWeights | ( | const float | cpd, | |
const FrameSort & | fsort, | |||
const ChromaFormat & | cformat, | |||
const CompSort | csort, | |||
const bool | field_coding | |||
) |
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.
cpd | perctual factor - the number of cycles per degree | |
fsort | the frame sort (I, L1 or L2) | |
cformat | the chroma format | |
csort | the component type (Y, U or V) | |
field_coding | True if input is coded as fields |
WaveletTransform& dirac::WaveletTransform::operator= | ( | const WaveletTransform & | rhs | ) | [private] |
float dirac::WaveletTransform::PerceptualWeight | ( | float | xf, | |
float | yf, | |||
CompSort | cs | |||
) | [private] |
Referenced by BandList().
int dirac::WaveletTransform::m_depth [private] |
VHFilter* dirac::WaveletTransform::m_vhfilter [private] |
© 2004 British Broadcasting Corporation.
Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's
excellent Doxygen tool.