A class encapulating all the subbands produced by a transform.
#include <wavelet_utils.h>
List of all members.
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.
|
Constructor & Destructor Documentation
dirac::SubbandList::SubbandList |
( |
| ) |
|
|
inline |
dirac::SubbandList::~SubbandList |
( |
| ) |
|
|
inline |
Member Function Documentation
void dirac::SubbandList::AddBand |
( |
const Subband & |
b | ) |
|
|
inline |
void dirac::SubbandList::Clear |
( |
| ) |
|
|
inline |
void dirac::SubbandList::Init |
( |
const int |
depth, |
|
|
const int |
xlen, |
|
|
const int |
ylen |
|
) |
| |
int dirac::SubbandList::Length |
( |
| ) |
const |
|
inline |
Subband& dirac::SubbandList::operator() |
( |
const int |
n | ) |
|
|
inline |
const Subband& dirac::SubbandList::operator() |
( |
const int |
n | ) |
const |
|
inline |
float dirac::SubbandList::PerceptualWeight |
( |
const float |
xf, |
|
|
const float |
yf, |
|
|
const CompSort |
cs |
|
) |
| |
|
private |
Member Data Documentation
std::vector<Subband> dirac::SubbandList::bands |
|
private |
The documentation for this class was generated from the following file: