Image Processing - Old Questions

2. Given the following frequency table obtained from the histogram of a 16 X 16, 8 level image.

M    0     1      2     3    4    5      6     7

NM 15    6    70   16   31   35   32   51

Where M = gray level and NM = pixels having Mth gray level.

Construct Huffmann code for each gray level. Calculate the compression ratio and the relative data redundancy assuming if 3-bit code is used to code the gray level instead of Huffmann code. [7+3 =10]

10 marks | Asked in Model Question