 |
ITK
5.4.0
Insight Toolkit
|
Go to the documentation of this file.
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"
SmartPointer< Self > Pointer
typename OutputImageType::ConstPointer OutputImageConstPointer
SmartPointer< const Self > ConstPointer
typename OutputImageType::Pointer OutputImagePointer
Convert a LabelMap to a binary image.
Control indentation during Print() invocation.
typename InputImageType::LabelObjectType LabelObjectType
typename InputImageType::PixelType InputImagePixelType
ImageBaseType::IndexType IndexType
Base class for filters that take an image as input and produce an image as output.
Base class for all process objects that output image data.
typename InputImageType::Pointer InputImagePointer
Base class for filters that take an image as input and overwrite that image as the output.
ImageBaseType::RegionType RegionType
void SuperclassDynamicTGD(const OutputImageRegionType &outputRegion)
TInputImage InputImageType
void SetInput1(const InputImageType *input)
typename OutputImageType::RegionType OutputImageRegionType
OutputImageType * GetBackgroundImage()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename OutputImageType::IndexType IndexType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
void SetInput2(const OutputImageType *input)
typename OutputImageType::PixelType OutputImagePixelType
void SetBackgroundImage(const OutputImageType *input)
typename InputImageType::RegionType InputImageRegionType
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
typename InputImageType::ConstPointer InputImageConstPointer
TOutputImage OutputImageType
Base class for all data objects in ITK.