28#ifndef itkLabelMapFilter_h
29#define itkLabelMapFilter_h
56template <
typename TInputImage,
typename TOutputImage>
75 using typename Superclass::InputImageType;
76 using typename Superclass::InputImagePointer;
77 using typename Superclass::InputImageConstPointer;
78 using typename Superclass::InputImageRegionType;
79 using typename Superclass::InputImagePixelType;
89 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
90 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
119 Self::DynamicThreadedGenerateData(outputRegionForThread);
135 std::mutex m_LabelObjectContainerLock{};
138 typename InputImageType::Iterator m_LabelObjectIterator{};
142#ifndef ITK_MANUAL_INSTANTIATION
143# include "itkLabelMapFilter.hxx"
Base class for all data objects in ITK.
Base class for all process objects that output image data.
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
Base class for filters that take an image as input and produce an image as output.
TInputImage InputImageType
Base class for filters that take an image as input and overwrite that image as the output.
void GenerateInputRequestedRegion() override
void EnlargeOutputRequestedRegion(DataObject *) override
virtual InputImageType * GetLabelMap()
void AfterThreadedGenerateData() override
virtual void ThreadedProcessLabelObject(LabelObjectType *labelObject)
~LabelMapFilter() override=default
void BeforeThreadedGenerateData() override
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType) override
typename InputImageType::LabelObjectType LabelObjectType
typename OutputImageType::ConstPointer OutputImageConstPointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned int ThreadIdType