A class for wavelet coefficient data.
More...
#include <wavelet_utils.h>
|
| CoeffArray () |
| Default constructor.
|
| CoeffArray (int height, int width, CompSort cs=Y_COMP) |
| Constructor.
|
| ~CoeffArray () |
| Destructor.
|
const CompSort & | CSort () const |
| Return which component is stored.
|
void | SetCSort (const CompSort cs) |
| Set the type of component being stored.
|
SubbandList & | BandList () |
| Returns the set of subbands.
|
const SubbandList & | BandList () const |
| Returns the set of subbands.
|
void | SetBandWeights (const EncoderParams &encparams, const PictureParams &pparams, const CompSort csort, const float cpd_scale_factor) |
| Sets the subband weights.
|
| TwoDArray () |
| Default constructor.
|
| TwoDArray (const int height, const int width) |
| Constructor.
|
| TwoDArray (const int height, const int width, CoeffType val) |
| Constructor.
|
| TwoDArray (const TwoDArray< CoeffType > &Cpy) |
| Copy constructor.
|
virtual | ~TwoDArray () |
| Destructor.
|
TwoDArray< CoeffType > & | operator= (const TwoDArray< CoeffType > &rhs) |
| Assignment =.
|
bool | CopyContents (TwoDArray< CoeffType > &out) const |
| Copy Contents.
|
void | Fill (CoeffType val) |
| Fill contents.
|
void | Resize (const int height, const int width) |
| Resizes the array, deleting the current data.
|
element_type & | operator[] (const int pos) |
| Element access.
|
const element_type & | operator[] (const int pos) const |
| Element access.
|
int | LengthX () const |
| Returns the width.
|
int | LengthY () const |
| Returns the height.
|
int | FirstX () const |
| Returns the index of the first element of a row.
|
int | FirstY () const |
| Returns the index of the first element of a column.
|
int | LastX () const |
| Returns the index of the last element of a row.
|
int | LastY () const |
| Returns the index of the first element of a column.
|
|
float | PerceptualWeight (float xf, float yf, CompSort cs) |
| Given x and y spatial frequencies in cycles per degree, returns a weighting value.
|
A class for encapsulating coefficient data, derived from TwoDArray..
◆ CoeffArray() [1/2]
dirac::CoeffArray::CoeffArray |
( |
| ) |
|
|
inline |
◆ CoeffArray() [2/2]
dirac::CoeffArray::CoeffArray |
( |
int | height, |
|
|
int | width, |
|
|
CompSort | cs = Y_COMP ) |
|
inline |
◆ ~CoeffArray()
dirac::CoeffArray::~CoeffArray |
( |
| ) |
|
|
inline |
◆ BandList() [1/2]
◆ BandList() [2/2]
const SubbandList & dirac::CoeffArray::BandList |
( |
| ) |
const |
|
inline |
◆ CSort()
const CompSort & dirac::CoeffArray::CSort |
( |
| ) |
const |
|
inline |
◆ PerceptualWeight()
float dirac::CoeffArray::PerceptualWeight |
( |
float | xf, |
|
|
float | yf, |
|
|
CompSort | cs ) |
|
private |
◆ SetBandWeights()
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.
◆ SetCSort()
void dirac::CoeffArray::SetCSort |
( |
const CompSort | cs | ) |
|
|
inline |
◆ m_band_list
◆ m_csort
The documentation for this class was generated from the following file: