18 #ifndef itkLabelVotingImageFilter_h
19 #define itkLabelVotingImageFilter_h
74 template<
typename TInputImage,
typename TOutputImage = TInputImage >
100 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
101 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
117 this->m_LabelForUndecidedPixels = l;
118 this->m_HasLabelForUndecidedPixels =
true;
131 return this->m_LabelForUndecidedPixels;
138 if ( this->m_HasLabelForUndecidedPixels )
140 this->m_HasLabelForUndecidedPixels =
false;
146 #ifdef ITK_USE_CONCEPT_CHECKING
173 void BeforeThreadedGenerateData()
override;
175 void DynamicThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread)
override;
178 void PrintSelf(std::ostream &,
Indent)
const override;
181 InputPixelType ComputeMaximumInputValue();
185 bool m_HasLabelForUndecidedPixels{
false };
186 size_t m_TotalLabelCount{ 0 };
190 #ifndef ITK_MANUAL_INSTANTIATION
191 #include "itkLabelVotingImageFilter.hxx"
void UnsetLabelForUndecidedPixels()
typename OutputImageType::Pointer OutputImagePointer
This filter performs pixelwise voting among an arbitrary number of input images, where each of them r...
OutputPixelType GetLabelForUndecidedPixels() const
typename TInputImage::PixelType InputPixelType
void SetLabelForUndecidedPixels(const OutputPixelType l)
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
unsigned long LabelCountType
Base class for all process objects that output image data.
TInputImage InputImageType
typename InputImageType::Pointer InputImagePointer
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
OutputPixelType m_LabelForUndecidedPixels
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
typename TOutputImage::PixelType OutputPixelType
#define itkConceptMacro(name, concept)