18 #ifndef itkLevelSetFunctionWithRefitTerm_h
19 #define itkLevelSetFunctionWithRefitTerm_h
51 template<
typename TImageType,
typename TSparseImageType >
88 using NodeType =
typename SparseImageType::NodeType;
103 m_OtherPropagationWeight = w;
109 { m_SparseTargetImage = im; }
113 {
return m_SparseTargetImage; }
119 TimeStepType ComputeGlobalTimeStep(
void *GlobalData)
const override;
130 void PrintSelf(std::ostream & os,
Indent indent)
const override;
166 #ifndef ITK_MANUAL_INSTANTIATION
167 #include "itkLevelSetFunctionWithRefitTerm.hxx"
PixelType ScalarValueType
SparseImageType * GetSparseTargetImage() const
Light weight base class for most itk classes.
The LevelSetFunction class is a generic function object which can be used to create a level set metho...
ScalarValueType m_RefitWeight
typename ImageType::IndexType IndexType
Define numeric traits for std::vector.
unsigned long SizeValueType
static const NeighborhoodSizeValueType m_NumVertex
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
void SetSparseTargetImage(SparseImageType *im)
typename NeighborhoodType::SizeValueType NeighborhoodSizeValueType
typename NodeType::NodeDataType NormalVectorType
void SetOtherPropagationWeight(const ScalarValueType w)
static const ScalarValueType m_DimConst
A templated class holding a n-Dimensional vector.
ImageBaseType::IndexType IndexType
ScalarValueType m_MinVectorNorm
ScalarValueType m_OtherPropagationWeight
typename SparseImageType::NodeType NodeType
This class extends the LevelSetFunction class by adding a grow term based on a target curvature store...
Control indentation during Print() invocation.
SparseImageType::Pointer m_SparseTargetImage
typename Superclass::GlobalDataStruct GlobalDataStruct
void SetRefitWeight(const ScalarValueType w)
virtual ScalarValueType OtherPropagationSpeed(const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const
TSparseImageType SparseImageType
typename Superclass::ScalarValueType ScalarValueType