0% found this document useful (0 votes)
34 views1 page

AID 324 Image Processing Prob#4

The document presents a problem set for an image processing course, focusing on 2-D convolution with given gray-scale image matrices and filter kernels. It includes tasks for expressing the matrices as 2-D signals, calculating sizes of convolutions, and verifying properties of the filters. Additionally, it requires repeating the analysis with different kernels, emphasizing the understanding of convolution effects and separability of filters.

Uploaded by

elmoo2ndtyb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views1 page

AID 324 Image Processing Prob#4

The document presents a problem set for an image processing course, focusing on 2-D convolution with given gray-scale image matrices and filter kernels. It includes tasks for expressing the matrices as 2-D signals, calculating sizes of convolutions, and verifying properties of the filters. Additionally, it requires repeating the analysis with different kernels, emphasizing the understanding of convolution effects and separability of filters.

Uploaded by

elmoo2ndtyb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

AID 324 Image Processing

Problems set #4

1. Given the following block of an indexed gray-scale image:

g = [ 12 20 23 25
15 5 30 28
10 0 21 22
13 4 2 3]
The following kernels of 2-D filters :
h1 = [ 0 0 1 ; 0 2 3 ; 4 5 6 ], h2 = 1/12 [ 1 2 1 ; 2 4 2 ; 1 2 1 ],
h3 = [ -1 -2 -1 ; 0 0 0 ; 1 2 1 ], h4 = [ 1 -2 1 ; -2 4 2 ; 1 -2 1 ],
a) Express the given matrices of g and h1 as 2-D signals g(n,m) and h1(n,m).

b) What are the total size of g**g and g**h1 ?

c) Compute the 2-D convolutions: y1 = g ** h1 using 2 different methods.


What is the effect of filtering g using h1?

d) Is h1(n,m) separable?
If yes,
d.1. Determine s1(n,m) and s2(n,m) such that h1(n,m) = s1(n,m) ** s2(n,m)

d.2. Verify y1 = (g *s1) * s2

d.3. Verify h1 ** h1 = (s1 * s1) ** (s2 * s2)

d.4. Verify g ** h1 = (g ** s1) ** s2

2. Repeat Problem 1 considering the following 2-D Kernels:

h2 = 1/12 [ 1 2 1 ; 2 4 2 ; 1 2 1 ],
h3 = [ -1 -2 -1 ; 0 0 0 ; 1 2 1 ],
h4 = [ -1 0 1 ; -2 0 2 ; -1 0 1 ],
h5 = [ 1 -2 1 ; -2 4 2 ; 1 -2 1 ],

You might also like