Lab 4
Lab 4
close all;
clear all;
clc
I3=I1(1:4:end,1:4:end);
subplot(233)
imshow(I3)
title('Sample image (128*128)');
I4=I1(1:8:end,1:8:end);
subplot(234);
imshow(I4)
title('Sample image (64*64)');
I5=I1(1:16:end,1:16:end);
subplot(235);
imshow(I5)
title('Sample image (32*32)');
I6=I1(1:32:end,1:32:end);
subplot(236);
imshow(I6)
title('Sample image (16*16)');