"Ajit " <email@example.com> wrote in message <firstname.lastname@example.org>...
> what is the actual meaning of the 1st parameter in the method WDENCMP() in MATLAB and how do i calculate the value of the 5th parameter i.e., THR of this method?
> please help me.........
Hi Ajit, The option 'gbl', uses a global threshold that is applied to all levels of the wavelet transform. 'lvd' allows you to specify level-dependent thresholds, which you supply as an input to wdencmp(). If you specify level dependent thresholds for an image, they have to be in the form 3xN, where N is the level of the decomposition. The row dimension (3) is for the horizontal, diagonal, and vertical detail coefficients respectively.
As a first pass, just try using the global threshold returned by ddencmp()
Just an example:
X = randn(256,256);
[XC,CXC,LXC,PERF0,PERFL2] = ...
Hope that helps,