over each discrete kernel tap.
Whatever way you do it, make Make sure and to normalize the result so that the weights add up to 1. This makes sure that your blurring doesn’t make the image get brighter (greater than 1) or dimmer (less than 1).
====Calculating The Kernel Size====