From 4132d448d263d25dbc3f67158d478a73f9dfdf0f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leonardo=20Fl=C3=B3rez-Valencia?= Date: Mon, 20 Feb 2017 15:52:01 -0500 Subject: [PATCH] ... --- lib/fpa/Image/MoriRegionGrow.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.45.0