ddencmp
Default values for denoising or compression
Syntax
[THR,SORH,KEEPAPP,CRIT] = ddencmp(IN1,IN2,X)
[THR,SORH,KEEPAPP] = ddencmp(IN1,'wv',X)
[THR,SORH,KEEPAPP,CRIT] = ddencmp(IN1,'wp',X)
Description
ddencmp
returns default values for denoising or compression for the critically-sampled discrete wavelet or wavelet packet transform.
You can useddencmp
for 1-D signals or 2-D images.
[THR,SORH,KEEPAPP,CRIT] = ddencmp(IN1,IN2,X)
returns default values for denoising or compression, using wavelets or wavelet packets, of an input vector or matrixX
, which can be a one- or two-dimensional signal.THR
is the threshold,SORH
is for soft or hard thresholding,KEEPAPP
allows you to keep approximation coefficients, andCRIT
(used only for wavelet packets) is the entropy name (seewentropy
for more information).
IN1
is'den'
for denoising or'cmp'
for compression.
IN2
is'wv'
for wavelet or'wp'
for wavelet packet.
For wavelets (three output arguments):
[THR,SORH,KEEPAPP] = ddencmp(IN1,'wv',X)
returns default values for denoising (ifIN1 = 'den'
) or compression (ifIN1 = 'cmp'
) ofX
. These values can be used forwdencmp
.
For wavelet packets (four output arguments):
[THR,SORH,KEEPAPP,CRIT] = ddencmp(IN1,'wp',X)
returns default values for denoising (ifIN1 = 'den'
) or compression (ifIN1 = 'cmp'
) ofX
. These values can be used forwdencmp
.
Examples
References
Donoho, D.L. (1995), "De-noising by soft-thresholding,"IEEE,Trans. on Inf. Theory, 41, 3, pp. 613–627.
Donoho, D.L.; I.M. Johnstone (1994), "Ideal spatial adaptation by wavelet shrinkage,"Biometrika, vol 81, pp. 425–455.
Donoho, D.L.; I.M. Johnstone (1994), "Ideal de-noising in an orthonormal basis chosen from a library of bases,"C.R.A.S. Paris,Ser. I, t. 319, pp. 1317–1322.