AID 324 Image Processing Prob#4
AID 324 Image Processing Prob#4
Problems set #4
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).
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)
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 ],