wpthcoef

Wavelet packet coefficients thresholding

Syntax

NT = wpthcoef(T,KEEPAPP,SORH,THR)

Description

wpthcoef is a one- or two-dimensional de-noising and compression utility.

NT = wpthcoef(T,KEEPAPP,SORH,THR) returns a new wavelet packet tree NT obtained from the wavelet packet tree T by coefficients thresholding.

If KEEPAPP = 1, approximation coefficients are not thresholded; otherwise, they can be thresholded.

If SORH = 's', soft thresholding is applied; if SORH = 'h', hard thresholding is applied (see wthresh for more information).

THR is the threshold value.

Was this topic helpful?