diff --git a/Testing/Code/FeatureExtraction/otbRoadExtractionFilter.cxx b/Testing/Code/FeatureExtraction/otbRoadExtractionFilter.cxx index 38a0fe97ce98d4b83d181c1f6c6413304a92a494..6cd51610987b0f49549c1b39390d6a54eb7fd22d 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