18#ifndef itkLevelSetNeighborhoodExtractor_h
19#define itkLevelSetNeighborhoodExtractor_h
56template <
typename TLevelSet>
85 static constexpr unsigned int SetDimension = LevelSetType::SetDimension;
96 itkSetMacro(LevelSetValue,
double);
99 itkGetConstMacro(LevelSetValue,
double);
105 itkGetConstMacro(NarrowBandwidth,
double);
108 itkSetMacro(NarrowBanding,
bool);
111 itkGetConstMacro(NarrowBanding,
bool);
112 itkBooleanMacro(NarrowBanding);
127 return m_InsidePoints;
135 return m_OutsidePoints;
149 typename LevelSetImageType::PixelType
158 return m_NodesUsed[idx];
173 return m_LastPointIsInside;
183 double m_LevelSetValue{ 0.0 };
190 bool m_NarrowBanding{
false };
191 double m_NarrowBandwidth{ 12.0 };
195 typename LevelSetImageType::PixelType m_LargeValue{};
197 std::vector<NodeType> m_NodesUsed{};
199 bool m_LastPointIsInside{
false };
203#ifndef ITK_MANUAL_INSTANTIATION
204# include "itkLevelSetNeighborhoodExtractor.hxx"
Control indentation during Print() invocation.
Represent a node in a level set.
Level set type information.
typename TLevelSet::PixelType PixelType
typename TLevelSet::ConstPointer LevelSetConstPointer
typename NodeContainer::Pointer NodeContainerPointer
TLevelSet LevelSetImageType
typename TLevelSet::Pointer LevelSetPointer
Light weight base class for most itk classes.
LightProcessObject is the base class for all process objects (source, filters, mappers) in the Insigh...
Define additional traits for native types such as int or float.
Base class for most ITK classes.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Represent a n-dimensional index in a n-dimensional image.