+++ /dev/null
-#ifndef __fpa__Image__Functors__RegionGrowBinaryThreshold__h__
-#define __fpa__Image__Functors__RegionGrowBinaryThreshold__h__
-
-#include <fpa/Image/Functors/Base.h>
-#include <fpa/Base/RegionGrowFunctionBase.h>
-
-namespace fpa
-{
- namespace Image
- {
- namespace Functors
- {
- /**
- */
- template< class _TImage >
- class RegionGrowBinaryThreshold
- : public fpa::Image::Functors::Base< _TImage, fpa::Base::RegionGrowFunctionBase< typename _TImage::IndexType > >
- {
- public:
- typedef _TImage TImage;
- typedef typename TImage::IndexType TIndex;
- typedef typename TImage::PixelType TPixel;
-
- typedef fpa::Base::RegionGrowFunctionBase< TIndex > TBaseFunctor;
- typedef fpa::Image::Functors::Base< TImage, TBaseFunctor > Superclass;
- typedef RegionGrowBinaryThreshold Self;
- typedef itk::SmartPointer< Self > Pointer;
- typedef itk::SmartPointer< const Self > ConstPointer;
-
- public:
- itkNewMacro( Self );
- itkTypeMacro( RegionGrowBinaryThreshold, Base );
-
- itkGetConstMacro( LowerThreshold, TPixel );
- itkGetConstMacro( UpperThreshold, TPixel );
- itkSetMacro( LowerThreshold, TPixel );
- itkSetMacro( UpperThreshold, TPixel );
-
- public:
- virtual bool Evaluate(
- const TIndex& a, const TIndex& b
- ) const fpa_OVERRIDE;
-
- protected:
- RegionGrowBinaryThreshold( );
- virtual ~RegionGrowBinaryThreshold( );
-
- private:
- // Purposely not implemented
- RegionGrowBinaryThreshold( const Self& other );
- Self& operator=( const Self& other );
-
- protected:
- TPixel m_LowerThreshold;
- TPixel m_UpperThreshold;
- };
-
- } // ecapseman
-
- } // ecapseman
-
-} // ecapseman
-
-#ifndef ITK_MANUAL_INSTANTIATION
-# include <fpa/Image/Functors/RegionGrowBinaryThreshold.hxx>
-#endif // ITK_MANUAL_INSTANTIATION
-
-#endif // __fpa__Image__Functors__RegionGrowBinaryThreshold__h__
-
-// eof - $RCSfile$