5

I noticed that in the OpenCV documentation for getGaussianKernel, sigma is calculated using this formula:

sigma = 0.3*((ksize-1)*0.5 - 1) + 0.8 

Where is this formula coming from? Is this just some approximation that the OpenCV authors came up with?

Adriaan
  • 17,741
  • 7
  • 42
  • 75
Shisui
  • 1,051
  • 1
  • 8
  • 23

0 Answers0