Learn R Programming

wavethresh (version 4.6.9)

tpwr: Inverse tensor product 2D wavelet transform.

Description

Performs the inverse transform to tpwd.

Usage

tpwr(tpwdobj, verbose = FALSE)

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

Value

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

Details

Performs the inverse transform to tpwd.

See Also

imwr,tpwd

Examples

Run this code
# NOT RUN {
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