]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Image/Functors/RegionGrowThresholdFunction.h
Submission to GRETSI
[FrontAlgorithms.git] / lib / fpa / Image / Functors / RegionGrowThresholdFunction.h
index 44cccc274e083f7408c976569bcfc80ff7a735b3..739dff4c24beb40c6d76c94e3977bef3d02bc588 100644 (file)
@@ -48,18 +48,11 @@ namespace fpa
             const I* img = this->GetInputImage( );
             if( img != NULL )
             {
-              /* TODO
-                 if( this->IsInsideBuffer( idx ) )
-                 {
-              */
               TPixel v = img->GetPixel( idx );
               return(
-                this->m_LowerThreshold <= v &&
-                v <= this->m_UpperThreshold
+                this->m_LowerThreshold <= v && v < this->m_UpperThreshold
                 );
 
-              // TODO: } // fi
-
             } // fi
             return( false );
           }