dfig18_dr.m

来自「beamlet变化的工具箱」· M 代码 · 共 43 行

M
43
字号
% dfig18_dr - draw the figure for Fig 18.

subplot(311);
AutoImage_withp(...
 [img 3*ones(n,1) x 3*ones(n,1) fit>.5 3*ones(n,1) x-(fit>.5)],.7)
title(...
['       original          ',...
 '      noisy image        ',...
 ' wedgelet approximation  ',...
 '        residual         ']);
axis off;
subplot(334); AutoImage_withp(img,.5); title('original image'); axis off;
subplot(335); AutoImage_withp(img,.5); ax = axis; hold on; axis off;
PlotWedgeletPartition2(btree1,stree1,'g',ax,log2(n),1,'y');
title('Best Partitioning'); 
subplot(336); image(255+img .* 0); colormap(gray(256)); axis image;
ax = axis; hold on; axis off;
PlotWedgeletPartition2(btree1,stree1,'g',ax,log2(n),1,'y');
title('Best Partitioning only'); axis square;
subplot(337); AutoImage(nimg); title('noisy image'); axis off;
subplot(338); AutoImage(nimg); ax = axis; hold on; axis off;
PlotWedgeletPartition2(btree2,stree2,'g',ax,log2(n),1,'y');
title('Best Partitioning')
subplot(339); image(255+img .* 0); colormap(gray(256)); axis image;
ax = axis; hold on; axis off;
PlotWedgeletPartition2(btree2,stree2,'g',ax,log2(n),1,'y');
title('Best Partitioning only'); axis square;

%% Part of BeamLab Version:200% Built:Friday,23-Aug-2002 00:00:00% This is Copyrighted Material% For Copying permissions see COPYING.m% Comments? e-mail beamlab@stat.stanford.edu%%% Part of BeamLab Version:200% Built:Saturday,14-Sep-2002 00:00:00% This is Copyrighted Material% For Copying permissions see COPYING.m% Comments? e-mail beamlab@stat.stanford.edu%

⌨️ 快捷键说明

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