
Image Display 53
MATLAB/Octave
>> x = imread(’thylacine.png;
>>
for i = 1:4
>
subplot(2,2,i),imshow(imresize(imresize(x,1/(2^(i+1))),2^(i+1),’
nearest’))
> end
Since this image has size 320×400, the effective resolutions will be these dimensions divided
by powers of two.
(a) The original image (b) at 160 × 200 resolution
FIGURE 3.5: Reducing resolution of an image
(a) At 80 × 100 resolution (b) At 40 × 50 resolution
FIGURE 3.6: Further reducing the resolution of an image
The effects of increasing blo ckiness or pixelization become quite pronounced as the resolution
decreases; even at 160 × 200 resolution fine detail, such as the wire mesh of the enclosure,
are ...