ece508-homework1-sol

ece508-homework1-sol - JPEG compression algorithm. Find the...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE508 Video Communications (Fall 2011) Homework #1 Solution (Due date: Sep 21, 2011) Reading assignment: Chapter 1 & 2 (Digital video processing and communications by Y. Wang, J. Ostermann, and Y.-Q. Zhang) Solve the following problems in the textbook Chapter1 problems: 1.1, 1.2, 1.3, 1.5 Chapter2 problems: 2.1 1.1 [Answer] 1.2 1.3 1.5
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2.1
Background image of page 2
Mini-project1: JPEG Baseline compression Write a C or MATLAB code for implementing the Baseline JPEG image compression algorithm. Figure 1 shows the key processing steps of the Baseline JPEG encoder and decoder. (Refer to the attached ITU-T Recommendation T.81 for detailed information.) (a) Compress the attached 512x512 gray-scale image “lena512.bmp (or lena512.pgm)” using your
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: JPEG compression algorithm. Find the compression ratio. [Answer] - Number of bits required without compression: 512x512x8bits - Number of bits after compression: Bits for DC + Bits for AC = approximately 17Kbits - Compression ratio = # bits without compression / # bits after compression = original image size / compressed file size = 11.85:1 (b) Decode the compressed bit stream and show the reconstructed image. Find the Peak Signal-to-Noise Ratio (PSNR) between the original and reconstructed images. [Answer] Reconstructed image - MAX = 255 for 8-bit input image - PSNR between the original and reconstructed image = 35.42 dB...
View Full Document

Page1 / 3

ece508-homework1-sol - JPEG compression algorithm. Find the...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online