18#ifndef itkSegmentationLevelSetFunction_h
19#define itkSegmentationLevelSetFunction_h
46template <
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();
116 return m_AdvectionImage.GetPointer();
200#ifndef ITK_MANUAL_INSTANTIATION
201# include "itkSegmentationLevelSetFunction.hxx"
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
typename ConstNeighborhoodIterator< TImageType >::RadiusType RadiusType
Simulate a standard C array with copy semantics.
Templated n-dimensional image class.
The LevelSetFunction class is a generic function object which can be used to create a level set metho...
Light weight base class for most itk classes.
Linearly interpolate an image at specified positions.
virtual void CalculateSpeedImage()
typename ImageType::IndexType IndexType
~SegmentationLevelSetFunction() override=default
virtual void CalculateAdvectionImage()
typename FeatureImageType::PixelType FeatureScalarType
virtual void AllocateSpeedImage()
void SetAdvectionImage(VectorImageType *s)
void Initialize(const RadiusType &r) override
ScalarValueType PropagationSpeed(const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd) const override
virtual void SetFeatureImage(const FeatureImageType *f)
virtual ImageType * GetSpeedImage()
virtual const FeatureImageType * GetFeatureImage() const
virtual VectorImageType * GetAdvectionImage() const
VectorType AdvectionField(const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd) const override
virtual void ReverseExpansionDirection()
typename InterpolatorType::ContinuousIndexType ContinuousIndexType
SegmentationLevelSetFunction()
void SetSpeedImage(ImageType *s)
virtual void AllocateAdvectionImage()
TFeatureImageType FeatureImageType
Linearly interpolate a vector image at specified positions.
A templated class holding a n-Dimensional vector.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::IndexType IndexType
ImageBaseType::SpacingType VectorType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....