From 92f46aceec32f3ce69a25c34725154c96c7a467b Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@c-s.fr>
Date: Mon, 21 May 2007 07:49:36 +0000
Subject: [PATCH] Erreur dans le test de road extraction (erreur sur le
 parametre max angular du link path).

---
 Testing/Code/FeatureExtraction/otbRoadExtractionFilter.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Testing/Code/FeatureExtraction/otbRoadExtractionFilter.cxx b/Testing/Code/FeatureExtraction/otbRoadExtractionFilter.cxx
index 38a0fe97ce..6cd5161098 100644
--- a/Testing/Code/FeatureExtraction/otbRoadExtractionFilter.cxx
+++ b/Testing/Code/FeatureExtraction/otbRoadExtractionFilter.cxx
@@ -58,7 +58,7 @@ int otbRoadExtractionFilter(int argc, char * argv[])
       const double MaxAngle = ((M_PI*::atof(argv[10]))/180.);
       const double FirstMeanDistanceThreshold  = ::atof(argv[11]);
       const double SecondMeanDistanceThreshold  = ::atof(argv[12]);
-      const double LinkAngularThreshold = ::atof(argv[13]);
+      const double LinkAngularThreshold = ((M_PI*::atof(argv[13]))/180.);
       const double LinkDistanceThreshold  = ::atof(argv[14]);
 	  
       // Instantiating object
-- 
GitLab