threshold.imwdc {wavethresh} | R Documentation |
Applies hard or soft thresholding to wavelet decomposition object
of class imwdc
.
## S3 method for class 'imwdc': threshold(x, verbose = getOption("verbose"), ...)
x |
object of class imwdc , maybe after a previous thresholding. |
verbose |
print information messages about what's going on |
... |
other arguments to threshold |
This function thresholds just like threshold.imwd
, except that the
input is an "imwdc" object, not a "imwd" one, which suggests that
the object has already been thresholded (because threshold.imwd
returns an "imwdc" object). Because the object is likely to have
been thresholded a warning message stating this is printed.
However, it is entirely possible that you would wish to impose a higher threshold on an already thresholded object, and so this function does just this.
This function is a method for the generic function
threshold()
for class imwdc
.
It can be invoked by calling threshold(x)
for an
object x
of the appropriate class, or directly by
calling threshold.imwdc(x)
regardless of the
class of the object.
An object of class "imwdc"
, containing the thresholded object.
Release 2.2 Copyright Guy Nason 1993
There should be an optimal policy as well, although universal comes close.
see wd
for a list.
For examples, see imwr.imwd
.
imwr
, imwd
, compress
,
uncompress
, imwd.object
,
imwdc.object