From: Leonardo Flórez-Valencia Date: Mon, 20 Feb 2017 20:52:01 +0000 (-0500) Subject: ... X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4132d448d263d25dbc3f67158d478a73f9dfdf0f;p=FrontAlgorithms.git ... --- diff --git a/lib/fpa/Image/MoriRegionGrow.hxx b/lib/fpa/Image/MoriRegionGrow.hxx index c414f25..5c4efc1 100644 --- a/lib/fpa/Image/MoriRegionGrow.hxx +++ b/lib/fpa/Image/MoriRegionGrow.hxx @@ -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;