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?