Tutorial 1 UEC1722

You might also like

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

Sri Sivasubramaniya Nadar College of Engineering, Kalavakkam – 603 110

(An Autonomous Institution, Affiliated to Anna University, Chennai)


Department of Electronics and Communication Engineering
UEC1722 Digital Image and Video Processing
Tutorial-Unit I

1. Consider the Image segment shown below:


0 1 2 1 1 (q)
21012
(p) 1 2 2 1 2
Let V= {0,1} Compute D4, D8 and Dm distance between p and q
2. Consider the Image segment shown below:
0 1 2 1 1 (q)
21012
(p) 1 2 2 1 2
Let V= {0,1} Compute D4, D8 and Dm distance between p and q

3. Consider an image segment:


34120
0 1 0 4 2 (q)
22314
(p) 3 0 4 2 1
Let V = {0,1,2} compute the length of the shortest 4,8,m path between p and q.

4. With examples explain the following distance measures: i. Euclidean ii. City –block iii.
Chess – board
5. Assume an object of size 10 m is at a distance of 80m from a person having a focal
length of 15 mm, determine the size of the image as visualized in the human eye.
6. If an image of size 1024×1024, is represented with 16 different gray level intensities,
determine its storage requirements.
7. Consider the following image patch
0234
5673
1452
Determine the negative of the image patch.
8. Explain thresholding, bit plane slicing and gray level slicing of the image patch in Q.
No. 7 with suitable functions
9. Equalize the image that has the following pixel values and the related frequency of
occurrence
Gray Level Frequency
Value

0 2

1 4

2 6

3 8

4 10

5 12

6 14

7 16

9. Consider the following input image and match the same with respect to the target image
provided.

Input image Target image

10. Create a 6×6 Gaussian kernel.

11. Consider following image patch,


3 2 4 5 4
3 4 25 5 4
3 5 15 5 3
3 4 5 24 3
4 5 2 34 4
a. Apply 3×3 averaging, weighted averaging, Gaussian kernels over the patch with
all possible padding techniques (zero, 255, replicate), without padding and
produce the filtered image. Comment on the results.
b. Apply order statistic filters of dimension 3×3 over the patch with all possible
padding techniques (zero, 255, replicate), without padding and produce the
filtered image. Comment on the results.
c. Apply all sharpening filters (Laplacian, Composite Laplacian, unsharp masking,
high boost filtering) over the patch without padding and produce the filtered
image. Comment on the results.
d. Apply 3×3 averaging, weighted averaging, Gaussian kernels over the patch with
all possible padding techniques (zero, 255, replicate), without padding and
produce the filtered image. Comment on the results.
e. Apply Robert, Sobel, Prewitt and Scharr derivative kernels over the patch
without padding and produce the filtered image. Comment on the results.

12. Assume that the row of an image is having the following values,
22 23 23 23 23 25 27 29 32 32 32 32 45 45
Determine the first order and second order derivatives of the same and verify the
properties of the same.

You might also like