18 #ifndef itkSegmentationLevelSetFunction_h
19 #define itkSegmentationLevelSetFunction_h
46 template <
typename TImageType,
typename TFeatureImageType = TImageType>
62 using typename Superclass::ImageType;
63 using typename Superclass::RadiusType;
64 using typename Superclass::PixelRealType;
66 using typename Superclass::FloatOffsetType;
67 using typename Superclass::ScalarValueType;
68 using typename Superclass::NeighborhoodType;
72 using typename Superclass::GlobalDataStruct;
75 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
93 return m_FeatureImage.GetPointer();
106 return m_SpeedImage.GetPointer();
109 SetSpeedImage(ImageType * s);
113 virtual VectorImageType *
116 return m_AdvectionImage.GetPointer();
119 SetAdvectionImage(VectorImageType * s);
126 Initialize(
const RadiusType & r)
override;
147 AllocateSpeedImage();
152 AllocateAdvectionImage();
165 ReverseExpansionDirection();
179 PropagationSpeed(
const NeighborhoodType &,
const FloatOffsetType &, GlobalDataStruct * gd)
const override;
183 AdvectionField(
const NeighborhoodType &,
const FloatOffsetType &, GlobalDataStruct * gd)
const override;
200 #ifndef ITK_MANUAL_INSTANTIATION
201 # include "itkSegmentationLevelSetFunction.hxx"