18 #ifndef itkShapePriorSegmentationLevelSetFunction_h
19 #define itkShapePriorSegmentationLevelSetFunction_h
54 template<
typename TImageType,
typename TFeatureImageType = TImageType >
74 typedef typename Superclass::ImageType
ImageType;
87 itkStaticConstMacro(ImageDimension,
unsigned int,
88 Superclass::ImageDimension);
97 { m_ShapePriorWeight = p; }
99 {
return m_ShapePriorWeight; }
105 { m_ShapeFunction = ptr; }
107 {
return m_ShapeFunction; }
111 virtual PixelType ComputeUpdate(
const NeighborhoodType & neighborhood,
113 const FloatOffsetType & = FloatOffsetType(0.0) ) ITK_OVERRIDE;
116 virtual TimeStepType ComputeGlobalTimeStep(
void *globalData) const ITK_OVERRIDE;
147 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
156 #ifndef ITK_MANUAL_INSTANTIATION
157 #include "itkShapePriorSegmentationLevelSetFunction.hxx"
ShapeFunctionPointer m_ShapeFunction
Superclass::PixelType PixelType
Superclass::TimeStepType TimeStepType
SegmentationLevelSetFunction< TImageType, TFeatureImageType > Superclass
SmartPointer< Self > Pointer
ScalarValueType m_MaxCurvatureChange
Light weight base class for most itk classes.
PixelType ScalarValueType
void SetShapeFunction(const ShapeFunctionType *ptr)
Superclass::ImageType ImageType
virtual void ReleaseGlobalDataPointer(void *GlobalData) const override
Superclass::ContinuousIndexType ContinuousIndexType
Superclass::RadiusType RadiusType
Superclass::VectorImageType VectorImageType
Superclass::IndexType IndexType
This function is used in ShapePriorSegmentationLevelSetFilter to segment structures in an image based...
Superclass::ScalarValueType ScalarValueType
void SetShapePriorWeight(const ScalarValueType p)
Base class for functions which evaluates the signed distance from a shape.
Superclass::NeighborhoodType NeighborhoodType
virtual void * GetGlobalDataPointer() const override
const ShapeFunctionType * GetShapeFunction() const
Superclass::FloatOffsetType FloatOffsetType
Superclass::ScalarValueType ScalarValueType
Superclass::FeatureScalarType FeatureScalarType
ScalarValueType m_ShapePriorWeight
ScalarValueType GetShapePriorWeight() const
SmartPointer< const Self > ConstPointer
ScalarValueType m_MaxPropagationChange
Control indentation during Print() invocation.
ScalarValueType m_MaxAdvectionChange
ShapePriorSegmentationLevelSetFunction Self
TFeatureImageType FeatureImageType
ShapeFunctionType::ConstPointer ShapeFunctionPointer
ShapeSignedDistanceFunction< double, itkGetStaticConstMacro(ImageDimension) > ShapeFunctionType
virtual ~ShapePriorSegmentationLevelSetFunction() override
ScalarValueType m_MaxShapePriorChange
ImageBaseType::IndexType IndexType