Gaussian Kernel Calculator

<

About

This Calculator allows you to calculate kernel values for a 1D Gaussian Kernel. It uses the pascal triangle to determine the weights and normalizes them afterwards.

This can be very useful for creating a two pass Gaussian Blur for Real-Time applications. This is the reason I originally created this tool.

To use it, enter a sample amount and it will calculate the appropriate kernel weights for your gaussian blur. It is recommended to use uneven numbers so you can center your current pixel.

Settings

Sample Count


1D Weights

Enter the desired sample count and press Calculate

GLSL Code

Enter the desired sample count and press Calculate