Next: Cost functions
Up: One-dimensional
Previous: One-dimensional
Datastructure
The output of wpa16
is a Matlab structure with the following fields:
- wp: Contains the entries from the tree in figure 5.
If the input vector has length 2n, then wp is an n by 2n matrix. The rows contain the blocks from the tree in figure 5
in the order they are shown.
- sel: An uint8 (incidence) matrix the same size as wp,
entries are either 0 or 1 (wpa1 always returns all zeroes, the
entries are changed when a basis is selected). A 1 means the
corresponding entry in wp is to be included in the basis, 0 that
it is left out.
A basis can be selected with the following functions:
- bestbase: Best basis, i.e., lowest cost basis,
with respect to a cost function (see below).
- bestlevl: A fixed level (with lowest cost) is chosen from the
tree, i.e., all blocks are from the same row in figure 5.
- fixlevel: A fixed user specified level.
- wavbasis: Wavelet basis.
- showwp: This program allows the user to interactively select
the basis (see below).
Footnotes
- ...wpa16
- wpa1 is restricted to input
vectors whose length is a power of two.
Next: Cost functions
Up: One-dimensional
Previous: One-dimensional
Harri Ojanen
1998-05-02