mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
fix formula getGaussianKernel in docs
This commit is contained in:
parent
7b270f4c69
commit
6902fa6b1c
@ -1051,7 +1051,7 @@ CV_EXPORTS_W Ptr<LineSegmentDetector> 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$.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user