From 6902fa6b1ca31bccae590368e770681467b0197e Mon Sep 17 00:00:00 2001 From: StevenPuttemans Date: Mon, 23 Feb 2015 15:23:02 +0100 Subject: [PATCH] fix formula getGaussianKernel in docs --- modules/imgproc/include/opencv2/imgproc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgproc/include/opencv2/imgproc.hpp b/modules/imgproc/include/opencv2/imgproc.hpp index a434500..85494b0 100644 --- a/modules/imgproc/include/opencv2/imgproc.hpp +++ b/modules/imgproc/include/opencv2/imgproc.hpp @@ -1051,7 +1051,7 @@ CV_EXPORTS_W Ptr createLineSegmentDetector( The function computes and returns the \f$\texttt{ksize} \times 1\f$ matrix of Gaussian filter coefficients: -\f[G_i= \alpha *e^{-(i-( \texttt{ksize} -1)/2)^2/(2* \texttt{sigma} )^2},\f] +\f[G_i= \alpha *e^{-(i-( \texttt{ksize} -1)/2)^2/(2* \texttt{sigma}^2)},\f] where \f$i=0..\texttt{ksize}-1\f$ and \f$\alpha\f$ is the scale factor chosen so that \f$\sum_i G_i=1\f$. -- 2.7.4