18 #ifndef itkLevelSetNeighborhoodExtractor_h
19 #define itkLevelSetNeighborhoodExtractor_h
56 template<
typename TLevelSet >
86 static constexpr
unsigned int SetDimension = LevelSetType::SetDimension;
97 itkSetMacro(LevelSetValue,
double);
100 itkGetConstMacro(LevelSetValue,
double);
103 itkSetClampMacro( NarrowBandwidth,
double, 0.0,
107 itkGetConstMacro(NarrowBandwidth,
double);
110 itkSetMacro(NarrowBanding,
bool);
113 itkGetConstMacro(NarrowBanding,
bool);
114 itkBooleanMacro(NarrowBanding);
126 {
return m_InsidePoints; }
131 {
return m_OutsidePoints; }
140 void PrintSelf(std::ostream & os,
Indent indent)
const override;
143 {
return m_LargeValue; }
146 {
return m_NodesUsed[idx]; }
148 virtual void Initialize();
150 virtual double CalculateDistance(
IndexType & index);
152 void GenerateData()
override;
155 {
return m_LastPointIsInside; }
158 void GenerateDataFull();
160 void GenerateDataNarrowBand();
162 double m_LevelSetValue{0.0};
169 bool m_NarrowBanding{
false};
170 double m_NarrowBandwidth{12.0};
178 bool m_LastPointIsInside{
false};
182 #ifndef ITK_MANUAL_INSTANTIATION
183 #include "itkLevelSetNeighborhoodExtractor.hxx"
typename NodeContainer::Pointer NodeContainerPointer
Light weight base class for most itk classes.
Define numeric traits for std::vector.
Represent a n-dimensional index in a n-dimensional image.
typename TLevelSet::Pointer LevelSetPointer
typename TLevelSet::PixelType PixelType
Represent a node in a level set.
ImageBaseType::IndexType IndexType
typename TLevelSet::ConstPointer LevelSetConstPointer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
LightProcessObject is the base class for all process objects (source, filters, mappers) in the Insigh...
Control indentation during Print() invocation.
TLevelSet LevelSetImageType
Base class for most ITK classes.
ImageBaseType::RegionType RegionType
Level set type information.