Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
1af6b400
Commit
1af6b400
authored
16 years ago
by
Emmanuel Christophe
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Correction of Gabor formula in doxygen
parent
58686658
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/BasicFilters/otbGaborFilterGenerator.h
+15
-8
15 additions, 8 deletions
Code/BasicFilters/otbGaborFilterGenerator.h
with
15 additions
and
8 deletions
Code/BasicFilters/otbGaborFilterGenerator.h
+
15
−
8
View file @
1af6b400
...
...
@@ -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
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment