From 04650906d23b5402014e13a789a227cfbb5cab63 Mon Sep 17 00:00:00 2001 From: OTB Bot <otbbot@orfeo-toolbox.org> Date: Wed, 30 May 2012 19:58:02 +0200 Subject: [PATCH] STYLE --- .../Segmentation/otbLargeScaleSegmentation.cxx | 12 ++++++------ Examples/IO/OGRWrappersExample.cxx | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Applications/Segmentation/otbLargeScaleSegmentation.cxx b/Applications/Segmentation/otbLargeScaleSegmentation.cxx index c0a7a706d2..3d9c1c5ecd 100644 --- a/Applications/Segmentation/otbLargeScaleSegmentation.cxx +++ b/Applications/Segmentation/otbLargeScaleSegmentation.cxx @@ -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"); diff --git a/Examples/IO/OGRWrappersExample.cxx b/Examples/IO/OGRWrappersExample.cxx index 50e6977546..8b506411a8 100644 --- a/Examples/IO/OGRWrappersExample.cxx +++ b/Examples/IO/OGRWrappersExample.cxx @@ -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()); -- GitLab