From 1af6b400527e6852acf757f4fc147358f2e031d8 Mon Sep 17 00:00:00 2001
From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org>
Date: Wed, 22 Oct 2008 09:54:39 +0800
Subject: [PATCH] DOC: Correction of Gabor formula in doxygen

---
 Code/BasicFilters/otbGaborFilterGenerator.h | 23 ++++++++++++++-------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/Code/BasicFilters/otbGaborFilterGenerator.h b/Code/BasicFilters/otbGaborFilterGenerator.h
index ce1fc9b757..3b36f6bdd1 100644
--- a/Code/BasicFilters/otbGaborFilterGenerator.h
+++ b/Code/BasicFilters/otbGaborFilterGenerator.h
@@ -46,17 +46,24 @@ namespace otb
    *
    * The formula used to compute these coefficients is as follows:
    * 
-   * \f$ g(x,y) = \epsilon^{-\pi((a(x cos(\theta)+y sin(\theta))^{2} +(b( y cos(\theta}-x sin(\theta))^{2})}*cos(2*\pi(u_{0}*x + v_{0}*y)+\phi) \f$
+   * \f$ g(x,y) = \exp\Big(-\pi((a x_\theta)^{2} +(b y_\theta)^{2})\Big) * \cos\big(2\pi(u_0*x + v_0*y)+\phi\big) \f$
+   *
+   * with:
+   *
+   * \f$ x_\theta = x \cos(\theta)+y \sin(\theta) \f$
+   * and
+   * \f$ y_\theta = y \cos(\theta)-x \sin(\theta) \f$
    *
    * Where:
    * 
-   * Radius         : Radius of the generated filter (GetRadius()/SetRadius())
-   * \f$ a      \f$ : Scale the x axis of the gaussian envelop. (GetA()/SetA())
-   * \f$ b      \f$ : Scale the y axis of the gaussian envelop (GetB()/SetB())
-   * \f$ \theta \f$ : Rotation angle of the gaussian envelop (in degree) (GetTheta()/SetTheta())
-   * \f$ u_0    \f$ : x spatial frenquency of the sinusoidal carrier (GetU0()/SetU0())
-   * \f$ v_0    \f$ : y spatial frenquency of the sinusoidal carrier (GetV0()/SetV0())
-   * \f$ \phi   \f$ : Phase of the sinusoidal carrier (GetPhi()/SetPhi())
+   * - Radius         : Radius of the generated filter (GetRadius()/SetRadius())
+   * - \f$ a      \f$ : Scale the x axis of the gaussian envelop. (GetA()/SetA())
+   * - \f$ b      \f$ : Scale the y axis of the gaussian envelop (GetB()/SetB())
+   * - \f$ \theta \f$ : Rotation angle of the gaussian envelop (in degree) (GetTheta()/SetTheta())
+   * - \f$ u_0    \f$ : x spatial frenquency of the sinusoidal carrier (GetU0()/SetU0())
+   * - \f$ v_0    \f$ : y spatial frenquency of the sinusoidal carrier (GetV0()/SetV0())
+   * - \f$ \phi   \f$ : Phase of the sinusoidal carrier (GetPhi()/SetPhi())
+   *
    */
 
 template <class TPrecision> 
-- 
GitLab