From ef91dcead9611dfeaf308d1542fd75ba5eece1a0 Mon Sep 17 00:00:00 2001
From: Manuel Grizonnet <manuel.grizonnet@gmail.com>
Date: Thu, 21 Jan 2010 13:29:35 +0100
Subject: [PATCH] DOC:QB color composition inversion

---
 Examples/FeatureExtraction/ExtractRoadByStepsExample.cxx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Examples/FeatureExtraction/ExtractRoadByStepsExample.cxx b/Examples/FeatureExtraction/ExtractRoadByStepsExample.cxx
index ba5306b965..574d7ca058 100755
--- a/Examples/FeatureExtraction/ExtractRoadByStepsExample.cxx
+++ b/Examples/FeatureExtraction/ExtractRoadByStepsExample.cxx
@@ -478,9 +478,9 @@ int main( int argc, char * argv[] )
   channelExtractor2->SetInput(vr->GetOutput());
   channelExtractor3->SetInput(vr->GetOutput());
 
-  channelExtractor1->SetChannel(1);
+  channelExtractor1->SetChannel(3);
   channelExtractor2->SetChannel(2);
-  channelExtractor3->SetChannel(3);
+  channelExtractor3->SetChannel(1);
 
   // Add the path to the red component
   addFilter->SetInput1(channelExtractor1->GetOutput());
@@ -533,7 +533,7 @@ int main( int argc, char * argv[] )
   // is a RGB composition showing the extracted path in red. Full processing took
   // about 3 seconds for each image.
   //
-  // \begin{figure}
+  // \begin{figure}[htbp]
   // \center
   // \includegraphics[width=0.44\textwidth]{qb_ExtractRoad_pretty.eps}
   // \includegraphics[width=0.44\textwidth]{ExtractRoadByStepsExampleOutput.eps}
@@ -544,7 +544,7 @@ int main( int argc, char * argv[] )
   // \label{fig:ROADEXTRACTIONBYSTEPS}
   // \end{figure}
   //
-  // \begin{figure}
+  // \begin{figure}[htbp]
   // \center
   // \includegraphics[width=0.44\textwidth]{qb_ExtractRoad_pretty2.eps}
   // \includegraphics[width=0.44\textwidth]{ExtractRoadByStepsExampleOutput2.eps}
-- 
GitLab