| cdtoimwd | R Documentation |
Converting from a cddews object to an imwd object required for simulating an LS2W process.
cdtoimwd(cddews)
cddews |
A cddews object, which may be the output of |
Simulation of an LS2W process for Daubechies wavelets requires that our spectral structure is ordered as an imwd object rather than a cddews object. This function works by extracting the spectral information from the given cddews object, determining where in the (null) imwd object it should be and adding the power to this appropriate location. This function is used within the function LS2Wsim.cddews and as such does not need to be made use of directly by the user.
An object of class imwd.
Sarah L Taylor
imwd, cddews, LS2Wsim.cddews
# #Obtain a cddews type object from an image X # X<-matrix(rnorm(32*32),nrow=32,ncol=32) # CDDEWS <- cddews(X,correct=FALSE,smooth=FALSE) # #Verify the class of Matxcddews # class(CDDEWS) # #Convert to imwd # CDDEWSimwd<-cdtoimwd(CDDEWS) # #Verify new class # class(CDDEWSimwd) #
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.