Problem

Consider the simple 4 × 8, 8-bit image:212121951692432432432121219516924324324321212195169...

Consider the simple 4 × 8, 8-bit image:

21

21

21

95

169

243

243

243

21

21

21

95

169

243

243

243

21

21

21

95

169

243

243

243

21

21

21

95

169

243

243

243

(a) Compute the entropy of the image.


(b) Compress the image using Huffman coding.


(c) Compute the compression achieved and the effectiveness of the Huffman coding.


(d) Consider Huffman encoding pairs of pixels rather than individual pixels. That is, consider the image to be produced by the second extension of the zero-memory source that produced the original image. What is the entropy of the image when looked at as pairs of pixels?


(e) Consider coding the differences between adjacent pixels. What is the entropy of the new difference image? What does this tell us about compressing the image?


(f) Explain the entropy differences in (a), (d) and (e).

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 8