Gaussian Blur

state-of-the-art parameter tuning

source image



The width and height of the Gaussian Kernel. Must be a positive odd number. Here I limit the kernel size between 3 ~ 21 since large kernels are unlikely. Typically we set the same value for Kernel X and Kernel Y.

Kernel X

Kernel Y


Standard deviation of the Gaussian Kernel, each referring to the X and Y component. Set Sigma X to 0 to calculate from kernel size. Set Sigma Y to 0 (default) to make it the same value as Sigma X.

Sigma X

Sigma Y

Border Type

The type of padding to use on border. Check out the documentation for further information on each border type. The default value is BORDER_DEFAULT.



*Disclaimer*: This site is not in any way associated with the OpenCV organization. Visit OpenCV.org for an updated documentation for the latest functions.

This site is built on the sheer annoyance and repetitive frustration the author experienced while tuning parameters on OpenCV. It is casually maintained in my spare time. You can DM me on Github for any feature suggestions.

© 2020~ Yu-Kai Wang