From 50892219befd6a97309049acd575d8003f508d78 Mon Sep 17 00:00:00 2001
From: Jordi Inglada <jordi.inglada@orfeo-toolbox.org>
Date: Wed, 20 Jan 2010 10:06:41 +0100
Subject: [PATCH] DOC: small modifs to example

---
 Examples/OBIA/ShapeAttributeComputation.cxx | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/Examples/OBIA/ShapeAttributeComputation.cxx b/Examples/OBIA/ShapeAttributeComputation.cxx
index a5e524642e..9858f92896 100755
--- a/Examples/OBIA/ShapeAttributeComputation.cxx
+++ b/Examples/OBIA/ShapeAttributeComputation.cxx
@@ -24,9 +24,9 @@
 //  Software Guide : BeginLatex
 //
 //  This basic example shows how compute shape attributes at the object level.
-//  The input image is firstly translated in a set of regions (of 
-// \doxygen{itk}{ShapeLabelObject}), some attributes values of each
-//  object are computed and then save to an ASCII file. 
+//  The input image is firstly converted into a set of regions (
+// \doxygen{itk}{ShapeLabelObject}), some attribute values of each
+//  object are computed and then saved to an ASCII file. 
 //
 //  Software Guide : EndLatex
 
@@ -53,7 +53,7 @@ int main(int argc, char * argv[])
   //  Software Guide : BeginLatex
   //
   // The image types are defined using pixel types and
-  // dimension. The input image is defined as an \doxygen{otb}{Image}.
+  // dimensions. The input image is defined as an \doxygen{otb}{Image}.
   //
   // Software Guide : EndLatex
 
@@ -85,8 +85,8 @@ int main(int argc, char * argv[])
   //  Software Guide : BeginLatex
   //
   // Here the \doxygen{itk}{ShapeLabelObject} type
-  // is chosen in order to read some attribute related to the shape
-  // of the objects (by opposition to the content of the object, with
+  // is chosen in order to read some attributes related to the shape
+  // of the objects, by opposition to the content of the object, with
   // the \doxygen{itk}{StatisticsLabelObject}.
   //
   // Software Guide : EndLatex
@@ -130,11 +130,11 @@ int main(int argc, char * argv[])
   //  Software Guide : BeginLatex
   //
   // Then, we can read the attribute values we're interested in. The \doxygen{itk}{BinaryImageToShapeLabelMapFilter}
-  // produce consecutive labels, so we can use a for loop and GetLabelObject() method to retrieve
-  // the label objects. If the labels are not consecutive, the GetNthLabelObject() method must be
-  // use instead of GetLabelObject(), or an iterator on the label
+  // produces consecutive labels, so we can use a for loop and \code{GetLabelObject()} method to retrieve
+  // the label objects. If the labels are not consecutive, the \code{GetNthLabelObject()} method must be
+  // use instead of \code{GetLabelObject()}, or an iterator on the label
   // object container of the label map.
-  // In this example, we print 2 shape attributes of each object to a text file (the size and the centroid coordinates).
+  // In this example, we write 2 shape attributes of each object to a text file (the size and the centroid coordinates).
   //
   // Software Guide : EndLatex
   
-- 
GitLab