28 #ifndef itkLabelMapFilter_h
29 #define itkLabelMapFilter_h
56 template <
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;
96 GenerateInputRequestedRegion()
override;
100 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
107 BeforeThreadedGenerateData()
override;
110 AfterThreadedGenerateData()
override;
119 Self::DynamicThreadedGenerateData(outputRegionForThread);
123 ThreadedProcessLabelObject(LabelObjectType * labelObject);
129 virtual InputImageType *
135 std::mutex m_LabelObjectContainerLock{};
138 typename InputImageType::Iterator m_LabelObjectIterator{};
142 #ifndef ITK_MANUAL_INSTANTIATION
143 # include "itkLabelMapFilter.hxx"