ex1.m

来自「在国外网站上找到的一个小波降噪的实例」· M 代码 · 共 8 行

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

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?