ex1.m
上传用户:speoil
上传日期:2022-06-23
资源大小:224k
文件大小:0k
源码类别:

波变换

开发平台:

Matlab

  1.  
  2.     h = daubcqf(6);  load lena; 
  3.    noisyLena = lena + 25 * randn(size(lena));
  4.     figure; colormap(gray); imagesc(lena); title('Original Image');
  5.      figure; colormap(gray); imagesc(noisyLena); title('Noisy Image'); 
  6.     Denoise lena with the default method based on the DWT
  7.   [denoisedLena,xn,opt1] = denoise(noisyLena,h);
  8.    figure; colormap(gray); imagesc(denoisedLena); title('denoised Image');