Question B.2 a) Consider the two images shown in Figure 3 with size 8 x 8, with black (intensity value equal to 0) and w
Posted: Sun May 08, 2022 9:21 pm
Question B.2 a) Consider the two images shown in Figure 3 with size 8 x 8, with black (intensity value equal to 0) and white (intensity value equal to 1) pixels. The black borders and grey lines of both images are for visualization purposes only. Figure 3 i) Sketch and compare the histograms of both images. [3 marks) ii) Suppose that each image is blurred with a 3 x 3 averaging mask. Are the histograms of the blurred images equal? Explain. [4 marks) iii) Sketch the histogram of the first blurred image, clearly indicating the different intensity values. [6 marks]
b) The white bars in the test pattern shown in Figure 4 are 7 pixels wide and 210 pixels high. The separation between bars is 17 pixels. What would this image look like after application of: Figure 4 i) A 9 x9 arithmetic mean filter? Justify your answer. [3 marks] ii) A 9 x 9 contraharmonic Q = 1 mean filter? Justify your answer. [3 marks] iii) A 9 x 9 median filter? Justify your answer. [3 marks] iv) A9 x 9 min filter? Justify your answer. [3 marks] [25 marks]
b) The white bars in the test pattern shown in Figure 4 are 7 pixels wide and 210 pixels high. The separation between bars is 17 pixels. What would this image look like after application of: Figure 4 i) A 9 x9 arithmetic mean filter? Justify your answer. [3 marks] ii) A 9 x 9 contraharmonic Q = 1 mean filter? Justify your answer. [3 marks] iii) A 9 x 9 median filter? Justify your answer. [3 marks] iv) A9 x 9 min filter? Justify your answer. [3 marks] [25 marks]