nag_idwt_2d (c09ebc) computes the inverse two-dimensional discrete wavelet transform (DWT) at a single level. The initialization function
nag_wfilt_2d (c09abc) must be called first to set up the DWT options.
nag_idwt_2d (c09ebc) performs the inverse operation of function
nag_dwt_2d (c09eac). That is, given sets of approximation, horizontal, vertical and diagonal coefficients computed by function
nag_dwt_2d (c09eac) using a DWT as set up by the initialization function
nag_wfilt_2d (c09abc), on a real matrix,
, nag_idwt_2d (c09ebc) will reconstruct
.
None.
- NE_ALLOC_FAIL
Dynamic memory allocation failed.
- NE_BAD_PARAM
On entry, argument had an illegal value.
- NE_INITIALIZATION
Either the initialization function has not been called first
or
icomm has been corrupted.
Either the initialization function was called with
or
icomm has been corrupted.
- NE_INT
On entry, .
Constraint: , the number of wavelet coefficients in the first dimension.
On entry, .
Constraint: , the number of wavelet coefficients in the first dimension.
On entry, .
Constraint: , the number of wavelet coefficients in the first dimension.
On entry, .
Constraint: , the number of wavelet coefficients in the first dimension.
On entry,
.
Constraint:
, the value of
m on initialization (see
nag_wfilt_2d (c09abc)).
On entry,
.
Constraint:
, the value of
n on initialization (see
nag_wfilt_2d (c09abc)).
- NE_INT_2
On entry, and .
Constraint: .
- NE_INTERNAL_ERROR
An internal error has occurred in this function. Check the function call and any array sizes. If the call is correct then please contact
NAG for assistance.
The accuracy of the wavelet transform depends only on the floating point operations used in the convolution and downsampling and should thus be close to machine precision.
None.