| convertimwd {LS2W} | R Documentation |
Convert a non-decimated imwd object to a wst2D object.
Description
Converting from a spatially ordered imwd object to a packet-ordered wst2D object.
Usage
convertimwd(imwd, ...)
Arguments
imwd |
A imwd type object obtained by a stationary wavelet transform, i.e. |
... |
Any additional arguments. |
Details
Inverting a 2-D non-decimated wavelet transform requires that the output is structured as a packet ordered transform. This function allows us to convert from the non-decimated (time ordered) imwd object to the packet ordered wst2D object. The function extracts information at a given scale/direction from the imwd object, converts it into the appropriate format and inserts it in the appropriate location of a (null) wst2D object. This function is used when simulating an LS2W process within the function LS2Wsim.cddews and does not need to be used separately.
Value
An object of class wst2D
Author(s)
Matt Nunes
See Also
Examples
#
#Obtain an imwd class object
#
testimage <- HaarMontage(256, "diagonal")
#
IMWDobject<- imwd(testimage, type="station")
# Verify the class of this object
#
class(IMWDobject)
#
#Convert to packet ordered
#
IMWDconverted<-convertimwd(IMWDobject)
#
#Verify new class
#
class(IMWDconverted)
#