18 #ifndef itkVotingBinaryHoleFillingImageFilter_h
19 #define itkVotingBinaryHoleFillingImageFilter_h
40 template<
typename TInputImage,
typename TOutputImage >
46 itkStaticConstMacro(InputImageDimension,
unsigned int,
47 TInputImage::ImageDimension);
48 itkStaticConstMacro(OutputImageDimension,
unsigned int,
49 TOutputImage::ImageDimension);
84 itkGetConstReferenceMacro(MajorityThreshold,
unsigned int);
85 itkSetMacro(MajorityThreshold,
unsigned int);
89 itkGetConstReferenceMacro(NumberOfPixelsChanged,
SizeValueType);
91 #ifdef ITK_USE_CONCEPT_CHECKING
103 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
109 { this->Superclass::SetBirthThreshold(value); }
111 { this->Superclass::SetSurvivalThreshold(value); }
124 void ThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread,
129 void BeforeThreadedGenerateData() ITK_OVERRIDE;
131 void AfterThreadedGenerateData() ITK_OVERRIDE;
136 unsigned int m_MajorityThreshold;
145 #ifndef ITK_MANUAL_INSTANTIATION
146 #include "itkVotingBinaryHoleFillingImageFilter.hxx"
Array class with size defined at construction time.
OutputImageType::PixelType OutputPixelType
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
virtual ~VotingBinaryHoleFillingImageFilter() override
TInputImage InputImageType
VotingBinaryHoleFillingImageFilter Self
Base class for all process objects that output image data.
unsigned long SizeValueType
Fills in holes and cavities by applying a voting operation on each pixel.
void SetBirthThreshold(const unsigned int value) override
VotingBinaryImageFilter< InputImageType, OutputImageType > Superclass
InputImageType::RegionType InputImageRegionType
unsigned int ThreadIdType
TOutputImage OutputImageType
InputImageType::SizeValueType SizeValueType
void SetSurvivalThreshold(const unsigned int value) override
InputImageType::PixelType InputPixelType
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
Applies a voting operation in a neighborhood of each pixel.
#define itkConceptMacro(name, concept)
InputImageType::SizeType InputSizeType
OutputImageType::RegionType OutputImageRegionType