From 9725cf3e311fff23afc6bbdce427eee1db63c9c8 Mon Sep 17 00:00:00 2001
From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org>
Date: Wed, 17 Sep 2008 17:04:39 +0000
Subject: [PATCH] ENH: good default parameters

---
 Code/FeatureExtraction/otbGenericRoadExtractionFilter.txx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Code/FeatureExtraction/otbGenericRoadExtractionFilter.txx b/Code/FeatureExtraction/otbGenericRoadExtractionFilter.txx
index 5ad1b49f69..905ad8504b 100644
--- a/Code/FeatureExtraction/otbGenericRoadExtractionFilter.txx
+++ b/Code/FeatureExtraction/otbGenericRoadExtractionFilter.txx
@@ -49,7 +49,7 @@ GenericRoadExtractionFilter<TInputImage, TOutputPath>
         m_LikehoodPathListFilter = LikehoodPathListFilterType::New();
         
         /** Amplitude threshold to start following a path (use by the VectorizationPathListFilter)*/
-        m_AmplitudeThreshold = static_cast<AmplitudeThresholdType>(1.);
+        m_AmplitudeThreshold = static_cast<AmplitudeThresholdType>(0.00005 );
         /** Tolerance for segment consistency (tolerance in terms of distance) (use by the SimplifyPathFilter)*/
         m_Tolerance = static_cast<ToleranceType>(1.);
         /** Max angle (use bye the BreakAngularPathListFilter)*/
@@ -65,7 +65,7 @@ GenericRoadExtractionFilter<TInputImage, TOutputPath>
 
         /** Alpha value */
         /** Use to calculate the sigma value use by the GradientRecursiveGaussianImageFilter */
-        m_Alpha = 0.;
+        m_Alpha = 1.0;
         
         /** Resolution of the image */
         m_Resolution = 1.;
-- 
GitLab