diff --git a/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx b/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx index 5dc1964cb86531b2faffc90e99b7881623de78f8..2d517508dd47ef016d4db0127a9499b3ed43cc19 100644 --- a/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx +++ b/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx @@ -131,7 +131,8 @@ int main(int argc, char * argv[]) // Software Guide : EndLatex // Software Guide : BeginCodeSnippet - typedef otb::MeanShiftVectorImageFilter<VectorImageType,VectorImageType, LabeledImageType> FilterType; + typedef otb::MeanShiftVectorImageFilter + <VectorImageType,VectorImageType, LabeledImageType> FilterType; FilterType::Pointer filter = FilterType::New(); filter->SetSpatialRadius(spatialRadius); filter->SetRangeRadius(rangeRadius); diff --git a/Examples/OBIA/ShapeAttributeComputation.cxx b/Examples/OBIA/ShapeAttributeComputation.cxx index 9858f92896326b3dca8efc3e3ab9571a88e2337f..27c613900a4341529c93a67819fdf5893896b2b4 100755 --- a/Examples/OBIA/ShapeAttributeComputation.cxx +++ b/Examples/OBIA/ShapeAttributeComputation.cxx @@ -144,10 +144,11 @@ int main(int argc, char * argv[]) LabelMapType::Pointer labelMap = shape->GetOutput(); for( unsigned long label=1; label<=labelMap->GetNumberOfLabelObjects(); label++ ) { - // we don't need a SmartPointer of the label object here, because the reference is kept in + // we don't need a SmartPointer of the label object here, because the reference is kept // in the label map. const LabelObjectType * labelObject = labelMap->GetLabelObject( label ); - outfile << label << "\t" << labelObject->GetPhysicalSize() << "\t" << labelObject->GetCentroid() << std::endl; + outfile << label << "\t" << labelObject->GetPhysicalSize() << "\t" + << labelObject->GetCentroid() << std::endl; } outfile.close();