Question: 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` is a Gaussian filter that adds to 1. Its intended effect is to highlight image edges.
- `h` is an averaging filter uniformly distributed that adds to 1. Its intended effect is to smooth out images (remove noise).
- `h` is a Laplacian filter that adds up to 0. Its intended effect is to smooth out images (remove noise).
- `imfilter` is a function that always blurs the images.
Answer: The correct answer of the above question is Option B:`h` is an averaging filter uniformly distributed that adds to 1. Its intended effect is to smooth out images (remove noise).