Learn R Programming

wavethresh (version 2.2-3)

threshold.imwdc: Threshold an `imwdc' Object (2D Wavelet)

Description

Applies hard or soft thresholding to wavelet decomposition object of class imwdc.

Usage

threshold.imwdc(imwdc, verbose=FALSE, ...)

Arguments

imwdc
Object of class "imwdc", maybe after a previous thresholding.
verbose
print information messages about what's going on
...
other arguments to threshold

Value

  • An object of class "imwdc", containing the thresholded object

RELEASE

Release 2.2 Copyright Guy Nason 1993

BUGS

There should be an optimal policy as well, although universal comes close.

Details

This function thresholds just like `threshold.imwd', except that the input is an "imwdc" object, not a "imwd" object, 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.

References

see wd for a list.

See Also

For examples, see imwr.imwd. imwr, imwd, compress, uncompress, imwd.object, imwdc.object