compress.imwd {wavethresh} | R Documentation |
Compresses or decompresses a (thresholded) imwd object
(imwd.object
) by removing or padding with zero elements.
## S3 method for class 'imwd': compress(x, verbose = getOption("verbose"), ...) ## S3 method for class 'imwdc': uncompress(x, verbose = getOption("verbose"), ...)
x |
class imwd object to compress or class imwdc to
decompress. |
verbose |
logical; if true then report on compression activity. |
... |
further arguments to be passed to or from methods. |
Thresholded imwd objects are usually very large and contain many zero
elements. This function compresses these objects into smaller "imwdc"
objects by using the compress.default
function and
removing the zeroes.
compress.imwd
is a method for the generic function
compress
for class imwd
.
The user shouldn't need to use this function directly.
uncompress.imwd
uncompresses a imwdc
object back into a
imwd
one. It is a method for the generic function
uncompress()
for class imwdc
.
It can be invoked by calling uncompress(x)
for an
object x
of the appropriate class, or directly by
calling uncompress.imwdc(x)
regardless of the class of the object.
An object of class "imwdc" representing the compressed imwd object,
see imwdc.object
.
Release 2.2 Copyright Guy Nason 1993
compress.default
, uncompress.default
,
threshold
,
imwd.object
,imwdc.object
.