c09eyf extracts a selected set of discrete wavelet transform (DWT) coefficients from the full set of coefficients stored in compact form, as computed by
c09ecf (two-dimensional DWT).
c09eyf is intended to be used after a call to
c09ecf (two-dimensional DWT), which in turn should be preceded by a call to
c09abf (two-dimensional wavelet filter initialization). Given an initial two-dimensional data set
$A$, a prior call to
c09ecf computes the approximation coefficients (at the highest requested level) and three sets of detail coeficients at all levels and stores these in compact form in a one-dimensional array
c.
c09eyf can then extract either the approximation coefficients or one of the sets of detail coefficients at one of the levels into a matrix
$D$. The dimensions of
$D$ depend on the level extracted and are available from the arrays
dwtlvm and
dwtlvn as returned by
c09ecf which contain the first and second dimensions respectively. See
Section 2.1 in the C09 Chapter Introduction for a discussion of the two-dimensional DWT.
None.
Note: the following notation is used in this section:
- ${n}_{\mathrm{cm}}$ is the number of wavelet coefficients in the first dimension, which, at level ilev, is equal to ${\mathbf{dwtlvm}}\left({\mathbf{nwl}}-{\mathbf{ilev}}+1\right)$ as returned by a call to c09ecf transforming nwl levels.
- ${n}_{\mathrm{cn}}$ is the number of wavelet coefficients in the second dimension, which, at level ilev, is equal to ${\mathbf{dwtlvn}}\left({\mathbf{nwl}}-{\mathbf{ilev}}+1\right)$ as returned by a call to c09ecf transforming nwl levels.
If on entry
${\mathbf{ifail}}=0$ or
$-1$, explanatory error messages are output on the current error message unit (as defined by
x04aaf).
Not applicable.
None.