Gaussian Kernel Calculator

Calculates a normalised Gaussian Kernel of the given sigma and support. Support is the percentage of the gaussian energy that the kernel covers and is between 0 and 1. Lower values make smaller but lower quality kernels. Kernels are symmetric around zero and higher dimensional kernels are just tensor products of 1d kernels, so the minimal 1d kernel is all that is really needed if you use the same sigma for each axis. Small sigma correction is used to make sigmas smaller than 1.0 more accurate (

Nikita Lisitsa made a calculator which gives you coefficients to use along with a linear texture interpolator for fewer texture reads here:


2D Kernel

1D Kernel

1D Minimal Kernel