#include <itkImageToImageFilter.h>
#include <itkFunctionBase.h>
#include <fpa/Base/SeedsInterface.h>
+#include <fpa/Image/MarksInterface.h>
namespace fpa
{
template< class _TInputImage, class _TOutputImage >
class RegionGrow
: public itk::ImageToImageFilter< _TInputImage, _TOutputImage >,
- public fpa::Base::SeedsInterface< typename _TInputImage::IndexType, typename _TInputImage::IndexType::LexicographicCompare >
+ public fpa::Base::SeedsInterface< typename _TInputImage::IndexType, typename _TInputImage::IndexType::LexicographicCompare >,
+ public fpa::Image::MarksInterface< _TInputImage::ImageDimension >
{
public:
typedef _TInputImage TInputImage;
typedef itk::SmartPointer< const Self > ConstPointer;
typedef fpa::Base::SeedsInterface< TIndex, TIndexCompare > TSeedsInterface;
+ typedef fpa::Image::MarksInterface< _TInputImage::ImageDimension > TMarksInterface;
typedef itk::FunctionBase< TInputPixel, bool > TIntensityFunctor;
public:
protected:
typename TIntensityFunctor::Pointer m_IntensityFunctor;
- /* TODO
- TSeeds m_Seeds;
- */
TOutputPixel m_InsideValue;
TOutputPixel m_OutsideValue;
};