18 #ifndef itkShapePriorSegmentationLevelSetFunction_h
19 #define itkShapePriorSegmentationLevelSetFunction_h
54 template<
typename TImageType,
typename TFeatureImageType = TImageType >
89 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
93 Self::ImageDimension >;
98 { m_ShapePriorWeight = p; }
100 {
return m_ShapePriorWeight; }
106 { m_ShapeFunction = ptr; }
108 {
return m_ShapeFunction; }
112 PixelType ComputeUpdate(
const NeighborhoodType & neighborhood,
114 const FloatOffsetType & = FloatOffsetType(0.0) )
override;
117 TimeStepType ComputeGlobalTimeStep(
void *globalData)
const override;
146 void PrintSelf(std::ostream & os,
Indent indent)
const override;
155 #ifndef ITK_MANUAL_INSTANTIATION
156 #include "itkShapePriorSegmentationLevelSetFunction.hxx"
ShapeFunctionPointer m_ShapeFunction
typename Superclass::GlobalDataStruct GlobalDataStruct
PixelType ScalarValueType
Light weight base class for most itk classes.
typename FeatureImageType::PixelType FeatureScalarType
Define numeric traits for std::vector.
void SetShapeFunction(const ShapeFunctionType *ptr)
void * GetGlobalDataPointer() const override
void ReleaseGlobalDataPointer(void *GlobalData) const override
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
This function is used in ShapePriorSegmentationLevelSetFilter to segment structures in an image based...
void SetShapePriorWeight(const ScalarValueType p)
Base class for functions which evaluates the signed distance from a shape.
typename ImageType::PixelType PixelType
typename ImageType::IndexType IndexType
typename InterpolatorType::ContinuousIndexType ContinuousIndexType
const ShapeFunctionType * GetShapeFunction() const
typename ConstNeighborhoodIterator< TImageType >::RadiusType RadiusType
A templated class holding a n-Dimensional vector.
typename Superclass::GlobalDataStruct GlobalDataStruct
ImageBaseType::IndexType IndexType
ScalarValueType m_ShapePriorWeight
typename ShapeFunctionType::ConstPointer ShapeFunctionPointer
ScalarValueType GetShapePriorWeight() const
Control indentation during Print() invocation.
TFeatureImageType FeatureImageType
typename Superclass::ScalarValueType ScalarValueType
Templated n-dimensional image class.
ScalarValueType m_MaxShapePriorChange