19 #ifndef itkLevelSetEquationCurvatureTerm_h
20 #define itkLevelSetEquationCurvatureTerm_h
26 #include "vnl/vnl_matrix_fixed.h"
46 template <
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);
116 InitializeParameters()
override;
125 const LevelSetOutputRealType & oldValue,
126 const LevelSetOutputRealType & newValue)
override;
135 LevelSetOutputRealType
140 LevelSetOutputRealType
143 LevelSetOutputRealType m_NeighborhoodScales[ImageDimension]{};
147 bool m_UseCurvatureImage{};
152 #ifndef ITK_MANUAL_INSTANTIATION
153 # include "itkLevelSetEquationCurvatureTerm.hxx"