18#ifndef itkShapePriorSegmentationLevelSetFunction_h
19#define itkShapePriorSegmentationLevelSetFunction_h
50template <
typename TImageType,
typename TFeatureImageType = TImageType>
110 const ShapeFunctionType *
138 auto * ans =
new ShapePriorGlobalDataStruct();
151 delete (ShapePriorGlobalDataStruct *)GlobalData;
167#ifndef ITK_MANUAL_INSTANTIATION
168# include "itkShapePriorSegmentationLevelSetFunction.hxx"
typename ImageType::PixelType PixelType
Control indentation during Print() invocation.
ConstNeighborhoodIterator< TImageType, DefaultBoundaryConditionType > NeighborhoodType
typename ImageType::IndexType IndexType
typename FeatureImageType::PixelType FeatureScalarType
Image< VectorType, Self::ImageDimension > VectorImageType
Vector< float, Self::ImageDimension > FloatOffsetType
static constexpr unsigned int ImageDimension
typename ConstNeighborhoodIterator< TImageType >::RadiusType RadiusType
typename InterpolatorType::ContinuousIndexType ContinuousIndexType
SegmentationLevelSetFunction()
PixelType ScalarValueType
ShapePriorSegmentationLevelSetFunction Self
static constexpr unsigned int ImageDimension
ShapeFunctionPointer m_ShapeFunction
PixelType ComputeUpdate(const NeighborhoodType &neighborhood, void *gd, const FloatOffsetType &=FloatOffsetType(0.0)) override
Vector< float, Self::ImageDimension > FloatOffsetType
TFeatureImageType FeatureImageType
ShapeSignedDistanceFunction< double, Self::ImageDimension > ShapeFunctionType
SmartPointer< const Self > ConstPointer
void PrintSelf(std::ostream &os, Indent indent) const override
void SetShapeFunction(const ShapeFunctionType *ptr)
void * GetGlobalDataPointer() const override
SmartPointer< Self > Pointer
ScalarValueType m_ShapePriorWeight
~ShapePriorSegmentationLevelSetFunction() override=default
ScalarValueType GetShapePriorWeight() const
PixelType ScalarValueType
TimeStepType ComputeGlobalTimeStep(void *gd) const override
void ReleaseGlobalDataPointer(void *GlobalData) const override
typename ShapeFunctionType::ConstPointer ShapeFunctionPointer
SegmentationLevelSetFunction< TImageType, TFeatureImageType > Superclass
const ShapeFunctionType * GetShapeFunction() const
void SetShapePriorWeight(const ScalarValueType p)
ShapePriorSegmentationLevelSetFunction()
ConstNeighborhoodIterator< TImageType, DefaultBoundaryConditionType > NeighborhoodType
Base class for functions which evaluates the signed distance from a shape.
SmartPointer< const Self > ConstPointer
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
ScalarValueType m_MaxShapePriorChange