18 #ifndef __itkLabelMapToBinaryImageFilter_h
19 #define __itkLabelMapToBinaryImageFilter_h
45 template<
class TInputImage,
class TOutputImage >
69 typedef typename OutputImageType::IndexType
IndexType;
72 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
73 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
103 this->SetNthInput( 1, const_cast< OutputImageType * >( input ) );
114 this->SetInput(input);
120 this->SetBackgroundImage(input);
130 void GenerateInputRequestedRegion();
133 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) );
135 virtual void BeforeThreadedGenerateData();
137 virtual void ThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread,
ThreadIdType threadId);
139 virtual void ThreadedProcessLabelObject(LabelObjectType *labelObject);
141 void PrintSelf(std::ostream & os,
Indent indent)
const;
145 void operator=(
const Self &);
154 #ifndef ITK_MANUAL_INSTANTIATION
155 #include "itkLabelMapToBinaryImageFilter.hxx"