1 #ifndef __fpa__Image__Functors__RegionGrow__BinaryThreshold__h__
2 #define __fpa__Image__Functors__RegionGrow__BinaryThreshold__h__
4 #include <fpa/Image/Functors/Base.h>
5 #include <fpa/Base/Functors/RegionGrow/Base.h>
17 template< class _TImage >
19 : public fpa::Image::Functors::Base< _TImage, fpa::Base::Functors::RegionGrow::Base< typename _TImage::IndexType > >
22 typedef _TImage TImage;
23 typedef typename TImage::IndexType TIndex;
24 typedef typename TImage::PixelType TPixel;
26 typedef fpa::Base::Functors::RegionGrow::Base< TIndex > TBase;
27 typedef fpa::Image::Functors::Base< TImage, TBase > Superclass;
28 typedef BinaryThreshold Self;
29 typedef itk::SmartPointer< Self > Pointer;
30 typedef itk::SmartPointer< const Self > ConstPointer;
34 itkTypeMacro( BinaryThreshold, Base );
36 itkGetConstMacro( Lower, TPixel );
37 itkGetConstMacro( Upper, TPixel );
38 itkSetMacro( Lower, TPixel );
39 itkSetMacro( Upper, TPixel );
42 virtual bool Evaluate(
43 const TIndex& a, const TIndex& b
48 virtual ~BinaryThreshold( );
51 // Purposely not implemented
52 BinaryThreshold( const Self& other );
53 Self& operator=( const Self& other );
68 #ifndef ITK_MANUAL_INSTANTIATION
69 # include <fpa/Image/Functors/RegionGrow/BinaryThreshold.hxx>
70 #endif // ITK_MANUAL_INSTANTIATION
72 #endif // __fpa__Image__Functors__RegionGrow__BinaryThreshold__h__