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
04650906
Commit
04650906
authored
12 years ago
by
OTB Bot
Browse files
Options
Downloads
Patches
Plain Diff
STYLE
parent
bd3168c2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Applications/Segmentation/otbLargeScaleSegmentation.cxx
+6
-6
6 additions, 6 deletions
Applications/Segmentation/otbLargeScaleSegmentation.cxx
Examples/IO/OGRWrappersExample.cxx
+2
-2
2 additions, 2 deletions
Examples/IO/OGRWrappersExample.cxx
with
8 additions
and
8 deletions
Applications/Segmentation/otbLargeScaleSegmentation.cxx
+
6
−
6
View file @
04650906
...
...
@@ -137,7 +137,7 @@ namespace otb
AddParameter
(
ParameterType_Choice
,
"filter"
,
"Segmentation algorithm"
);
SetParameterDescription
(
"filter"
,
"Choose your segmentation method (threaded mean-shift by default)."
);
AddChoice
(
"filter.meanshift"
,
"Threaded mean-shift"
);
AddChoice
(
"filter.meanshift"
,
"Threaded mean-shift"
);
SetParameterDescription
(
"filter.meanshift"
,
"Home-made threaded mean-shift filter."
);
...
...
@@ -181,15 +181,15 @@ namespace otb
SetDefaultParameterInt
(
"filter.meanshiftedison.minsize"
,
100
);
SetDefaultParameterFloat
(
"filter.meanshiftedison.scale"
,
100000.
);
AddParameter
(
ParameterType_Empty
,
"neighbor"
,
"Neighborhood vectorization strategy"
);
AddParameter
(
ParameterType_Empty
,
"neighbor"
,
"Neighborhood vectorization strategy"
);
SetParameterDescription
(
"neighbor"
,
"Pixel neighborhood vectorization strategy. 4 or 8 neighborhood .(4 neighborhood by default.)"
);
MandatoryOff
(
"neighbor"
);
AddParameter
(
ParameterType_Empty
,
"stitch"
,
"Stitch polygons"
);
SetParameterDescription
(
"stitch"
,
"Scan segments on each side of tiles and append polygons which have almost one picel in common."
);
SetParameterDescription
(
"stitch"
,
"Scan segments on each side of tiles and append polygons which have almost one picel in common."
);
MandatoryOff
(
"stitch"
);
EnableParameter
(
"stitch"
);
EnableParameter
(
"stitch"
);
AddChoice
(
"filter.connectedcomponent"
,
"Connected component Segmentation"
);
SetParameterDescription
(
"filter.connectedcomponent"
,
"Connected component segmentation based on mathematical condition."
);
...
...
@@ -227,7 +227,7 @@ namespace otb
" if tile size set to (0 by default)"
);
SetDefaultParameterInt
(
"tilesize"
,
0
);
MandatoryOff
(
"tilesize"
);
EnableParameter
(
"tilesize"
);
EnableParameter
(
"tilesize"
);
AddParameter
(
ParameterType_Int
,
"startlabel"
,
"start label"
);
SetParameterDescription
(
"startlabel"
,
"Start label (1 by default)"
);
...
...
@@ -283,7 +283,7 @@ namespace otb
if
(
use8connected
)
{
otbAppLogINFO
(
<<
"Use 8 connected neighborhood."
<<
std
::
endl
);
}
}
streamingVectorizedFilter
->
SetUse8Connected
(
use8connected
);
const
std
::
string
layerName
=
this
->
GetParameterString
(
"layername"
);
...
...
This diff is collapsed.
Click to expand it.
Examples/IO/OGRWrappersExample.cxx
+
2
−
2
View file @
04650906
...
...
@@ -185,8 +185,8 @@ int main(int argc, char * argv[])
// Software Guide : BeginCodeSnippet
// for (auto const& inputFeature : inputLayer)
for
(
otb
::
ogr
::
Layer
::
const_iterator
fb
=
inputLayer
.
begin
(),
fe
=
inputLayer
.
end
()
;
fb
!=
fe
;
++
fb
)
;
fb
!=
fe
;
++
fb
)
{
otb
::
ogr
::
Feature
const
&
inputFeature
=
*
fb
;
destGeometry
.
addGeometry
(
inputFeature
.
GetGeometry
());
...
...
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