diff --git a/Applications/Segmentation/otbMeanShiftSmoothing.cxx b/Applications/Segmentation/otbMeanShiftSmoothing.cxx index d22a4ba967224a2d5fdd648b47f0cb4e579aceff..75a36c9e7edb9f60e74db61728fd39f7ddba2a67 100644 --- a/Applications/Segmentation/otbMeanShiftSmoothing.cxx +++ b/Applications/Segmentation/otbMeanShiftSmoothing.cxx @@ -73,7 +73,6 @@ private: - AddParameter(ParameterType_Int, "maxiter", "Maximum number of iterations"); SetParameterDescription("maxiter", "Algorithm iterative scheme will stop if convergence hasn't been reached after the maximum number of iterations."); MandatoryOff("maxiter"); diff --git a/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx b/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx index 7f67f4e56b0f3b6795ac83c92797928725e2aa36..7fa63a4184fb4dac9290a776c593000f0aa2359d 100644 --- a/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx +++ b/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx @@ -49,8 +49,8 @@ struct ProcessVisitor : boost::static_visitor<> assert(source && "can't filter a nil datasource"); assert(destination && "can't filter to a nil datasource"); for (otb::ogr::DataSource::const_iterator b = source->begin(), e = source->end() - ; b != e - ; ++b + ; b != e + ; ++b ) { otb::ogr::Layer const& sourceLayer = *b; diff --git a/Examples/BasicFilters/MeanShiftSegmentationFilterExample.cxx b/Examples/BasicFilters/MeanShiftSegmentationFilterExample.cxx index 6fbd88110dc465d87c19be35d6a14cfb711b1f2b..e6456a7762c8d015e36afa7b271dcadfc0249d28 100644 --- a/Examples/BasicFilters/MeanShiftSegmentationFilterExample.cxx +++ b/Examples/BasicFilters/MeanShiftSegmentationFilterExample.cxx @@ -141,7 +141,6 @@ int main(int argc, char * argv[]) filter->SetSpatialBandwidth(spatialRadius); filter->SetRangeBandwidth(rangeRadius); filter->SetMinRegionSize(minRegionSize); - // Software Guide : EndCodeSnippet // Software Guide : BeginLatex // @@ -151,10 +150,8 @@ int main(int argc, char * argv[]) // Software Guide : EndLatex // Software Guide : BeginCodeSnippet - filter->SetMaxIterationNumber(maxiter); filter->SetThreshold(thres); - // Software Guide : EndCodeSnippet // Software Guide : BeginLatex // @@ -169,7 +166,6 @@ int main(int argc, char * argv[]) writer1->Update(); writer2->Update(); - // Software Guide : EndCodeSnippet // Software Guide : BeginLatex