'Box Blur Convolution Outputting Same Result After Changing Kernel
I am new to Matlab and I am trying to use a box blur on a grayscale image. When I change the values in the kernel I use, I do not see any difference in the blurred images I get.
box_filter = 1/9 * [1, 1, 1; 1, 1, 1; 1, 1, 1];
box_blur_grey = mat2gray(conv2(box_filter, grey));
figure, imshow(box_blur_grey);
If, for example, I do box_filter = 1/18 * [1, 1, 1; 1, 1, 1; 1, 1, 1];, I do not see any change in box_blur_grey. Can anybody please help me find out why this happens? Thank you!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
