18#ifndef itkCurvesLevelSetFunction_h
19#define itkCurvesLevelSetFunction_h
61template <
typename TImageType,
typename TFeatureImageType = TImageType>
83 using typename Superclass::ImageType;
84 using typename Superclass::NeighborhoodType;
85 using typename Superclass::ScalarValueType;
86 using typename Superclass::FeatureScalarType;
87 using typename Superclass::RadiusType;
90 using typename Superclass::VectorImageType;
93 static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
109 return this->PropagationSpeed(neighborhood, offset, gd);
117 m_DerivativeSigma = v;
122 return m_DerivativeSigma;
134 this->UseMinimalCurvatureOn();
145 Superclass::PrintSelf(os, indent);
146 os << indent <<
"DerivativeSigma: " << m_DerivativeSigma << std::endl;
151 std::slice x_slice[ImageDimension];
159 double m_DerivativeSigma{ 1.0 };
163#ifndef ITK_MANUAL_INSTANTIATION
164# include "itkCurvesLevelSetFunction.hxx"
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
This function is used in CurvesLevelSetImageFilter to segment structures in images based on user supp...
void CalculateAdvectionImage() override
~CurvesLevelSetFunction() override=default
typename SuperSuperclass::GlobalDataStruct GlobalDataStruct
void Initialize(const RadiusType &r) override
void SetDerivativeSigma(const double v)
ScalarValueType CurvatureSpeed(const NeighborhoodType &neighborhood, const FloatOffsetType &offset, GlobalDataStruct *gd) const override
double GetDerivativeSigma()
void PrintSelf(std::ostream &os, Indent indent) const override
void CalculateSpeedImage() override
TFeatureImageType FeatureImageType
typename ImageType::PixelType PixelType
typename ConstNeighborhoodIterator< TImageType >::RadiusType RadiusType
Control indentation during Print() invocation.
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.
Define additional traits for native types such as int or float.
A templated class holding a n-Dimensional vector.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....