From c7b5db63469fd7439f692aef359d9f6ca192da2f Mon Sep 17 00:00:00 2001
From: Caroline Ruffel <caroline.ruffel@c-s.fr>
Date: Tue, 21 Mar 2006 16:20:13 +0000
Subject: [PATCH] nomsg

---
 .../Code/FeatureExtraction/otbLineRatioDetector.cxx  | 12 ++++++------
 .../FeatureExtraction/otbLineRatioDetectorNew.cxx    |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/Testing/Code/FeatureExtraction/otbLineRatioDetector.cxx b/Testing/Code/FeatureExtraction/otbLineRatioDetector.cxx
index 1cea7d8de6..df3ee2299c 100755
--- a/Testing/Code/FeatureExtraction/otbLineRatioDetector.cxx
+++ b/Testing/Code/FeatureExtraction/otbLineRatioDetector.cxx
@@ -50,12 +50,12 @@ int otbLineRatioDetector( int argc, char* argv[] )
         typedef otb::ImageFileWriter< OutputImageType >         WriterType;
 
         typedef itk::LinearInterpolateImageFunction< InputImageType, double >	InterpolatorType;
-        typedef otb::TupinEdgeDetector< InputImageType, OutputImageType, InterpolatorType >   FilterType;
+        typedef otb::LineRatioDetector< InputImageType, OutputImageType, InterpolatorType >   FilterType;
 	
-        FilterType::Pointer filtreTupin = FilterType::New();
+        FilterType::Pointer FilterLineRatio = FilterType::New();
         
-	filtreTupin->SetWidthLine( WidthLine );
-	filtreTupin->SetLengthLine( LengthLine );
+	FilterLineRatio->SetWidthLine( WidthLine );
+	FilterLineRatio->SetLengthLine( LengthLine );
 	
         ReaderType::Pointer reader = ReaderType::New();
         WriterType::Pointer writer = WriterType::New();
@@ -63,8 +63,8 @@ int otbLineRatioDetector( int argc, char* argv[] )
         reader->SetFileName( inputFilename  );
         writer->SetFileName( outputFilename );
         
-        filtreTupin->SetInput( reader->GetOutput() );
-        writer->SetInput( filtreTupin->GetOutput() );
+        FilterLineRatio->SetInput( reader->GetOutput() );
+        writer->SetInput( FilterLineRatio->GetOutput() );
         
         writer->Update();
 
diff --git a/Testing/Code/FeatureExtraction/otbLineRatioDetectorNew.cxx b/Testing/Code/FeatureExtraction/otbLineRatioDetectorNew.cxx
index 0b4e967c2f..81b3fe0fb9 100755
--- a/Testing/Code/FeatureExtraction/otbLineRatioDetectorNew.cxx
+++ b/Testing/Code/FeatureExtraction/otbLineRatioDetectorNew.cxx
@@ -34,9 +34,9 @@ int otbLineRatioDetectorNew( int argc, char* argv[] )
         typedef itk::Image< InputPixelType,  Dimension >        InputImageType;
         typedef itk::Image< OutputPixelType, Dimension >        OutputImageType;
 
-        typedef otb::TupinEdgeDetector< InputImageType, OutputImageType>   FilterType;
+        typedef otb::LineRatioEdgeDetector< InputImageType, OutputImageType>   FilterType;
 	
-        FilterType::Pointer filtreTupin = FilterType::New();
+        FilterType::Pointer FilterLineRatio = FilterType::New();
         
 
     } 
-- 
GitLab