Learn R Programming

wavethresh (version 4.7.3)

tpwr: Inverse tensor product 2D wavelet transform.

Description

Performs the inverse transform to tpwd.

Usage

tpwr(tpwdobj, verbose = FALSE)

Value

A matrix, or image, containing the inverse tensor product wavelet transform of the image contained in the tpwd component of the tpwdobj object.

Arguments

tpwdobj

An object which is a list which contains the items indicated in the return value of tpwd

verbose

Whether informative messages are printed

Author

G P Nason

Details

Performs the inverse transform to tpwd.

See Also

imwr,tpwd

Examples

Run this code
data(lennon)
ltpwd <- tpwd(lennon)
#
# now perform the inverse and compare to the original
#
ltpwr <- tpwr(ltpwd)
sum((ltpwr - lennon)^2)
# [1] 9.22802e-10

Run the code above in your browser using DataLab