18 #ifndef itkContourExtractor2DImageFilter_h
19 #define itkContourExtractor2DImageFilter_h
24 #include <unordered_map>
95 template<
typename TInputImage >
103 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
138 itkSetMacro(ReverseContourOrientation,
bool);
139 itkGetConstReferenceMacro(ReverseContourOrientation,
bool);
140 itkBooleanMacro(ReverseContourOrientation);
146 itkSetMacro(VertexConnectHighPixels,
bool);
147 itkGetConstReferenceMacro(VertexConnectHighPixels,
bool);
148 itkBooleanMacro(VertexConnectHighPixels);
156 void ClearRequestedRegion();
164 #ifdef ITK_USE_CONCEPT_CHECKING
181 void PrintSelf(std::ostream & os,
Indent indent)
const override;
183 void GenerateData()
override;
188 void GenerateInputRequestedRegion()
override;
243 const SizeValueType hashVertex1 = this->float_hash(k[0] * 0xbeef);
260 auto value =
static_cast< SizeValueType >( std::fabs(mantissa) );
261 value = ( 2 * value - 1 ) * ~0U;
291 #ifndef ITK_MANUAL_INSTANTIATION
292 #include "itkContourExtractor2DImageFilter.hxx"
Represent a path of line segments through ND Space.
Light weight base class for most itk classes.
Define numeric traits for std::vector.
unsigned long SizeValueType
Base class for filters that take an image as input and produce an path as output. ...
ImageBaseType::IndexType IndexType
A templated class holding a point in n-Dimensional image space.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)