
Image Coding and Compression 423
MATLAB/Octave
>> imshow(imresize(c(68-31:68+32,56-31:56+32),4))
which is shown in Figure 14.10. The same areas, with the scales of 1 and 2, are shown in
FIGURE 14.10: An image closeup
Figure 14.11. And the closeups , with the scales of 5 and 10, are shown in Figure 14.12.
FIGURE 14.11: Closeups after the scale factors of 1 and 2
Notice that “blockiness” becomes more apparent as the scale factor increases. This is due
to the working of the algorithm; that each 8 × 8 block is processed independently of the
others. This tends to pro duce discontinuities in the output, and is one of the disadvantages
of the JPEG algorithm ...