Question: 1. Given the following data, Apply Huffman coding algorithm to solve the following questions. (4 marks) Xi G H 1 J K L P(Xi)
1. Given the following data, Apply Huffman coding algorithm to solve the following questions. (4 marks) Xi G H 1 J K L P(Xi) a. Design the tree of the Huffman b. Create encoder/decoder block a. b. C. 0.20 0.01 0.10 0.25 0.30 0.14 C. Encode the following data: KILHIGJKJIGHILKI d. Decode the following data: 100100111010110101 2. Given the string: "RIYADH IS THE CAPITAL CITY OF SAUDI ARABIA", solve the compression problem using shanon fano algorithm. (4 marks) Design the tree Calculate the total entropy Provide the shanon fano coding table 3. Solve the compression calculation using run length encoding for the following image using 64 bits/pixel (compressed & uncompressed). 2 marks
Step by Step Solution
3.42 Rating (146 Votes )
There are 3 Steps involved in it
This image outlines a set of questions related to data compression techniques specifically Huffman coding and ShannonFano algorithm and also touches upon runlength encoding for image compression Howev... View full answer
Get step-by-step solutions from verified subject matter experts
