Compress the image using Run Length coding and Huffman coding. Draw the appropriate Huffman coding diagram to get the new codes for obtaining the image compression. How much compression ratio do you get using these techniques?
Assume that the 16 gray levels are coded into 4 bits.