18 #ifndef itkLabelVotingImageFilter_h
19 #define itkLabelVotingImageFilter_h
75 template <
typename TInputImage,
typename TOutputImage = TInputImage>
100 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
101 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
112 using typename Superclass::OutputImageRegionType;
118 this->m_LabelForUndecidedPixels = l;
119 this->m_HasLabelForUndecidedPixels =
true;
133 return this->m_LabelForUndecidedPixels;
141 if (this->m_HasLabelForUndecidedPixels)
143 this->m_HasLabelForUndecidedPixels =
false;
149 #ifdef ITK_USE_CONCEPT_CHECKING
169 BeforeThreadedGenerateData()
override;
172 DynamicThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread)
override;
176 PrintSelf(std::ostream &,
Indent)
const override;
180 ComputeMaximumInputValue();
184 bool m_HasLabelForUndecidedPixels{
false };
185 size_t m_TotalLabelCount{ 0 };
189 #ifndef ITK_MANUAL_INSTANTIATION
190 # include "itkLabelVotingImageFilter.hxx"