0 / 60 seg.

In MATLAB, the imfilter command performs a convolution operation between an image and a matrix. Suppose you have an image loaded in MATLAB into the variable img and you apply the following code. The original image appears slightly blurred because the convolution smoothed out the image (removed noise). Why do you think this happened?

h = ones(5,5)/25;
imshow(imfilter(img,h));