Now we are going to make a small program that performs Gaussian filtering on an image using cuFFT-based two-dimensional convolution. Gaussian filtering is an operation that smooths a rough image using what is known as a Gaussian filter. This is named as such because it is based on the Gaussian (normal) distribution in statistics. This is how the Gaussian filter is defined over two dimensions with a standard deviation of σ:
When we convolve a discrete image with a filter, we sometimes refer to the filter as a convolution kernel. Oftentimes, image processing engineers will just call this a plain kernel, but since ...