Class encapsulating all the metadata relating to a wavelet subband.
|
| Subband () |
| Default constructor. More...
|
|
| Subband (int xpos, int ypos, int xlen, int ylen) |
| Constructor. More...
|
|
| Subband (int xpos, int ypos, int xlen, int ylen, int d) |
| Constructor. More...
|
|
| ~Subband () |
| Destructor. More...
|
|
int | Xl () const |
| Return the width of the subband. More...
|
|
int | Xp () const |
| Return the horizontal position of the subband. More...
|
|
int | Yl () const |
| Return the height of the subband. More...
|
|
int | Yp () const |
| Return the vertical position of the subband. More...
|
|
int | Max () const |
| Return the index of the maximum bit of the largest coefficient. More...
|
|
double | Wt () const |
| Return the subband perceptual weight. More...
|
|
int | Depth () const |
| Return the depth of the subband in the transform. More...
|
|
int | Scale () const |
| Return the scale of the subband, viewed as a subsampled version of the picture. More...
|
|
int | QuantIndex () const |
| Return a quantisation index. More...
|
|
bool | UsingMultiQuants () const |
| Return a flag indicating whether we have separate quantisers for each code block. More...
|
|
int | Parent () const |
| Return the index of the parent subband. More...
|
|
const std::vector< int > & | Children () const |
| Return the indices of any child subbands. More...
|
|
int | Child (const int n) const |
| Return the index of a specific child band. More...
|
|
TwoDArray< CodeBlock > & | GetCodeBlocks () |
| Return the code blocks. More...
|
|
const TwoDArray< CodeBlock > & | GetCodeBlocks () const |
| Return the code blocks. More...
|
|
bool | Skipped () const |
| Returns true if subband is skipped, false if not. More...
|
|
void | SetWt (const float w) |
| Set the perceptual weight. More...
|
|
void | SetParent (const int p) |
| Set the parent index. More...
|
|
void | SetDepth (const int d) |
| Set the subband depth. More...
|
|
void | SetMax (const int m) |
| Set the index of the maximum bit of the largest coefficient. More...
|
|
void | SetNumBlocks (const int ynum, const int xnum) |
| Set the number of (spatial) quantisers in the subband. Creates code block structure. More...
|
|
void | SetQuantIndex (const int idx) |
| Set the quantisation index. More...
|
|
void | SetUsingMultiQuants (const bool multi) |
| Set the number of (spatial) quantisers in the subband. Creates code block structure. More...
|
|
void | SetSkip (const bool skip) |
| Set whether the subband is skipped or not. More...
|
|