📄 figure13.m
字号:
load tire;
figure(1); image(X); colormap(map)
title('原始图像');
axis square
[c, s]=wavedec2(X, 2, 'db3');
[thr, sorh, keepapp]=ddencmp('cmp', 'wv', X);
[Xcomp, cxc, lxc, perf0, perfl2]=wdencmp('gbl', c, s, 'db3', 2, thr, sorh, keepapp);
figure(2); image(Xcomp); colormap(map)
title('压缩图像');
axis square
disp('小波分解系数中置0的系数个数百分比:');
perf0
disp('压缩后图像剩余能量百分比:');
perfl2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -