19#ifndef itkLevelSetEquationAdvectionTerm_h
20#define itkLevelSetEquationAdvectionTerm_h
26#include "vnl/vnl_matrix_fixed.h"
50template <
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;
154 bool m_AutoGenerateAdvectionImage{};
162#ifndef ITK_MANUAL_INSTANTIATION
163# include "itkLevelSetEquationAdvectionTerm.hxx"
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
Templated n-dimensional image class.
Derived class to represents an advection term in the level-set evolution PDE.
void SetAdvectionImage(AdvectionImageType *iImage)
~LevelSetEquationAdvectionTerm() override=default
LevelSetEquationAdvectionTerm()
LevelSetOutputRealType Value(const LevelSetInputIndexType &iP) override
LevelSetGradientType VectorType
typename AdvectionImageType::Pointer AdvectionImagePointer
void InitializeParameters() override
void UpdatePixel(const LevelSetInputIndexType &iP, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue) override
void Initialize(const LevelSetInputIndexType &) override
void GenerateAdvectionImage()
typename ConstNeighborhoodIterator< InputImageType >::RadiusType RadiusType
LevelSetOutputRealType Value(const LevelSetInputIndexType &iP, const LevelSetDataType &iData) override
VectorType AdvectionSpeed(const LevelSetInputIndexType &iP) const
Abstract class to represents a term in the level-set evolution PDE.
typename LevelSetContainerType::LevelSetDataType LevelSetDataType
typename LevelSetContainerType::OutputRealType LevelSetOutputRealType
typename LevelSetContainerType::GradientType LevelSetGradientType
typename LevelSetContainerType::InputIndexType LevelSetInputIndexType
Light weight base class for most itk classes.
A templated class holding a n-Dimensional vector.
SmartPointer< Self > Pointer
ImageBaseType::SpacingType VectorType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....