

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Exam; Professor: Li; Class: Intro to Digital Image Process; Subject: Electrical Engineering; University: West Virginia University; Term: Spring 2006;
Typology: Exams
1 / 3
This page cannot be seen from the preview
Don't miss anything!


EE465 Introduction to Digital Image Processing Spring 2006 โ Midterm Exam Mar 9, 2006 (9:30-10:45AM)
INSTRUCTIONS:
b) (12 points) Binary image X and structuring element are given as follows.
Note: the formula of calculating distance transform is given by
where d(m,n;i,j) denotes the city-block distance between (m,n) and (i,j); 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 1 2 2 2 0 0 0 0 1 2 3 2 1 0 0 0 0 1 2 2 2 1 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0
b) (8 points) Use distance transform to find the skeleton of this image. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
b) (8 points) Design Huffman codes for the above 4-ary source;
c) (4 points) Calculate the code redundancy of the Huffman codes generated in b); r=l (^) avg -H(X)=2-1.918=0.082bps