18 #ifndef __itkSegmentationLevelSetFunction_h
19 #define __itkSegmentationLevelSetFunction_h
46 template<
class TImageType,
class TFeatureImageType = TImageType >
74 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
90 {
return m_FeatureImage.GetPointer(); }
92 { m_FeatureImage = f; }
97 {
return m_SpeedImage.GetPointer(); }
98 void SetSpeedImage(ImageType *s);
103 {
return m_AdvectionImage.GetPointer(); }
104 void SetAdvectionImage(VectorImageType *s);
110 virtual void Initialize(
const RadiusType & r);
126 virtual void AllocateSpeedImage();
130 virtual void AllocateAdvectionImage();
142 virtual void ReverseExpansionDirection();
169 m_SpeedImage = ImageType::New();
170 m_AdvectionImage = VectorImageType::New();
171 m_Interpolator = InterpolatorType::New();
172 m_VectorInterpolator = VectorInterpolatorType::New();
181 void operator=(
const Self &);
185 #ifndef ITK_MANUAL_INSTANTIATION
186 #include "itkSegmentationLevelSetFunction.hxx"