Weighted average of the neighbours using a Gaussian bell: it attenuates noise and fine detail, giving more weight near the centre.
Parameters
| Parameter | Meaning |
|---|---|
| Kernel size (odd) | k, side of the kernel. It must be odd: an even value is raised to the next odd one. With a fixed sigma, k ≈ 6σ + 1 avoids truncating the bell. |
| Sigma (0 = automatic) | σ in pixels: the larger, the stronger the blur. 0 = computed from k. |
References
- OpenCV 4.x documentation — Image Filtering (GaussianBlur, blur, medianBlur, bilateralFilter, morphologyEx). docs.opencv.org/4.x/d4/d86/group__imgproc__filter.html
- R. C. Gonzalez, R. E. Woods. Digital Image Processing, 4th ed. Pearson, 2018.
- R. Szeliski. Computer Vision: Algorithms and Applications, 2nd ed. Springer, 2022. szeliski.org/Book/