|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkSegmentationLevelSetFunction_h
19 #define itkSegmentationLevelSetFunction_h
46 template <
typename TImageType,
typename TFeatureImageType = TImageType>
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();
188 m_SpeedImage = ImageType::New();
189 m_AdvectionImage = VectorImageType::New();
190 m_Interpolator = InterpolatorType::New();
191 m_VectorInterpolator = VectorInterpolatorType::New();
200 #ifndef ITK_MANUAL_INSTANTIATION
201 # include "itkSegmentationLevelSetFunction.hxx"
typename ConstNeighborhoodIterator< TImageType >::RadiusType RadiusType
virtual VectorImageType * GetAdvectionImage() const
ImageBaseType::SpacingType VectorType
A templated class holding a n-Dimensional vector.
virtual ImageType * GetSpeedImage()
SegmentationLevelSetFunction()
virtual const FeatureImageType * GetFeatureImage() const
typename Superclass::GlobalDataStruct GlobalDataStruct
TFeatureImageType FeatureImageType
ImageBaseType::IndexType IndexType
Linearly interpolate an image at specified positions.
typename Superclass::ContinuousIndexType ContinuousIndexType
Light weight base class for most itk classes.
VectorInterpolatorType::Pointer m_VectorInterpolator
typename FeatureImageType::PixelType FeatureScalarType
virtual void CalculateAdvectionImage()
Simulate a standard C array with copy semantics.
InterpolatorType::Pointer m_Interpolator
virtual void SetFeatureImage(const FeatureImageType *f)
PixelType ScalarValueType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
typename ImageType::IndexType IndexType
Templated n-dimensional image class.
The LevelSetFunction class is a generic function object which can be used to create a level set metho...
virtual void CalculateSpeedImage()
FeatureImageType::ConstPointer m_FeatureImage
VectorImageType::Pointer m_AdvectionImage
ImageType::Pointer m_SpeedImage
typename InterpolatorType::ContinuousIndexType ContinuousIndexType
Linearly interpolate a vector image at specified positions.