X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FImage%2FFunctors%2FRegionGrow%2FBinaryThreshold.hxx;h=7f2b9dca99bc40f2e4b78cfdbe6a95d0ab3137ec;hb=d93ab4fea6dbc791560451ecdc4bf7555d8cf11d;hp=e1853e2ca7db676bdb483d41e91f21e8497f29da;hpb=40fb0405cfef444001429f8ba49c407ce9168a94;p=FrontAlgorithms.git diff --git a/lib/fpa/Image/Functors/RegionGrow/BinaryThreshold.hxx b/lib/fpa/Image/Functors/RegionGrow/BinaryThreshold.hxx index e1853e2..7f2b9dc 100644 --- a/lib/fpa/Image/Functors/RegionGrow/BinaryThreshold.hxx +++ b/lib/fpa/Image/Functors/RegionGrow/BinaryThreshold.hxx @@ -15,7 +15,7 @@ Evaluate( const TIndex& a, const TIndex& b ) const { TPixel v = im->GetPixel( b ); return( - ( this->m_Lower <= v && v <= this->m_Upper )? + ( this->m_Lower < v && v < this->m_Upper )? this->m_InsideValue: this->m_OutsideValue );