18 #ifndef itkLabelMapToBinaryImageFilter_h
19 #define itkLabelMapToBinaryImageFilter_h
45 template <
typename TInputImage,
typename TOutputImage>
73 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
74 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
104 this->SetNthInput(1, const_cast<OutputImageType *>(input));
117 this->SetInput(input);
124 this->SetBackgroundImage(input);
135 GenerateInputRequestedRegion()
override;
139 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
142 GenerateData()
override;
145 DynamicThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread)
override;
151 Superclass::DynamicThreadedGenerateData(outputRegion);
155 ThreadedProcessLabelObject(LabelObjectType * labelObject)
override;
158 PrintSelf(std::ostream & os,
Indent indent)
const override;
166 #ifndef ITK_MANUAL_INSTANTIATION
167 # include "itkLabelMapToBinaryImageFilter.hxx"