19#ifndef itkLevelSetEquationCurvatureTerm_h
20#define itkLevelSetEquationCurvatureTerm_h
26#include "vnl/vnl_matrix_fixed.h"
46template <
typename TInput,
47 typename TLevelSetContainer,
48 typename TCurvatureImage = TInput>
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 static constexpr unsigned int ImageDimension = InputImageType::ImageDimension;
99 itkSetMacro(UseCurvatureImage,
bool);
100 itkGetMacro(UseCurvatureImage,
bool);
101 itkBooleanMacro(UseCurvatureImage);
147 bool m_UseCurvatureImage{};
152#ifndef ITK_MANUAL_INSTANTIATION
153# include "itkLevelSetEquationCurvatureTerm.hxx"
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
Derived class to represents a curvature term in the level-set evolution PDE.
typename ConstNeighborhoodIterator< InputImageType >::RadiusType RadiusType
void InitializeParameters() override
void SetCurvatureImage(CurvatureImageType *iImage)
void UpdatePixel(const LevelSetInputIndexType &iP, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue) override
LevelSetEquationCurvatureTerm()
void Initialize(const LevelSetInputIndexType &) override
typename CurvatureImageType::Pointer CurvatureImagePointer
LevelSetOutputRealType Value(const LevelSetInputIndexType &iP, const LevelSetDataType &iData) override
TCurvatureImage CurvatureImageType
~LevelSetEquationCurvatureTerm() override=default
LevelSetOutputRealType Value(const LevelSetInputIndexType &iP) override
Abstract class to represents a term in the level-set evolution PDE.
typename LevelSetContainerType::LevelSetDataType LevelSetDataType
typename LevelSetContainerType::OutputRealType LevelSetOutputRealType
typename LevelSetContainerType::InputIndexType LevelSetInputIndexType
Light weight base class for most itk classes.
A templated class holding a n-Dimensional vector.
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....