www.pudn.com > Criminisi-original-gray.zip > plotall.m, change:2012-05-18,size:563b


% This is a simple script to plot some diagrams.
% It assumes you have already run inpaint, storing into the 
% variables i1,i2,i3,c,d, like so:
%
[i1,i2,i3,c,d,mov]=inpaint('bungee0gray.png','bungee0gray1.png');

figure(1);
image(uint8(i2)); title('原始图像');
figure(2)             
imshow(i3); title('填充区域');
% figure(8)             %输出的图像有问题!!!why
% imshow(i1); title('修复后的图像');
%imwrite(uint8(i1),'inpainting3.bmp');
figure(4)
subplot(121);imagesc(c); title('置信度项');
subplot(122);imagesc(d); title('数据项');


% close;
% movie(mov);