1)
In spatial filtering correlation and convolution are two closely related concepts Consider an image f(x,y and a filter w(x,y) as shown in Diagram l. (i) Evaluate the correlation and convolution of the 2-D filter with the discrete 2-D unit impulse.
(ii)
Evaluate the results in Ql using a symmetric filter g(x,y). Comment on the results obtained.
(iii)
If instead of containing a single 1, the image f(x,y contains a region identical to g(x,y) at the center, then what will be the outcome and significance of applying correlation?
0 0 fx,y= 0 0 0
0 0
0 0 0 0 0
07
0 0 0 0
1 w(xy= 2 3
1
1 2 2 3 3
1
0 0 0
0 0
To g(x,v- 1 0 Diagram1
0
2
1
1
0