Where is OpenCV's getGaussianKernel method's formula for sigma coming from?

Viewed 149

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?

0 Answers
Related