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


% 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(3)             %输出的图像有问题!!!why
imshow(i1); title('修复后的图像');
imwrite(uint8(i1),'inpainting3.bmp');
figure(4)
subplot(121);imagesc(c); title('置信度项');
subplot(122);imagesc(d); title('数据项');

% figure(5);
% subplot(121);imagesc(c); title('Confidence term');
% subplot(122);imagesc(d); title('Data term');

% close;
% movie(mov);