You are on page 1of 1

Assignment # 3

Digital Image Processing


Assignment # 3
Uploading Date: 14-April-2012 Due Date: 25-April-2012 Marks: 15 Late Submission Penalty: Not accepted. Submission Method: Hard copy, handwritten or typed on A4 page.
Question 1: Consider the image shown below. The image has total 16 gray levels ranging from 0-15. Draw the histogram of the image. [Marks: 5] 15 2 6 7 13 12 11 9 6 10 13 10 5 14 1 1 7 11 2 9 10 0 4 10 5 14 13 6 4 1 11 5 12 8 11 13 8 10 3 13 6 2 7 1 5 10 1 6 14 10 Use both bar chart and line chart to show the histogram. 1 12 13 11 2 10 14 6 14 11 3 6 10 14 15 5 12 1 10 13 10 8 11 11 2 6 5 1 3 12 9 14 13 5 4 11 10 7 11 2 12 5 14 6 3 0 4 6 11 3

Question 2: Consider the 16 gray levels (0-15) image shown below. We want to do histogram equalization of this image. [Marks: 5] 3 3 2 2 12 11 0 0 11 8 15 15 14 14 8 8 8 8 2 2 8 12 8 8 12 8 8 8 2 2 11 11 14 14 0 0 a. Find and draw the histogram equalization transformation function for this image. b. Find histogram equalized image. Question 3: Write a MATLAB code to get and draw the histogram and equalized histogram of cameraman.jpg and lena.jpg image. [Marks: 5]

Ms. Bushra Sikander

Page 1

You might also like