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, class _TOutput >
19 : public fpa::Image::Functors::Base< _TImage, fpa::Base::Functors::RegionGrow::Base< typename _TImage::IndexType, _TOutput > >
22 typedef _TImage TImage;
23 typedef _TOutput TOutput;
24 typedef typename TImage::IndexType TIndex;
25 typedef typename TImage::PixelType TPixel;
27 typedef fpa::Base::Functors::RegionGrow::Base< TIndex, TOutput > TBase;
28 typedef fpa::Image::Functors::Base< TImage, TBase > Superclass;
29 typedef BinaryThreshold Self;
30 typedef itk::SmartPointer< Self > Pointer;
31 typedef itk::SmartPointer< const Self > ConstPointer;
35 itkTypeMacro( BinaryThreshold, Base );
37 itkGetConstMacro( Lower, TPixel );
38 itkGetConstMacro( Upper, TPixel );
39 itkSetMacro( Lower, TPixel );
40 itkSetMacro( Upper, TPixel );
43 virtual TOutput Evaluate(
44 const TIndex& a, const TIndex& b
49 virtual ~BinaryThreshold( );
52 // Purposely not implemented
53 BinaryThreshold( const Self& other );
54 Self& operator=( const Self& other );
69 #ifndef ITK_MANUAL_INSTANTIATION
70 # include <fpa/Image/Functors/RegionGrow/BinaryThreshold.hxx>
71 #endif // ITK_MANUAL_INSTANTIATION
73 #endif // __fpa__Image__Functors__RegionGrow__BinaryThreshold__h__