⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 figure16.m

📁 是一本教科书的各个章节的源程序代码,适合初学数字图像的人
💻 M
字号:
clear
load facets;
subplot(221); image(X); colormap(map);
title('原始图像');
axis square
init=1992625743; randn('seed', init)
x=X+10*randn(size(X));
subplot(222); image(x); colormap(map);
title('含噪声图像');
axis square
[c, s]=wavedec2(x, 2, 'coif3');
n=[1, 2]
p=[11.20, 22.81];
nc=wthcoef2('h', c, s, n, p, 's');
nc=wthcoef2('v', c, s, n, p, 's');
nc=wthcoef2('d', c, s, n, p, 's');
xx=waverec2(nc, s, 'coif3');
subplot(223); image(xx); colormap(map);
title('去噪后图像');
axis square;

⌨️ 快捷键说明

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