Commit 50892219 authored by Jordi Inglada's avatar Jordi Inglada

DOC: small modifs to example

parent f7eb0a8f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment