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
Container Registry
Model registry
Operate
Environments
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
Antoine Belvire
otb
Commits
e7edf018
Commit
e7edf018
authored
19 years ago
by
Caroline Ruffel
Browse files
Options
Downloads
Patches
Plain Diff
nomsg
parent
ba56296b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/FeatureExtraction/otbTouziEdgeDetector.h
+5
-5
5 additions, 5 deletions
Code/FeatureExtraction/otbTouziEdgeDetector.h
with
5 additions
and
5 deletions
Code/FeatureExtraction/otbTouziEdgeDetector.h
+
5
−
5
View file @
e7edf018
...
@@ -26,10 +26,10 @@ namespace otb
...
@@ -26,10 +26,10 @@ namespace otb
* \brief Application of a filter of detection of contours.
* \brief Application of a filter of detection of contours.
*
*
* We define a square window of size 2n+1.
* We define a square window of size 2n+1.
* Then, we calculate the
average for
each half window located on both sides contour
* Then, we calculate the
mean of
each half window located on both sides
of the
contour
* in a given direction. The intensity of contour is then calculated in the four
* in a given direction. The intensity of contour is then calculated in the four
* directions
vertical
(\theta_{i})
, horizontal (\theta_{i}), diagonal 1 (\theta_{i})
* directions (\theta_{i})
vertical , diagonal 1, horizontal
* and diagonal 2
(\theta_{i})
:
* and diagonal 2 :
* \[R(\theta_{i}) = 1 - min(\fract{\mu_{1}/\mu_{2}};\fract{\mu_{2}/\mu_{1}}) \]
* \[R(\theta_{i}) = 1 - min(\fract{\mu_{1}/\mu_{2}};\fract{\mu_{2}/\mu_{1}}) \]
*
*
* The exit is an image of intensity of the detection of contour:
* The exit is an image of intensity of the detection of contour:
...
@@ -37,8 +37,8 @@ namespace otb
...
@@ -37,8 +37,8 @@ namespace otb
*
*
* An image of the direction of contours can also be determined by this filter:
* An image of the direction of contours can also be determined by this filter:
* \[D = \fract{\sum_{i=1}^{4} s_{i}\theta_{i}R(\theta_{i})}{\sum_{i=1}^{4} R(\theta_{i}} \[
* \[D = \fract{\sum_{i=1}^{4} s_{i}\theta_{i}R(\theta_{i})}{\sum_{i=1}^{4} R(\theta_{i}} \[
* where \[
s
i \mu_{1}>\mu_{2} s_{i}=+1 \]
* where \[i
f
\mu_{1}>\mu_{2} s_{i}=+1 \]
* \[
si
\mu_{1}<\mu_{2} s_{i}=-1 \]
* \[
else if
\mu_{1}<\mu_{2} s_{i}=-1 \]
*
*
*/
*/
...
...
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