packetj {LS2W} | R Documentation |
Converts an imwd object to a wst2D object at a given level.
Description
Reorders the informtion at a given level of an imwd
object to be in the form required for a wst2D
object.
Usage
packetj(imwd, level, o)
Arguments
imwd |
An |
level |
The level we wish to convert. |
o |
Computes weaving permutation for conversion from imwd to wst2D. |
Details
This function combines the information from an imwd
object at a given level and reorders it to be in the approriate form for a wst2D
object. This function is required by convertimwd
.
Value
Returns a matrix to be put into a wst2D
object.
Note
Not intended to be used
Author(s)
Matt Nunes
Examples
#Obtain an imwd object
#
testimage <- HaarMontage(256, "diagonal")
testimageIMWD<- imwd(testimage, type="station")
#
#Specify our weaving permutation
#
arrvec <- getarrvec(9, sort=FALSE)
#
#Convert level 6 coefficients into packet ordered object
#
o <- arrvec[,2]
packmat <- packetj(testimageIMWD, 6, o)
#
[Package LS2W version 1.3.6 Index]