From 16a5806b58881256d47f2939609607eb3da9bb30 Mon Sep 17 00:00:00 2001
From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org>
Date: Fri, 1 Jun 2007 12:16:44 +0000
Subject: [PATCH] correction Software guide

---
 .../FeatureExtraction/ExtractRoadExample.cxx  | 19 ++++---------------
 1 file changed, 4 insertions(+), 15 deletions(-)

diff --git a/Examples/FeatureExtraction/ExtractRoadExample.cxx b/Examples/FeatureExtraction/ExtractRoadExample.cxx
index 75070ac7c3..b9fe2fc368 100755
--- a/Examples/FeatureExtraction/ExtractRoadExample.cxx
+++ b/Examples/FeatureExtraction/ExtractRoadExample.cxx
@@ -97,7 +97,7 @@ int main( int argc, char * argv[] )
    //  Software Guide : BeginLatex
    //
    //  The images are defined using the pixel type and the dimension. Please note that
-   //  the doxygen{otb}{RoadExtractionFilter} needs an \doxygen{otb}{VectorImage} as input
+   //  the \doxygen{otb}{RoadExtractionFilter} needs an \doxygen{otb}{VectorImage} as input
    //  to handle multispectral images.
    //
    //  Software Guide : EndLatex 
@@ -171,25 +171,14 @@ int main( int argc, char * argv[] )
    //  Software Guide : BeginLatex
    //
    //  An \doxygen{otb}{ImageFileReader} class is also instantiated in order to read
-   //  image data from a file. 
+   //  image data from a file. Then, an \doxygen{otb}{ImageFileWriter} is instantiated in order //  to write the output image to a file.
    //
    //  Software Guide : EndLatex 
    
-   // Software Guide : BeginCodeSnippet
-   
-   typedef otb::ImageFileReader<InputVectorImageType> ReaderType;
-
-   // Software Guide : EndCodeSnippet
-
-   //  Software Guide : BeginLatex
-   //  
-   // An \doxygen{otb}{ImageFileWriter} is instantiated in order to write the
-   // output image to a file.
-   //
-   //  Software Guide : EndLatex 
    
    // Software Guide : BeginCodeSnippet
    
+   typedef otb::ImageFileReader<InputVectorImageType> ReaderType; 
    typedef otb::ImageFileWriter<OutputImageType> WriterType;
 
    // Software Guide : EndCodeSnippet
@@ -429,7 +418,7 @@ int main( int argc, char * argv[] )
      // \itkcaption[Road extraction filter application]{Result of applying
      // the \doxygen{otb}{RoadExtractionFilter} to a fusionned Quickbird
      // image. From left to right : original image, extracted road with their
-     // likehood values.}  
+     // likehood values (color are inverted for display).}  
      // \label{fig:ROADEXTRACTION_FILTER} 
      // \end{figure}
      //
-- 
GitLab