19#ifndef itkLevelSetEquationChanAndVeseInternalTerm_h
20#define itkLevelSetEquationChanAndVeseInternalTerm_h
46template <
typename TInput,
47 typename TLevelSetContainer>
66 using typename Superclass::InputImageType;
67 using typename Superclass::InputImagePointer;
68 using typename Superclass::InputPixelType;
69 using typename Superclass::InputPixelRealType;
71 using typename Superclass::LevelSetContainerType;
72 using typename Superclass::LevelSetContainerPointer;
73 using typename Superclass::LevelSetType;
74 using typename Superclass::LevelSetPointer;
75 using typename Superclass::LevelSetOutputPixelType;
76 using typename Superclass::LevelSetOutputRealType;
77 using typename Superclass::LevelSetInputIndexType;
78 using typename Superclass::LevelSetGradientType;
79 using typename Superclass::LevelSetHessianType;
80 using typename Superclass::LevelSetIdentifierType;
82 using typename Superclass::HeavisideType;
83 using typename Superclass::HeavisideConstPointer;
85 using typename Superclass::LevelSetDataType;
87 using typename Superclass::DomainMapImageFilterType;
88 using typename Superclass::CacheImageType;
146#ifndef ITK_MANUAL_INSTANTIATION
147# include "itkLevelSetEquationChanAndVeseInternalTerm.hxx"
Class to represent the internal energy Chan And Vese term.
void Initialize(const LevelSetInputIndexType &inputIndex) override
void Accumulate(const InputPixelType &inputPixel, const LevelSetOutputRealType &heavisideValue)
LevelSetOutputRealType Value(const LevelSetInputIndexType &inputIndex) override
virtual void ComputeProduct(const LevelSetInputIndexType &inputIndex, LevelSetOutputRealType &prod)
virtual void ComputeProductTerm(const LevelSetInputIndexType &, LevelSetOutputRealType &)
LevelSetOutputRealType Value(const LevelSetInputIndexType &inputIndex, const LevelSetDataType &data) override
LevelSetEquationChanAndVeseInternalTerm()
void UpdatePixel(const LevelSetInputIndexType &inputIndex, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue) override
void InitializeParameters() override
~LevelSetEquationChanAndVeseInternalTerm() override=default
Abstract class to represents a term in the level-set evolution PDE.
typename LevelSetContainerType::LevelSetDataType LevelSetDataType
typename LevelSetContainerType::OutputRealType LevelSetOutputRealType
typename InputImageType::PixelType InputPixelType
typename LevelSetContainerType::InputIndexType LevelSetInputIndexType
typename NumericTraits< InputPixelType >::RealType InputPixelRealType
Light weight base class for most itk classes.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....