]> Creatis software - FrontAlgorithms.git/commitdiff
...
authorLeonardo Flórez-Valencia <florez-l@javeriana.edu.co>
Mon, 20 Feb 2017 20:52:01 +0000 (15:52 -0500)
committerLeonardo Flórez-Valencia <florez-l@javeriana.edu.co>
Mon, 20 Feb 2017 20:52:01 +0000 (15:52 -0500)
lib/fpa/Image/MoriRegionGrow.hxx

index c414f25d92d8580d1d0008fb298cacdc4ed242f6..5c4efc1e921eb7879d37bdf575d083e983122f71 100644 (file)
@@ -37,7 +37,7 @@ _ContinueGenerateData( )
 
   // Analyze flooding
   bool stop = false;
-  if( this->m_N > double( 1 ) )
+  if( this->m_N > double( 10 ) )
   {
     double Q = double( this->m_PrevCount );
     Q += ( this->m_STD * this->m_Sensitivity );
@@ -62,6 +62,8 @@ _ContinueGenerateData( )
     this->m_STD = double( 0 );
   this->m_STD = std::sqrt( this->m_STD );
 
+  std::cout << u << " " << this->m_ActualCount << " " << this->m_STD << std::endl;
+
   if( u < this->m_Upper )
   {
     u += this->m_Step;