Here we are trying to implement the convolution operation between the filter and the image. We first create a ouput image having the same resolution as either one of the images, with each pixel having zero intensity. We also pad the original image with rows and columns containing 0s based on the size of the filter. [padder.m has the implementation.] To do the task in the previous mentioned sentence, we compute the center of the filter matrix. Finally we compute the convolution at the every pixel belonging to the original image and store that value in the corresponding output matrix. [my_conv.m contains the necessary implementation of this.]
![]() ![]() ![]() |
![]() |
![]() ![]() ![]() |
![]() |
![]() ![]() ![]() |
![]() |
![]() ![]() ![]() |
![]() |
![]() ![]() ![]() |
![]() |
for all images , cutoff frequency = 7