18#ifndef itkLevelSetFunctionWithRefitTerm_h
19#define itkLevelSetFunctionWithRefitTerm_h
51template <
typename TImageType,
typename TSparseImageType>
70 using typename Superclass::ImageType;
71 using typename Superclass::FloatOffsetType;
72 using typename Superclass::ScalarValueType;
73 using typename Superclass::GlobalDataStruct;
74 using typename Superclass::NeighborhoodType;
75 using typename Superclass::NeighborhoodScalesType;
76 using typename Superclass::TimeStepType;
87 using NodeType =
typename SparseImageType::NodeType;
104 m_OtherPropagationWeight = w;
112 m_SparseTargetImage = im;
119 return m_SparseTargetImage;
174#ifndef ITK_MANUAL_INSTANTIATION
175# include "itkLevelSetFunctionWithRefitTerm.hxx"
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
Control indentation during Print() invocation.
This class extends the LevelSetFunction class by adding a grow term based on a target curvature store...
virtual ScalarValueType OtherPropagationSpeed(const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const
void PrintSelf(std::ostream &os, Indent indent) const override
TSparseImageType SparseImageType
static const ScalarValueType m_DimConst
ScalarValueType ComputeCurvature(const NeighborhoodType &) const
void SetSparseTargetImage(SparseImageType *im)
void SetOtherPropagationWeight(const ScalarValueType w)
typename NodeType::NodeDataType NormalVectorType
typename ImageType::IndexType IndexType
ScalarValueType PropagationSpeed(const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const override
typename NeighborhoodType::SizeValueType NeighborhoodSizeValueType
typename SparseImageType::NodeType NodeType
TimeStepType ComputeGlobalTimeStep(void *GlobalData) const override
void SetRefitWeight(const ScalarValueType w)
LevelSetFunctionWithRefitTerm()
static const NeighborhoodSizeValueType m_NumVertex
SparseImageType * GetSparseTargetImage() const
The LevelSetFunction class is a generic function object which can be used to create a level set metho...
PixelType ScalarValueType
Light weight base class for most itk classes.
A templated class holding a n-Dimensional vector.
SmartPointer< Self > Pointer
ImageBaseType::IndexType IndexType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType