Learn R Programming

rwt (version 1.0.0)

denoise: Wavelet-based Denoising

Description

Denoise the signal x using the 2-band wavelet system described by the filter h using either the traditional discrete wavelet transform (DWT) or the linear shift invariant discrete wavelet transform (also known as the undecimated DWT (UDWT)).

Usage

denoise(x, h, type, option)
denoise.dwt(x, h, option = default.dwt.option)
denoise.udwt(x, h, option = default.udwt.option)

Arguments

x
1D or 2D signal to be denoised
h
numeric scalar specifying scaling filter to be applied
type
type of transform. Valid values are: l{ DWT.TRANSFORM.TYPE UDWT.TRANSFORM.TYPE }
option
list containing desired transformation settings

Value

  • Returns a list with components:
  • xdestimate of noise free signal
  • xnestimated noise signal (x-xd)
  • optionlist of actual parameters used. It is configured the same way as the input option list with an additional element - option[[7]] = type.

Details

The transformation settings in the option list are:

[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Examples

Run this code
sig <- makesig(SIGNAL.DOPPLER)
h <- daubcqf(6)
ret.dwt <- denoise.dwt(sig$x, h$h.0)

Run the code above in your browser using DataLab