diff --git a/Testing/Code/FeatureExtraction/otbLineRatioDetector.cxx b/Testing/Code/FeatureExtraction/otbLineRatioDetector.cxx
index 1cea7d8de6f215c3a3f258dc4b93f2c35a221800..df3ee2299c3ed53c1228b78923aeafaa50c7a054 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 0b4e967c2fece889153ada75bd33b1af6a3ac44e..81b3fe0fb95fdfe0a89754721d40a2521b037ad8 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();
         
 
     }