18 #ifndef itkLabelMapToBinaryImageFilter_h
19 #define itkLabelMapToBinaryImageFilter_h
45 template<
typename TInputImage,
typename TOutputImage >
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() ITK_OVERRIDE;
133 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) ) ITK_OVERRIDE;
135 virtual
void BeforeThreadedGenerateData() ITK_OVERRIDE;
137 virtual
void ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread,
ThreadIdType threadId) ITK_OVERRIDE;
139 virtual
void ThreadedProcessLabelObject(LabelObjectType *labelObject) ITK_OVERRIDE;
141 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
153 #ifndef ITK_MANUAL_INSTANTIATION
154 #include "itkLabelMapToBinaryImageFilter.hxx"
SmartPointer< const Self > ConstPointer
InputImageType::RegionType InputImageRegionType
InputImageType::LabelObjectType LabelObjectType
OutputImageType * GetBackgroundImage()
~LabelMapToBinaryImageFilter() override
OutputImageType::RegionType OutputImageRegionType
TInputImage InputImageType
Base class for all process objects that output image data.
SmartPointer< Self > Pointer
void SetInput1(const InputImageType *input)
OutputImageType::ConstPointer OutputImageConstPointer
LabelMapToBinaryImageFilter Self
OutputImageType::IndexType IndexType
InputImageType::PixelType InputImagePixelType
TInputImage InputImageType
OutputImageType::PixelType OutputImagePixelType
TOutputImage OutputImageType
void SetInput2(const OutputImageType *input)
InputImageType::Pointer InputImagePointer
OutputImageType::Pointer OutputImagePointer
Base class for filters that take an image as input and overwrite that image as the output...
unsigned int ThreadIdType
InputImageType::ConstPointer InputImageConstPointer
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
OutputImageType::PixelType OutputImagePixelType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
void SetBackgroundImage(const OutputImageType *input)
TOutputImage OutputImageType
LabelMapFilter< TInputImage, TOutputImage > Superclass
Base class for all data objects in ITK.
ImageBaseType::IndexType IndexType
Convert a LabelMap to a binary image.
Standard barrier class implementation for synchronizing the execution of threads. ...