X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FImage%2FFunctors%2FRegionGrow%2FBinaryThreshold.hxx;fp=lib%2Ffpa%2FImage%2FFunctors%2FRegionGrow%2FBinaryThreshold.hxx;h=0000000000000000000000000000000000000000;hb=247e634a1320371673c4b03bc94195d04fb997f5;hp=4184e03958d4ac649f3f25613ec54a6c762d7fe4;hpb=60785c9e18cab1a338f1ce54551e97a5ddfabac1;p=FrontAlgorithms.git diff --git a/lib/fpa/Image/Functors/RegionGrow/BinaryThreshold.hxx b/lib/fpa/Image/Functors/RegionGrow/BinaryThreshold.hxx deleted file mode 100644 index 4184e03..0000000 --- a/lib/fpa/Image/Functors/RegionGrow/BinaryThreshold.hxx +++ /dev/null @@ -1,39 +0,0 @@ -// ========================================================================= -// @author Leonardo Florez Valencia -// @email florez-l@javeriana.edu.co -// ========================================================================= - -#ifndef __fpa__Image__Functors__RegionGrow__BinaryThreshold__hxx__ -#define __fpa__Image__Functors__RegionGrow__BinaryThreshold__hxx__ - -// ------------------------------------------------------------------------- -template< class _TPixel > -bool fpa::Image::Functors::RegionGrow::BinaryThreshold< _TPixel >:: -Evaluate( const TPixel& value ) const -{ - return( this->m_Lower < value && value < this->m_Upper ); -} - -// ------------------------------------------------------------------------- -template< class _TPixel > -fpa::Image::Functors::RegionGrow::BinaryThreshold< _TPixel >:: -BinaryThreshold( ) - : Superclass( ) -{ - this->m_Upper = std::numeric_limits< TPixel >::max( ); - if( std::numeric_limits< TPixel >::is_integer ) - this->m_Lower = std::numeric_limits< TPixel >::min( ); - else - this->m_Lower = -this->m_Upper; -} - -// ------------------------------------------------------------------------- -template< class _TPixel > -fpa::Image::Functors::RegionGrow::BinaryThreshold< _TPixel >:: -~BinaryThreshold( ) -{ -} - -#endif // __fpa__Image__Functors__RegionGrow__BinaryThreshold__hxx__ - -// eof - $RCSfile$