%WDENCMP De-noising or compression using wavelets.
% WDENCMP performs a de-noising or compression process
% of a signal or an image using wavelets.
%
% [XC,CXC,LXC,PERF0,PERFL2] =
% WDENCMP('gbl',X,'wname',N,THR,SORH,KEEPAPP)
% returns a de-noised or compressed version XC of input
% signal X (1-D or 2-D) obtained by wavelet coefficients
% thresholding using global positive threshold THR.
% Additional output arguments [CXC,LXC] are the
% wavelet decomposition structure of XC,
% PERFL2 and PERF0 are L^2 recovery and compression
% scores in percentages.
% PERFL2 = 100*(vector-norm of CXC/vector-norm of C)^2
% where [C,L] denotes the wavelet decomposition structure
% of X.
% Wavelet decomposition is performed at level N and
% 'wname' is a string containing the wavelet name.
% SORH ('s' or 'h') is for soft or hard thresholding
% (see WTHRESH for more details).
% If KEEPAPP = 1, approximation coefficients cannot be
% thresholded, otherwise it is possible.
%
% WDENCMP('gbl',C,L,W,N,THR,SORH,KEEPAPP)
% has the same output arguments, using the same
% options as above, but obtained directly from the
% input wavelet decomposition structure [C,L] of the
% signal to be de-noised or compressed, at level N,
% using 'wname' wavelet.
%
% For 1-D case and 'lvd' option:
% WDENCMP('lvd',X, 'wname',N,THR,SORH) or
% WDENCMP('lvd',C,L, 'wname',N,THR,SORH)
% have the same output arguments, using the same
% options as above, but allowing level-dependent
% thresholds contained in vector THR (THR must be of
% length N). In addition, the approximation is kept.
%
% For 2-D case and 'lvd' option:
% WDENCMP('lvd',X, 'wname',N,THR,SORH) or
% WDENCMP('lvd',C,L, 'wname',N,THR,SORH)
% THR must be a matrix 3 by N containing the level
% dependent thresholds in the three orientations
% horizontal, diagonal and vertical.
老大,你说的是人话么!你自己看看翻译的通顺么。。。