]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Image/Functors/RegionGrowThresholdFunction.h
Some more debug... almost there
[FrontAlgorithms.git] / lib / fpa / Image / Functors / RegionGrowThresholdFunction.h
index 44cccc274e083f7408c976569bcfc80ff7a735b3..6da586d2249271f1017dcf78399993d2846d7bb9 100644 (file)
@@ -53,9 +53,12 @@ namespace fpa
                  {
               */
               TPixel v = img->GetPixel( idx );
+              std::cout
+                << v << " "
+                << this->m_LowerThreshold << " "
+                << this->m_UpperThreshold << std::endl;
               return(
-                this->m_LowerThreshold <= v &&
-                v <= this->m_UpperThreshold
+                this->m_LowerThreshold <= v && v < this->m_UpperThreshold
                 );
 
               // TODO: } // fi