Compression Algorithms
Compression Algorithms
OUTLINE
-What is Compresssing?
-What is it for?
• a:1
• b : 10
• k : 110
• m: 1110
• ğ : 11110
• d : 11111
Huffman Algorithm…
• Let’s find the original bit number before we
give codes to the letters
• = (50+35+20+10+4+8) * 8 (8 bit for all letters)
= 1016 bits
And now,let’s find the new value after using
Huffman Coding,
= 50*1 + 35*2 + 20*3+10*4+4*5+8*5)
= 280 bits
Huffman Algorithm…