Created by the British Broadcasting Corporation.
A class encapulating all the subbands produced by a transform.
#include <wavelet_utils.h>
Public Member Functions | |
SubbandList () | |
Constructor. | |
~SubbandList () | |
Destructor. | |
void | Init (const int depth, const int xlen, const int ylen) |
Initialise the list. | |
int | Length () const |
Return the length of the subband list. | |
Subband & | operator() (const int n) |
Return the subband at position n (1<=n<=length) | |
const Subband & | operator() (const int n) const |
Return the subband at position n (1<=n<=length) | |
void | AddBand (const Subband &b) |
Add a band to the list. | |
void | Clear () |
Remove all the bands from the list. | |
Private Member Functions | |
float | PerceptualWeight (const float xf, const float yf, const CompSort cs) |
Given x and y spatial frequencies in cycles per degree, returns a weighting value. | |
Private Attributes | |
std::vector< Subband > | bands |
|
inline |
|
inline |
|
private |
|
private |
Referenced by AddBand(), Clear(), Length(), operator()(), and operator()().
© 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.