Question

Compute the degree of compression that can be achieved using (i) Huffman coding, and (ii) Run length coding, assuming two-bits to represent the pixel value and twobits to represent the run length.

I=\begin{bmatrix} 3 & 3& 3 &2 \\ 2& 3& 3 & 3\\ 3 &2 & 2 &2 \\ 2 & 1& 1 &0 \end{bmatrix}

01 Dec 2023
Answer :
Word Count : 518

To compute the degree of compression achieved using Huffman coding and Run-Length coding, let's first understand the concepts of these coding techniques.

1. Huffman Coding:
   Huffman coding is a variable-length encoding algorithm that is used for lossless data compression. It assigns variable-length codes to input characters based on their frequencies. Characters that occur more frequently are assigned shorter codes, while less frequent characters are assigned longer codes.

   In the given matrix I:

   ```
   3 3 3 2
   2 3 3 3
   3 2 2 2
   2 1 1 0
   ```

   Let's find the frequencies of each unique value:

   - 0 occurs once
   - 1 occurs twice
   - 2 occurs six times
   - 3

__________ _______ ______ __________ __________ __________ ____.
______ _________ _______ _________ ____ _____ _________ _________.
_____ _____ ___ ___ _________ __________ ________ ______ ____.
____ ______ ________ _________ _________ _______ ________ _______.
__________ _________ _____ _____ ___ ____ ______ _________ ______.
__________ ___ __________ _____ ____.
_______ ____ ____ ___ ___ _________ _____ __________ ______ __________.
____ ___ _______ ________ ________.
____ _________ ________ _________ ________.
_________ __________ ____ __________ _____ __________ ____ _____ ______ ___ _____.
________ __________ _____ ______ _____ _________ ____ ______ _______ ______.
_________ ______ __________ _________ ___ ______.
______ _________ ______ ______ __________ _________ ________ ____ ______.
_____ ________ ____ __________ _______ ______ _______ ___ ________ __________ ______ ________.
_______ _________ ___ _________ ____.
________ ________ _________ _________ ____ ______ _____ ______ _____ ________ ______.
_______ __________ ______ _______ ____.
_______ _______ _______ __________ _____ __________ _______ ____ ______.
________ ________ _________ __________ _______ ____ ______ ___ ______ ____ ________.
__________ _______ ____ _________ _________ __________ ____.
________ _________ ______ ___ __________ ____ _______ ________ ________ __________ _________.
________ _______ ________ _________ _____ ____ ________ ____.
_____ __________ ____ _____ _______ ________ ___ _______ ________ _________.
________ _____ _____ ______ ____ __________ _______ __________ ________ ______.
___ __________ _________ _________ ____ ______ ________ __________.
_____ ______ _________ ___ ______ _________.
_____ ____ _______ _______ ___ ____ __________ _____ _________ _____.
_____ ____ ________ ________ __________ ____ ________ ___ _________ ________ ______.
________ _________ ___ ____ _____ ____.
_________ _________ __________ __________ ________ ________.
_____ _________ _________ __________ ___ ______.
___ _______ ___ ________ ______ ______.
________ ____ ____ _________ _____ ______ _______ ____.
_____ _____ _____ _______ _____ ___ ___ __________.
_________ __________ _____ _______ ____ ________.
___ __________ ____ ______ _________ _______ _____ _____ ___ __________.
_______ _________ ___ ___ ____ ___ ___ ____ _________ __________.
________ ______ ___ _____ __________ ______.
__________ _________ ______ ______ _____ _______ ________ __________ _______ __________ _______.
____ _________ ______ _________ __________ _______ _________ ______ ___ ___.
_______ __________ ________ ___ _______ _____ _____ _______.
_________ ____ ____ _____ ________ ________ ____ ________ _________ _________ _____.
_____ ______ ____ ___ ________ ___ ____ ____ __________ ______.
____ _____ _____ _____ _______ ______ _______.
____ __________ _____ __________ ____ ________ _____ _________.
_______ _________ _____ _______ _________ ___ _________ _______ ______ ______.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MMTE 3 2023 - Compute the degree of compression that can be achieved using (i) Huffm | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→