From: Ajit on 15 Apr 2010 02:11 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.........
From: Wayne King on 15 Apr 2010 06:22 "Ajit " <ajits321(a)gmail.com> wrote in message <hq6aln$4bf$1(a)fred.mathworks.com>... > 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); [thr,sorh,keepap]=ddencmp('den','wv',X); [XC,CXC,LXC,PERF0,PERFL2] = ... wdencmp('gbl',X,'sym4',4,thr,'s',1); Hope that helps, Wayne
|
Pages: 1 Prev: Input for voice recognition usiing NN Next: User Inpur date Check |