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}}={\mathbf{0}}$ or
${-{\mathbf{1}}}$, explanatory error messages are output on the current error message unit (as defined by
X04AAF).
Not applicable.
Not applicable.
None.