18 #ifndef sitkFastMarchingBaseImageFilter_h
19 #define sitkFastMarchingBaseImageFilter_h
102 SITK_RETURN_SELF_TYPE_HEADER
SetNormalizationFactor (
double NormalizationFactor ) { this->m_NormalizationFactor = NormalizationFactor;
return *
this; }
112 SITK_RETURN_SELF_TYPE_HEADER
SetStoppingValue (
double StoppingValue ) { this->m_StoppingValue = StoppingValue;
return *
this; }
119 typedef enum {Nothing,NoHandles,Strict} TopologyCheckType;
129 SITK_RETURN_SELF_TYPE_HEADER
SetTrialPoints ( std::vector< std::vector<unsigned int> > t )
131 this->m_TrialPoints = t;
return *
this;
137 this->m_TrialPoints.push_back( t );
return *
this;
143 this->m_TrialPoints.clear();
return *
this;
149 return this->m_TrialPoints;
153 std::string
GetName()
const {
return std::string (
"FastMarchingBaseImageFilter"); }
156 std::string ToString()
const;
171 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
172 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
Self & SetTopologyCheck(TopologyCheckType TopologyCheck)
#define SITKBasicFilters_EXPORT
Self & SetNormalizationFactor(double NormalizationFactor)
Self & AddTrialPoint(std::vector< unsigned int > t)
double m_NormalizationFactor
Self & SetTrialPoints(std::vector< std::vector< unsigned int > > t)
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
std::vector< std::vector< unsigned int > > GetTrialPoints() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
BasicPixelIDTypeList PixelIDTypeList
std::vector< std::vector< unsigned int > > m_TrialPoints
Image FastMarchingBase(const Image &imageA, std::vector< std::vector< unsigned int > > trialPoints, double normalizationFactor=1.0, double stoppingValue=std::numeric_limits< float >::max()/2.0, FastMarchingBaseImageFilter::TopologyCheckType topologyCheck=itk::simple::FastMarchingBaseImageFilter::Nothing)
The Image class for SimpleITK.
Apply the Fast Marching method to solve an Eikonal equation on an image.
Self & ClearTrialPoints()
Self & SetStoppingValue(double StoppingValue)
TopologyCheckType m_TopologyCheck
double GetNormalizationFactor() const
std::string GetName() const
FastMarchingBaseImageFilter Self
TopologyCheckType GetTopologyCheck() const
The base interface for SimpleITK filters that take one input image.
double GetStoppingValue() const