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
0a40ccfd
Commit
0a40ccfd
authored
16 years ago
by
Jordi Inglada
Browse files
Options
Downloads
Patches
Plain Diff
DOC: formatting for SURF example
parent
a41cc494
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
Examples/FeatureExtraction/SURFExample.cxx
+9
-7
9 additions, 7 deletions
Examples/FeatureExtraction/SURFExample.cxx
with
9 additions
and
7 deletions
Examples/FeatureExtraction/SURFExample.cxx
+
9
−
7
View file @
0a40ccfd
...
...
@@ -23,11 +23,12 @@ PURPOSE. See the above copyright notices for more information.
// Software Guide : BeginLatex
//
// This example illustrates the use of the \doxygen{otb}{ImageToSURFKeyPointSetFilter}.
// The Speed-Up Robust Features (or SURF) is an algorithm in
// computer vision to detect and describe local features in
// images. The algorithm is detailed in \cite{SURF}. The applications
// of SURF are the same as those for SIFT.
// This example illustrates the use of the
// \doxygen{otb}{ImageToSURFKeyPointSetFilter}. The Speed-Up Robust
// Features (or SURF) is an algorithm in computer vision to detect and
// describe local features in images. The algorithm is detailed in
// \cite{SURF}. The applications of SURF are the same as those for
// SIFT.
//
// The first step required to use this filter is to include its header file.
//
...
...
@@ -164,7 +165,7 @@ int main(int argc, char * argv[])
// Software Guide : BeginLatex
//
// We set the regions of the image by copying the information from the
// input image and we allocate the mem
e
ory for the output image.
// input image and we allocate the memory for the output image.
//
// Software Guide : EndLatex
...
...
@@ -258,7 +259,8 @@ int main(int argc, char * argv[])
ImageType
::
SpacingType
spacing
=
reader
->
GetOutput
()
->
GetSpacing
();
ImageType
::
PointType
origin
=
reader
->
GetOutput
()
->
GetOrigin
();
OutputImageType
::
SizeType
size
=
outputImage
->
GetLargestPossibleRegion
().
GetSize
();
OutputImageType
::
SizeType
size
=
outputImage
->
GetLargestPossibleRegion
().
GetSize
();
// Software Guide : EndCodeSnippet
// Software Guide : BeginLatex
...
...
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