Wavelet packet coefficients thresholding
NT = wpthcoef(
T
,KEEPAPP,SORH,THR)
wpthcoef
is a one- or
two-dimensional de-noising and compression utility.
NT = wpthcoef(
returns
a new wavelet packet tree T
,KEEPAPP,SORH,THR)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.