#ifndef __FPA__IMAGE__REGIONGROW__H__
#define __FPA__IMAGE__REGIONGROW__H__
-#include <itkImageFunction.h>
#include <itkImageToImageFilter.h>
#include <itkIndex.h>
#include <fpa/Base/RegionGrow.h>
#include <fpa/Image/Algorithm.h>
+#include <fpa/Image/Functors/ImageFunction.h>
namespace fpa
{
typedef itk::SmartPointer< Self > Pointer;
typedef itk::SmartPointer< const Self > ConstPointer;
- typedef itk::ImageFunction< I, bool > TMembershipFunction;
+ typedef
+ fpa::Image::Functors::ImageFunction< I, bool >
+ TMembershipFunction;
public:
itkNewMacro( Self );
this->GetInput( )
)
this->m_MembershipFunction->SetInputImage( this->GetInput( ) );
- return( this->m_MembershipFunction->EvaluateAtIndex( n.Vertex ) );
+ return( this->m_MembershipFunction->Evaluate( n.Vertex ) );
}
else
return( false );