c09fyf extracts a selected set of discrete wavelet transform (DWT) coefficients from the full set of coefficients stored in compact form, as computed by
c09faf (single level three-dimensional DWT) or
c09fcf (multi-level three-dimensional DWT).
c09fyf is intended to be used after a call to either
c09faf (single level three-dimensional DWT) or
c09fcf (multi-level three-dimensional DWT), either of which must be preceded by a call to
c09acf (three-dimensional wavelet filter initialization). Given an initial three-dimensional data set
, a prior call to
c09faf or
c09fcf computes the approximation coefficients (at the highest requested level in the case of
c09fcf) and seven sets of detail coefficients (at all levels in the case of
c09fcf) and stores these in compact form in a one-dimensional array
c.
c09fyf can then extract either the approximation coefficients or one of the sets of detail coefficients (at one of the levels following
c09fcf) into a three-dimensional data set stored in
d.
If a multi-level DWT was performed by a prior call to
c09fcf then the dimensions of the three-dimensional data stored in
d depend on the level extracted and are available from the arrays
dwtlvm,
dwtlvn and
dwtlvfr as returned by
c09fcf which contain the first, second and third dimensions respectively.
If a single level DWT was performed by a prior call to
c09faf then the dimensions of the three-dimensional data stored in
d can be determined from
nwct,
nwcn and
nwcfr as returned by the setup routine
c09acf.
See
Section 2.1 in the C09 Chapter Introduction for a discussion of the three-dimensional DWT.
None.
Note: the following notation is used in this section:
- is the number of wavelet coefficients in the first dimension. Following a call to c09faf (i.e., when ) this is equal to as returned by c09acf. Following a call to c09fcf transforming nwl levels, and when extracting at level , this is equal to .
- is the number of wavelet coefficients in the second dimension. Following a call to c09faf (i.e., when ) this is equal to nwcn as returned by c09acf. Following a call to c09fcf transforming nwl levels, and when extracting at level , this is equal to .
- is the number of wavelet coefficients in the third dimension. Following a call to c09faf (i.e., when ) this is equal to nwcfr as returned by c09acf. Following a call to c09fcf transforming nwl levels, and when extracting at level , this is equal to
If on entry
or
, explanatory error messages are output on the current error message unit (as defined by
x04aaf).
Not applicable.
None.