Question: 2. a) An image patch. I generated by a camera, containing pixel values between 0 through 7, is given as: 1 3 7 3 1

2. a) An image patch. I generated by a camera, containing pixel values between 0 through 7, is given as: 1 3 7 3 1 5 5 4 1 0 0 0 0 07 7 5 1 3 2 4 I = 0 1 1 1 0 5 0 1 2 0 0 0 6 0 1 0 1 5 3 3 5 4 0 0 0 0 0 0 0 0 0 0 4 2 3 0 0 1 i) Calculate the probability of pixel values in I. 4 ii) Design a Huffman code to compress this image. 10 iii) 5 What is the average number of bits needed to encode each pixel using the Huffman code you designed in a(11)
Step by Step Solution
There are 3 Steps involved in it
To solve this problem follow these steps i Calculate the probability of pixel values in I Step 1 Cou... View full answer
Get step-by-step solutions from verified subject matter experts
