18 #ifndef itkCurvesLevelSetFunction_h
19 #define itkCurvesLevelSetFunction_h
61 template<
typename TImageType,
typename TFeatureImageType = TImageType >
94 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
97 void CalculateSpeedImage()
override;
100 void CalculateAdvectionImage()
override;
105 {
return this->PropagationSpeed(neighborhood, offset, gd); }
110 { m_DerivativeSigma = v; }
112 {
return m_DerivativeSigma; }
115 void Initialize(
const RadiusType & r)
override;
122 this->UseMinimalCurvatureOn();
132 Superclass::PrintSelf(os, indent);
133 os << indent <<
"DerivativeSigma: " << m_DerivativeSigma << std::endl;
139 std::slice x_slice[ImageDimension];
147 double m_DerivativeSigma{1.0};
151 #ifndef ITK_MANUAL_INSTANTIATION
152 #include "itkCurvesLevelSetFunction.hxx"
ScalarValueType CurvatureSpeed(const NeighborhoodType &neighborhood, const FloatOffsetType &offset, GlobalDataStruct *gd) const override
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...
void PrintSelf(std::ostream &os, Indent indent) const override
Define numeric traits for std::vector.
typename Superclass::VectorImageType VectorImageType
double GetDerivativeSigma()
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
typename ImageType::PixelType PixelType
typename SuperSuperclass::GlobalDataStruct GlobalDataStruct
typename ConstNeighborhoodIterator< TImageType >::RadiusType RadiusType
A templated class holding a n-Dimensional vector.
typename Superclass::FeatureScalarType FeatureScalarType
void SetDerivativeSigma(const double v)
typename Superclass::PixelType PixelType
typename Superclass::FloatOffsetType FloatOffsetType
typename Superclass::ScalarValueType ScalarValueType
TFeatureImageType FeatureImageType
This function is used in CurvesLevelSetImageFilter to segment structures in images based on user supp...
Control indentation during Print() invocation.
signed long OffsetValueType