AID 324 Image Processing ProbSet#2
AID 324 Image Processing ProbSet#2
Problems set #1
1. The 4k Ultra HDTV monitor has a resolution of 3840x2160 pixels. It offers a higher pixel density and
a sharper image quality than the WQXGA that has a resolution of 2560x1600 pixels.
g=[2 0 0 0 1; 0 0 1 0 2; 0 0 1 1 1;3 3 2 2 1 ; 1 2 0 0 1]
a) What is the spatial resolution of this image?
b) What is the color resolution of the image?
c) What is the total size of the uncompressed image bitstream?
d) Compute the Entropy of this digital image (as the optimal bit-rate of its lossless
representation.
e) Sketch the Huffman tree and find the corresponding Huffman codebook of the image.
f) What is the total size of the losslessly compressed bitstream of the Huffman coded
image?
g) Compute the corresponding Huffman coding bitrate.
h) Estimate the obtained Huffman coding compression ratio.
i) How many unique Huffman codebooks can be obtained by shuffling the 0-1 branches
assignments of the current Huffman tree?
j) List all possible Huffman codebooks.
k) Suggest a useful application of having multiple Huffman codebooks.
l) Discuss the advantages and limitations of your suggestion of Part k.
m) What is the worst obtained Huffman bit rate for the same gray-scale of the given image?
Explain in details when it could happen.
n) What is the main practical difficulty associated with Huffman coding hardware
implementation?