18#ifndef itkBinaryPruningImageFilter_h
19#define itkBinaryPruningImageFilter_h
58template <
typename TInputImage,
typename TOutputImage>
89 using PixelType =
typename InputImageType::PixelType;
108 itkSetMacro(Iteration,
unsigned int);
109 itkGetConstMacro(Iteration,
unsigned int);
113 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
114 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
116#ifdef ITK_USE_CONCEPT_CHECKING
145 unsigned int m_Iteration{};
149#ifndef ITK_MANUAL_INSTANTIATION
150# include "itkBinaryPruningImageFilter.hxx"
This filter removes "spurs" of less than a certain length in the input image.
OutputImageType * GetPruning()
void PrintSelf(std::ostream &os, Indent indent) const override
typename RegionType::IndexType IndexType
~BinaryPruningImageFilter() override=default
typename InputImageType::PixelType PixelType
BinaryPruningImageFilter()
typename InputImageType::RegionType RegionType
void GenerateData() override
typename RegionType::SizeType SizeType
Base class for all process objects that output image data.
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
Base class for filters that take an image as input and produce an image as output.
TInputImage InputImageType
typename InputImageType::Pointer InputImagePointer
Control indentation during Print() invocation.
Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....