Professional Documents
Culture Documents
A176805 Sistem Multimedia
A176805 Sistem Multimedia
A176805 Sistem Multimedia
A. BMP File
1. The BMP file chosen for this assignment is shown below:
B. GIF File
3. The original image, dithered image and MSE image is as shown in Fig. 1 below:
Comment: Dithered image color is reducing compared to original color and lowering the quality
of the picture.
C. JPEG files
4. The Y, Cb and Cr components of the image are as shown below:
Comment: Y`Cb`Cr colour space is that it can separate luminance from chrominance more
effectively compare to RGB colour space. Luminance in the image is actually a light intensity or
the amount of light ranges from black to white.
5. The original image, JPEG image and MSE image is as shown in Fig. 3 below:
Comments: the RMSE value of the jpeg increase therefore the image had a huge reduction in file
size but the quality of the picture is maintained.
The RMSE Value: 4.609241
Comment:
BMP is the highest file size than GIF and JPEG, therefore BMP images a higher resolution than JPEG
and GIF. GIF has the lower value than JPEG as it is better the model and its predictions. JPEG uses
lossy compression algorithm where the image may lose some of its data, whereas GIF uses lossless
compression algorithm where there is no or less data loss.
Blockwise DCT: converts the information contained in a block (8x8) of pixels from spatial domain to
the frequency domain.
Quantization: Quantization using a table or using a constant to reduce number of bits per sample
DPCM: Encode the difference between the current and previous 8x8 block, the smaller the number
the fewer the bits.
Zig-Zag scanning: Zig-Zag scan to exploit redundancy and to group low frequency coefficients in top
of vector and high frequency coefficients at the bottom
Run Length Coding: The 1 x 64 vectors, to make it most likely to hit a long run of zeros, have a lot of
Zeros in them; it is more towards the end of the vector. Higher up entries in the vector capture
higher frequency (DCT) components which tend to be capturing less of the content. Encode a series
of 0s as a (skip, value) pair, where skip is the number of zeros and value is the next non-zero
component.
Entropy Coding: The DC and AC coefficients finally undergo an entropy coding step to gain a possible
further compression. DC components are differentially coded as (Size , Value). Entropy code
(Huffman) of the final output.
The blockwise DCT of the Y, Cb and Cr components of the image are as shown below:
Comment: Y separate out the luma signal so that it can be stored with high resolution or
transmitted, Cb and Cr can be compressed with maintaine quality.
The original image, decoded image and MSE image is as shown in Fig. 3 below:
Comments:
To be compared, the JPEG compression support the quality parameter of the image even through it
hugely reduced the file size. The MSE value of jpeg compression is lower than the decoded image,
therefore the quality of the decoded is not as better as the jpeg picture.