19 #ifndef itkLevelSetEquationAdvectionTerm_h
20 #define itkLevelSetEquationAdvectionTerm_h
26 #include "vnl/vnl_matrix_fixed.h"
50 template <
typename TInput,
51 typename TLevelSetContainer>
69 using typename Superclass::InputImageType;
70 using typename Superclass::InputImagePointer;
71 using typename Superclass::InputPixelType;
72 using typename Superclass::InputPixelRealType;
74 using typename Superclass::LevelSetContainerType;
75 using typename Superclass::LevelSetContainerPointer;
76 using typename Superclass::LevelSetType;
77 using typename Superclass::LevelSetPointer;
78 using typename Superclass::LevelSetOutputPixelType;
79 using typename Superclass::LevelSetOutputRealType;
80 using typename Superclass::LevelSetInputIndexType;
81 using typename Superclass::LevelSetGradientType;
82 using typename Superclass::LevelSetHessianType;
83 using typename Superclass::LevelSetIdentifierType;
84 using typename Superclass::LevelSetDataType;
86 using typename Superclass::HeavisideType;
87 using typename Superclass::HeavisideConstPointer;
89 static constexpr
unsigned int ImageDimension = InputImageType::ImageDimension;
117 InitializeParameters()
override;
139 AdvectionSpeed(
const LevelSetInputIndexType & iP)
const;
143 LevelSetOutputRealType
144 Value(
const LevelSetInputIndexType & iP)
override;
145 LevelSetOutputRealType
146 Value(
const LevelSetInputIndexType & iP,
const LevelSetDataType & iData)
override;
154 bool m_AutoGenerateAdvectionImage{};
157 GenerateAdvectionImage();
162 #ifndef ITK_MANUAL_INSTANTIATION
163 # include "itkLevelSetEquationAdvectionTerm.hxx"