void ComputeGaussianKernel | ( | int | kernelSize, |
float | sigma | ||
) |
This method computes a 'Gaussian' kernel.
A 'Gaussian' kernel is normally used in order to smooth values based on its neighbours. For more details, see https://en.wikipedia.org/wiki/Gaussian_function.
kernelSize | Determines the width of the used 'Gaussian' filter kernel. |
sigma | Determines the standard deviation of the 'Gaussian' distribution (bell curve). The width of the bell curve increases for a higher standard deviation values. |