]> Creatis software - FrontAlgorithms.git/blobdiff - appli/CTBronchi/MoriLabelling.h
...
[FrontAlgorithms.git] / appli / CTBronchi / MoriLabelling.h
index fc5edc48e9779461d2ca8fc6de16f7423ce9eb98..d6f1790d7e21499fbf8c1a8785cfb1768422da6b 100644 (file)
@@ -94,7 +94,22 @@ namespace CTBronchi
         double vStd = double( stats->GetSigma( ) );
         double vMin = double( stats->GetMinimum( ) );
         double vMax = double( stats->GetMaximum( ) );
-        std::exit( 1 );
+
+        this->m_MinVesselness = vAvg + ( vStd * double( 5 ) );
+        /* TODO
+           std::cout
+           << vAvg << std::endl
+           << vStd << std::endl
+           << vMin << std::endl
+           << vMax << std::endl;
+
+           std::cout
+           << ( this->m_VesselnessThreshold / double( 100 ) ) * double( vMax )
+           << std::endl
+           << vAvg + ( vStd * double( 3 ) ) << std::endl;
+
+           std::exit( 1 );
+        */
         /* TODO
            this->m_MinVesselness =
            ( this->m_VesselnessThreshold / double( 100 ) ) *