18 #ifndef itkLabelVotingImageFilter_h
19 #define itkLabelVotingImageFilter_h
74 template<
typename TInputImage,
typename TOutputImage = TInputImage >
98 itkStaticConstMacro(InputImageDimension,
unsigned int,
99 TInputImage::ImageDimension);
100 itkStaticConstMacro(ImageDimension,
unsigned int,
101 TOutputImage::ImageDimension);
118 this->m_LabelForUndecidedPixels = l;
119 this->m_HasLabelForUndecidedPixels =
true;
132 return this->m_LabelForUndecidedPixels;
139 if ( this->m_HasLabelForUndecidedPixels )
141 this->m_HasLabelForUndecidedPixels =
false;
147 #ifdef ITK_USE_CONCEPT_CHECKING
174 void BeforeThreadedGenerateData() ITK_OVERRIDE;
176 void ThreadedGenerateData
177 (const OutputImageRegionType & outputRegionForThread,
ThreadIdType threadId) ITK_OVERRIDE;
179 void PrintSelf(std::ostream &,
Indent) const ITK_OVERRIDE;
182 InputPixelType ComputeMaximumInputValue();
188 bool m_HasLabelForUndecidedPixels;
189 size_t m_TotalLabelCount;
193 #ifndef ITK_MANUAL_INSTANTIATION
194 #include "itkLabelVotingImageFilter.hxx"
void UnsetLabelForUndecidedPixels()
InputImageType::ConstPointer InputImagePointer
This filter performs pixelwise voting among an arbitrary number of input images, where each of them r...
OutputPixelType GetLabelForUndecidedPixels() const
virtual ~LabelVotingImageFilter() override
Superclass::OutputImageRegionType OutputImageRegionType
LabelVotingImageFilter Self
TInputImage InputImageType
TOutputImage OutputImageType
void SetLabelForUndecidedPixels(const OutputPixelType l)
Base class for all process objects that output image data.
SmartPointer< const Self > ConstPointer
OutputImageType::Pointer OutputImagePointer
unsigned int ThreadIdType
TOutputImage::PixelType OutputPixelType
Base class for filters that take an image as input and produce an image as output.
ImageToImageFilter< TInputImage, TOutputImage > Superclass
Control indentation during Print() invocation.
TInputImage::PixelType InputPixelType
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
unsigned long LabelCountType