18#ifndef itkShapePriorSegmentationLevelSetFunction_h
19#define itkShapePriorSegmentationLevelSetFunction_h
54template <
typename TImageType,
typename TFeatureImageType = TImageType>
75 using typename Superclass::ImageType;
76 using typename Superclass::NeighborhoodType;
77 using typename Superclass::ScalarValueType;
78 using typename Superclass::FeatureScalarType;
79 using typename Superclass::RadiusType;
80 using typename Superclass::FloatOffsetType;
81 using typename Superclass::VectorImageType;
82 using typename Superclass::PixelType;
83 using typename Superclass::TimeStepType;
85 using typename Superclass::ContinuousIndexType;
88 static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
98 m_ShapePriorWeight = p;
103 return m_ShapePriorWeight;
112 m_ShapeFunction = ptr;
114 const ShapeFunctionType *
117 return m_ShapeFunction;
171#ifndef ITK_MANUAL_INSTANTIATION
172# include "itkShapePriorSegmentationLevelSetFunction.hxx"
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
Control indentation during Print() invocation.
PixelType ScalarValueType
Light weight base class for most itk classes.
This function is used in ShapePriorSegmentationLevelSetFilter to segment structures in an image based...
PixelType ComputeUpdate(const NeighborhoodType &neighborhood, void *gd, const FloatOffsetType &=FloatOffsetType(0.0)) override
TFeatureImageType FeatureImageType
void PrintSelf(std::ostream &os, Indent indent) const override
void SetShapeFunction(const ShapeFunctionType *ptr)
void * GetGlobalDataPointer() const override
~ShapePriorSegmentationLevelSetFunction() override=default
ScalarValueType GetShapePriorWeight() const
TimeStepType ComputeGlobalTimeStep(void *gd) const override
void ReleaseGlobalDataPointer(void *GlobalData) const override
typename ShapeFunctionType::ConstPointer ShapeFunctionPointer
const ShapeFunctionType * GetShapeFunction() const
void SetShapePriorWeight(const ScalarValueType p)
ShapePriorSegmentationLevelSetFunction()
Base class for functions which evaluates the signed distance from a shape.
A templated class holding a n-Dimensional vector.
SmartPointer< const Self > ConstPointer
ImageBaseType::IndexType IndexType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
ScalarValueType m_MaxShapePriorChange