A class for wavelet coefficient data.
More...
#include <wavelet_utils.h>
|
| | CoeffArray () |
| | Default constructor. More...
|
| |
| | CoeffArray (int height, int width, CompSort cs=Y_COMP) |
| | Constructor. More...
|
| |
| | ~CoeffArray () |
| | Destructor. More...
|
| |
| const CompSort & | CSort () const |
| | Return which component is stored. More...
|
| |
| void | SetCSort (const CompSort cs) |
| | Set the type of component being stored. More...
|
| |
| SubbandList & | BandList () |
| | Returns the set of subbands. More...
|
| |
| const SubbandList & | BandList () const |
| | Returns the set of subbands. More...
|
| |
| void | SetBandWeights (const EncoderParams &encparams, const PictureParams &pparams, const CompSort csort, const float cpd_scale_factor) |
| | Sets the subband weights. More...
|
| |
| | TwoDArray () |
| | Default constructor. More...
|
| |
| | TwoDArray (const int height, const int width) |
| | Constructor. More...
|
| |
| | TwoDArray (const int height, const int width, CoeffType val) |
| | Constructor. More...
|
| |
| | TwoDArray (const TwoDArray< CoeffType > &Cpy) |
| | Copy constructor. More...
|
| |
| virtual | ~TwoDArray () |
| | Destructor. More...
|
| |
| TwoDArray< CoeffType > & | operator= (const TwoDArray< CoeffType > &rhs) |
| | Assignment =. More...
|
| |
| bool | CopyContents (TwoDArray< CoeffType > &out) const |
| | Copy Contents. More...
|
| |
| void | Fill (CoeffType val) |
| | Fill contents. More...
|
| |
| void | Resize (const int height, const int width) |
| | Resizes the array, deleting the current data.
More...
|
| |
| element_type & | operator[] (const int pos) |
| | Element access. More...
|
| |
| const element_type & | operator[] (const int pos) const |
| | Element access. More...
|
| |
| int | LengthX () const |
| | Returns the width. More...
|
| |
| int | LengthY () const |
| | Returns the height. More...
|
| |
| int | FirstX () const |
| | Returns the index of the first element of a row. More...
|
| |
| int | FirstY () const |
| | Returns the index of the first element of a column. More...
|
| |
| int | LastX () const |
| | Returns the index of the last element of a row. More...
|
| |
| int | LastY () const |
| | Returns the index of the first element of a column. More...
|
| |
A class for encapsulating coefficient data, derived from TwoDArray..
◆ CoeffArray() [1/2]
| dirac::CoeffArray::CoeffArray |
( |
| ) |
|
|
inline |
Default constructor creates an empty array.
◆ CoeffArray() [2/2]
| dirac::CoeffArray::CoeffArray |
( |
int |
height, |
|
|
int |
width, |
|
|
CompSort |
cs = Y_COMP |
|
) |
| |
|
inline |
Contructor creates a two-D array, with specified size and colour format.
◆ ~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: