Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

AIN SHAMSUNIVERSITY

FACULTY OF ENGINEERING
Credit Hours Engineering Programs - CHEP
Communication Systems Engineering Program - COMM
Mid Term Examination

Fall 2017 - Semester Exam Date : 11.11.2017 Exam Time 01:00 H.

Digital Image Processing - CSE 367 / COMM 552


The The Exam Consists of three Questions in one Page Total Marks: 25 Marks

Answer all Questions


Question 1 (10 Marks)
a) Explain why it is difficult to distinguish different colors in the dim light (3 Marks)

The rods in the back of the eye facilitate the scotopic vision for us to see in the dim light. Since the rods are
not sensitive to color, it is difficult to distinguish colors in the dim light.
b) Let V = {0, 2}, identify one shortest m-path between p and q and mark the pixels along this path
with shade on the following gray scale image
0 0 2 0 0 0 1
0 0 1 1 2 1 0 q
0 3 2 0 2 0 0
0 0 1 1 1 2 0
0 0 3 1 1 0 1
1 2 1 0 0 0 0
1 0 1 0 0 0 0
p

(4 Marks)
c) Determine whether the following 2D systems is linear:
y(m,n) = x(m,0) + x(m,n) (3 Marks)

Question 2 (15 Marks)


a) Briefly explain gamma correction. Moreover, if a monitor’s gamma value equals to 1.2.
What kind of pixel value transformation s = T(r) must be performed to correct it? (3 Marks)
Gamma correction is a power-law pixel transformation method to compensate the nonlinear
distortion of image display by stretching the low-intensity gray levels while compressing the
high intensity gray levels.

Examiner: Prof. Hazem Abbas 1


b) Prove that the histogram equalization transformation will produce an image of uniform
histogram. (5 Marks)

c) Consider a 5 x 5 image with 3 bits per pixel represented in a matrix format:

i. Compute the transformation s = T(r) that will equalize the histogram of this image I. The
values of s should be valid gray levels (4 Marks)

ii. Compute the equalized image and its corresponding histogram (3 Marks)

You might also like