%
% 02-06-2010
% Script file: print6.m - print six RAW images on the same page
% 1. mandrill  2. scene  3. fingerprint  4. texture  5. ladyface  6. array150
%----------------------------------------------------------------------------
% 1. Raw
m=512; n=512;
fin=fopen('mandrill.raw','r');
X=fscanf(fin,'%c',[m n]); Y=X';
Z=double(Y);
subplot(3,2,1)
imshow(Z/255.0)
title('mandrill.raw: 512 \times 512')
% 2. Raw
m=512; n=512;
fin=fopen('scene.raw','r');
X=fscanf(fin,'%c',[m n]); Y=X';
Z=double(Y);
subplot(3,2,2)
imshow(Z/255.0)
title('scene.raw: 512 \times 512')
% 3. Raw
m=512; n=512;
fin=fopen('fingerprint.raw','r');
X=fscanf(fin,'%c',[m n]); Y=X';
Z=double(Y);
subplot(3,2,3)
imshow(Z/255.0)
title('300 \times 300 Raw')
% 4. Raw
m=512; n=512;
fin=fopen('texture.raw','r');
X=fscanf(fin,'%c',[m n]); Y=X';
Z=double(Y);
subplot(3,2,4)
imshow(Z/255.0)
title('texture.raw: 512 \times 512')
% 5. Raw
m=128; n=128;
fin=fopen('ladyface.raw','r');
X=fscanf(fin,'%c',[m n]); Y=X';
Z=double(Y);
subplot(3,2,5)
imshow(Z/255.0)
title('ladyface.raw: 128 \times 128')
% 6. Raw
m=150; n=150;
fin=fopen('array150.raw','r');
X=fscanf(fin,'%c',[m n]); Y=X';
Z=double(Y);
subplot(3,2,6)
imshow(Z/255.0)
title('array150.raw: 150 \times 150')
