18#ifndef itkVotingBinaryHoleFillingImageFilter_h
19#define itkVotingBinaryHoleFillingImageFilter_h
41template <
typename TInputImage,
typename TOutputImage>
48 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
49 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
83 itkGetConstReferenceMacro(MajorityThreshold,
unsigned int);
84 itkSetMacro(MajorityThreshold,
unsigned int);
90#ifdef ITK_USE_CONCEPT_CHECKING
109 this->Superclass::SetBirthThreshold(value);
114 this->Superclass::SetSurvivalThreshold(value);
134 itkExceptionMacro(
"This class requires threadId so it must use classic multi-threading model");
146 unsigned int m_MajorityThreshold{};
155#ifndef ITK_MANUAL_INSTANTIATION
156# include "itkVotingBinaryHoleFillingImageFilter.hxx"
Base class for all process objects that output image data.
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
TInputImage InputImageType
typename InputImageType::RegionType InputImageRegionType
Control indentation during Print() invocation.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Fills in holes and cavities by applying a voting operation on each pixel.
void BeforeThreadedGenerateData() override
typename OutputImageType::PixelType OutputPixelType
void DynamicThreadedGenerateData(const OutputImageRegionType &) override
void AfterThreadedGenerateData() override
typename InputImageType::SizeValueType SizeValueType
~VotingBinaryHoleFillingImageFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
void SetBirthThreshold(const unsigned int value) override
typename InputImageType::SizeType InputSizeType
VotingBinaryHoleFillingImageFilter()
typename InputImageType::PixelType InputPixelType
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
void SetSurvivalThreshold(const unsigned int value) override
Applies a voting operation in a neighborhood of each pixel.
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned int ThreadIdType
unsigned long SizeValueType