MultiSURE2.m
Upload User: sla11nk8
Upload Date: 2013-03-09
Package Size: 21k
Code Size: 1k
Category:

Other systems

Development Platform:

Matlab

  1. function ws = MultiSURE2(wc,L)
  2. %
  3. %%%%%%It's My Own Function!!!
  4. %
  5. % MultiSURE2 -- Apply Shrinkage to 2-d Wavelet Coefficients
  6. %  Usage 
  7. %    ws = MultiSURE2(wc,L)
  8. %  Inputs 
  9. %    wc    Wavelet Transform of noisy sequence with N(0,1) noise
  10. %    L     low-frequency cutoff for Wavelet Transform
  11. %  Outputs 
  12. %    ws    result of applying SUREThresh to each dyadic block
  13. %
  14. [n,J] = dyadlength(wc);
  15.     ws = wc;
  16.     for j=(J-1):-1:L
  17.         [t1,t2]=dyad2HH(j);
  18.         [ws(t1,t2),thresh]=SUREThresh2(wc(t1,t2));
  19.         [t1,t2]=dyad2HL(j);
  20.         [ws(t1,t2),thresh]=SUREThresh2(wc(t1,t2));
  21.         [t1,t2]=dyad2LH(j);
  22.         [ws(t1,t2),thresh]=SUREThresh2(wc(t1,t2));
  23.     end