Convolution:
(i) Express this function in terms of kernel coefficients and convolve with image class.png, (x,y are coordinates of pixels)
Io(x,y)=I(x+1,y)-2*I(x,y)+I(x-1,y)+I(x+1,y-1)-2*I(x,y-1)+I(x-1,y-1)+I(x+1,y+1)-2*I(x,y+1)+I(x-1,y+1)
k=[?]
imshow(conv2(imn,k),[]);
What does this operation do with the image?
(ii) separate this kernel into two 1 dimensional kernels and show that a product of those two kernels is equal to the previous kernel.
kv=?
kh=?
Show how the image convolved with each kernel looks like.
What do these operations do separately?
(iii) perform convolution with kh on the output of kv
Is there any difference in the results compared to (i)?