18 #ifndef itkLabelMapToBinaryImageFilter_h
19 #define itkLabelMapToBinaryImageFilter_h
44 template <
typename TInputImage,
typename TOutputImage>
72 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
73 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
103 this->SetNthInput(1, const_cast<OutputImageType *>(input));
116 this->SetInput(input);
123 this->SetBackgroundImage(input);
134 GenerateInputRequestedRegion()
override;
138 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
141 GenerateData()
override;
144 DynamicThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread)
override;
150 Superclass::DynamicThreadedGenerateData(outputRegion);
154 ThreadedProcessLabelObject(LabelObjectType * labelObject)
override;
157 PrintSelf(std::ostream & os,
Indent indent)
const override;
165 #ifndef ITK_MANUAL_INSTANTIATION
166 # include "itkLabelMapToBinaryImageFilter.hxx"