0% found this document useful (0 votes)
118 views2 pages

Dip Mid

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

UNIVERSITY OF ENGINEERING AND TECHNOLOGY, TAXILA

FACULTY OF TELECOMMUNICATION AND INFORMATION ENGINEERING

SOFTWARE ENGINEERING DEPARTMENT

MID EXAM
DIGITAL IMAGE PROCESSING
Instructor:: Dr. Hassan Dawood Date:: 19th April, 2021
Credit Hours:: 3+1 Maximum Marks:25
Course Code:: SE-306
1. demonstrate in-depth knowledge of image and 2-D signal processing and use
their mathematical interpretation.
2. analyze and design various transformation functions/filters for image
enhancement, compression, morphology for binary, grayscale and color
images.
3. devise and evaluate algorithms for real-time problem solving using tools like
MATLAB and MS Visual Studio with OpenCV by conducting independent/
group study.
NOTE: Attempt all questions. Be precise and relevant in your answers. Return the
question paper along with the answer sheet.

Q: 1 (CLO-1)
1: For the given image strip below, specify how you would segment the image using region splitting
and merging technique. 5
5 6 6 7 7 7 6 6
6 7 6 7 5 5 4 7
6 6 4 4 3 2 5 6
5 4 5 4 2 3 4 6
0 3 2 3 3 2 4 7
0 0 0 0 2 2 5 6
1 1 0 1 0 3 4 4
1 0 1 0 2 3 5 4
2: For image subsets X and Y. Answers the following questions listed below. 4

a) For V={1}, tell whether these two subsets are 4-Adjacent, 8-Adjacent, m-Adjacent or none.
b) Mention Dm between pixel f(3,1) and pixel f(0,7).
c) Mention the chain code of minimum length from f(3,1) to f(0,7) using 8-connectivity.
d) Specify the distance transform of X via Manhattan Distance with reference to pixel f(2,1).

Q: 2 (CLO-2)
1: Show how the edges blur when using average filter and retains its original thickness in case of
median filter on the given image strip. 2

6th Term-SE DIP 1


UNIVERSITY OF ENGINEERING AND TECHNOLOGY, TAXILA
FACULTY OF TELECOMMUNICATION AND INFORMATION ENGINEERING

SOFTWARE ENGINEERING DEPARTMENT

255 255 255 0 0


255 255 255 0 0
255 255 255 0 0
2: Equalize the following image strip via histogram equalization and achieves the following tasks.
Gray Scale [0-255] 6
a) Calculate PDF of the following strip and draw
b) Calculate CDF of the following strip and draw
c) What will be the new strip and draw the transformation curve of input and equalized
histogram?
2 3 3 2
4 2 4 3
3 2 3 5
2 4 2 4

Q:3 (CLO:2)
1: Answer the following questions with reference to the image strip given below. 8
a) Draw a 3x3 mask to extract the contents of 2nd column of f(x,y) via AND operator.
b) What will be the effect of applying the following filter h1(x,y) on f(x,y)?
c) Apply weighted median filter h2(x,y) on f(x,y) and generate the resultant strip without
padding?
d) Apply bit plane slicing on f(x,y) and truncate the MSB block. What will be the effect on f(x,y).
Also draw the resultant image strip g(x,y)?

0 0 0 10 20 100 1 1 1
h1(x,y)= 0 0 0 f(x,y)= 10 250 30 h2(x,y)= 2 3 2
0 0 1 20 20 10 1 1 2

******************************************************
You will never have this day again so make it count
******************************************************

6th Term-SE DIP 2

You might also like