19#ifndef itkLevelSetEquationOverlapPenaltyTerm_h
20#define itkLevelSetEquationOverlapPenaltyTerm_h
45template <
typename TInput,
46 typename TLevelSetContainer>
65 using typename Superclass::InputImageType;
66 using typename Superclass::InputImagePointer;
67 using typename Superclass::InputPixelType;
68 using typename Superclass::InputPixelRealType;
70 using typename Superclass::LevelSetContainerType;
71 using typename Superclass::LevelSetContainerPointer;
72 using typename Superclass::LevelSetType;
73 using typename Superclass::LevelSetPointer;
74 using typename Superclass::LevelSetOutputPixelType;
75 using typename Superclass::LevelSetOutputRealType;
76 using typename Superclass::LevelSetInputIndexType;
77 using typename Superclass::LevelSetGradientType;
78 using typename Superclass::LevelSetHessianType;
79 using typename Superclass::LevelSetIdentifierType;
81 using typename Superclass::HeavisideType;
82 using typename Superclass::HeavisideConstPointer;
84 using typename Superclass::LevelSetDataType;
86 using typename Superclass::DomainMapImageFilterType;
87 using typename Superclass::CacheImageType;
89 using IdListType =
typename LevelSetContainerType::IdListType;
139#ifndef ITK_MANUAL_INSTANTIATION
140# include "itkLevelSetEquationOverlapPenaltyTerm.hxx"
Perform more precise accumulation of floating point numbers.
Class to represent the overlap penalty among many level-sets.
LevelSetOutputRealType Value(const LevelSetInputIndexType &index, const LevelSetDataType &data) override
typename LevelSetContainerType::IdListConstIterator IdListConstIterator
typename LevelSetContainerType::IdListType IdListType
virtual void ComputeSumTerm(const LevelSetInputIndexType &index, LevelSetOutputRealType &sum)
void UpdatePixel(const LevelSetInputIndexType &index, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue) override
LevelSetEquationOverlapPenaltyTerm()
LevelSetOutputRealType Value(const LevelSetInputIndexType &index) override
typename LevelSetContainerType::IdListIterator IdListIterator
void Initialize(const LevelSetInputIndexType &index) override
~LevelSetEquationOverlapPenaltyTerm() override=default
void InitializeParameters() override
Abstract class to represents a term in the level-set evolution PDE.
typename LevelSetContainerType::LevelSetDataType LevelSetDataType
typename LevelSetContainerType::DomainMapImageFilterType DomainMapImageFilterType
typename LevelSetContainerType::OutputRealType LevelSetOutputRealType
typename LevelSetContainerType::InputIndexType LevelSetInputIndexType
typename LevelSetContainerType::CacheImageType CacheImageType
Light weight base class for most itk classes.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....