]> Creatis software - FrontAlgorithms.git/blobdiff - appli/CTBronchi/MoriLabelling.h
...
[FrontAlgorithms.git] / appli / CTBronchi / MoriLabelling.h
index ff6553e8419ce05ec3fe151c46721daece56467f..f9adb5ce8ea9de58bd51f22a3dcd9b293bd31372 100644 (file)
@@ -63,7 +63,7 @@ namespace CTBronchi
   protected:
     MoriLabelling( )
       : Superclass( ),
-        m_VesselnessThreshold( 0.05 ),
+        m_VesselnessThreshold( 5 ),
         m_UpperThreshold( -650 )
       {
         ivqITKInputConfigureMacro( InputLabels, _TLabels );
@@ -91,7 +91,7 @@ namespace CTBronchi
         minMax->SetImage( this->GetInputVesselness( ) );
         minMax->Compute( );
         this->m_MinVesselness =
-          ( 1.0  - this->m_VesselnessThreshold ) *
+          ( 1.0  - ( this->m_VesselnessThreshold / double( 100 ) ) ) *
           double( minMax->GetMaximum( ) );
       }