Note that a few pixel values are independent of your student number.
(a) Calculate the entropy of the image in Figure 2. [5 Marks]
(b) Find the Huffman code of the image in Figure 2, and give its bit rate. [14 Marks]
(c) Convert the image in Figure 2 into a binary image with a threshold of 5, and give the run-length code for the resulting binary image. [6 Marks]
Question 3
(a) In Figure 3, the first image (0) is the original image and all the other images (1)-(7) are the results of the application of some image processing operations on (0). Identify what operation has been used to produce each of the images (1)-(7) from image (0), and explain your answers.
Figure 3: Original image (0) and the processed results (1-7) [15 Marks]
(b) After edge detection operation is applied to an image of dynamic range from 0 to 255, give two methods in mathematical terms to transform. pixel values of the resulting image to better show the edges. [5 Marks]
(c) Suppose that a medical image of size 1000x2000 covers an object of 5cm by 10cm. Answer the following questions:
i) What is the pixel size of the image?
ii) If the image has 3 components and the pixel values of two components are between 20 and 120, and the pixel values of the other component are between 50 and 250, how many megabytes do we need to store the whole image without compression? [5 Marks]