18#ifndef itkLabelMapToBinaryImageFilter_h
19#define itkLabelMapToBinaryImageFilter_h
44template <
typename TInputImage,
typename TOutputImage>
72 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
73 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
116 this->SetInput(input);
123 this->SetBackgroundImage(input);
150 Superclass::DynamicThreadedGenerateData(outputRegion);
165#ifndef ITK_MANUAL_INSTANTIATION
166# include "itkLabelMapToBinaryImageFilter.hxx"
Base class for all data objects in ITK.
Base class for all process objects that output image data.
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
TInputImage InputImageType
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::Pointer InputImagePointer
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::RegionType InputImageRegionType
Control indentation during Print() invocation.
Base class for filters that take an image as input and overwrite that image as the output.
typename InputImageType::LabelObjectType LabelObjectType
typename OutputImageType::ConstPointer OutputImageConstPointer
Convert a LabelMap to a binary image.
void SuperclassDynamicTGD(const OutputImageRegionType &outputRegion)
void SetInput2(const OutputImageType *input)
LabelMapToBinaryImageFilter()
void GenerateInputRequestedRegion() override
void SetBackgroundImage(const OutputImageType *input)
void PrintSelf(std::ostream &os, Indent indent) const override
OutputImageType * GetBackgroundImage()
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
void SetInput1(const InputImageType *input)
void EnlargeOutputRequestedRegion(DataObject *) override
void ThreadedProcessLabelObject(LabelObjectType *labelObject) override
void GenerateData() override
~LabelMapToBinaryImageFilter() override=default
typename OutputImageType::IndexType IndexType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....