Q. Compute the output of correlation?
The following figure shows
(a) a 3-bit image of size 5-by-5 image in the square, with x and y coordinates specified,
(b) a Laplacian filter
                        image
| y\x | 0 | 1 | 2 | 3 | 4 | 
| 0 | 3 | 7 | 6 | 2 | 0 | 
| 1 | 2 | 4 | 6 | 1 | 1 | 
| 2 | 4 | 7 | 2 | 5 | 4 | 
| 3 | 3 | 0 | 6 | 2 | 1 | 
| 4 | 5 | 7 | 5 | 1 | 2 | 
Compute the following:
(a) The output of correlation of h=[1 1 0] and the first row. Assume the first row as 1-D image.
(b) The output of convolution of h=[1 1 0] at (0,0). Assume the first row as 1-D image.
(c) The output of a 3 × 3 mean filter at (2,2).
(d) The output of a 3 × 3 median filter at (2,2).
(e) The output of the 3 × 3 Laplacian filter shown above at (2,2).