\HeaderA{imwr.imwdc}{Inverse two-dimensional discrete wavelet transform.}{imwr.imwdc}
\keyword{nonlinear}{imwr.imwdc}
\keyword{smooth}{imwr.imwdc}
\begin{Description}\relax
Inverse two-dimensional discrete wavelet transform.
\end{Description}
\begin{Usage}
\begin{verbatim}
imwr.imwdc(imwd, verbose=FALSE, ...\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{imwd}] An object of class \code{imwdc}. This type of object is returned by \code{\LinkA{threshold.imwd}{threshold.imwd}} and is a \code{\LinkA{compress.imwd}{compress.imwd}} compressed version of an \code{\LinkA{imwd}{imwd}} object.
\item[\code{verbose}] If this argument is true then informative messages are printed detailing the computations to be performed
\item[\code{...}] other arguments to supply to the \code{\LinkA{imwr}{imwr}} function which is called after uncompressing the imwdc object.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This function merely uncompresses the supplied \code{\LinkA{imwdc.object}{imwdc.object}} and passes the resultant \code{\LinkA{imwd}{imwd}} object to the \code{\LinkA{imwr.imwd}{imwr.imwd}} function.

This function is a method for the generic function \code{\LinkA{imwr}{imwr}} for class \code{\LinkA{imwdc.object}{imwdc.object}}. It can be invoked by calling \code{\LinkA{imwr}{imwr}} for an object of the appropriate class, or directly by calling imwr.imwdc regardless of the class of the object.
\end{Details}
\begin{Value}
A matrix, of dimension determined by the original data set supplied to the initial decomposition (more precisely, determined by the \code{\LinkA{nlevels}{nlevels}} component of the \code{\LinkA{imwdc.object}{imwdc.object}}). This matrix is the highest resolution level of the reconstruction.
\end{Value}
\begin{Section}{RELEASE}
Version 3.5.3 Copyright Guy Nason 1994
\end{Section}
\begin{SeeAlso}\relax
\code{\LinkA{compress.imwd}{compress.imwd}}, \code{\LinkA{imwd}{imwd}}, \code{\LinkA{imwd.object}{imwd.object}}, \code{\LinkA{imwr}{imwr}}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
#
# Do a decomposition, thresholding, then exact reconstruction
# Look at the error
#
# Test image is just some sort of  square matrix whose side length
# is a power of two.
#
#max( abs(imwr(threshold(imwd(test.image))) - test.image))
# [1] 62.34
#
# The answer is not zero (see contrasting example in the help page for
# imwr.imwd because we have thresholded the
# 2D wavelet transform here.
\end{ExampleCode}
\end{Examples}

