18 #ifndef itkLabelMapToBinaryImageFilter_h
19 #define itkLabelMapToBinaryImageFilter_h
45 template<
typename TInputImage,
typename TOutputImage >
69 typedef typename OutputImageType::IndexType
IndexType;
103 this->
SetNthInput( 1, const_cast< OutputImageType * >( input ) );
145 void operator=(const Self &);
154 #ifndef ITK_MANUAL_INSTANTIATION
155 #include "itkLabelMapToBinaryImageFilter.hxx"
SmartPointer< const Self > ConstPointer
void PrintSelf(std::ostream &os, Indent indent) const override
InputImageType::RegionType InputImageRegionType
OutputImagePixelType m_ForegroundValue
InputImageType::LabelObjectType LabelObjectType
OutputImageType * GetBackgroundImage()
OutputImageType::RegionType OutputImageRegionType
TInputImage InputImageType
Base class for all process objects that output image data.
SmartPointer< Self > Pointer
LabelMapToBinaryImageFilter()
void SetInput1(const InputImageType *input)
void GenerateInputRequestedRegion() override
OutputImageType::ConstPointer OutputImageConstPointer
Barrier::Pointer m_Barrier
LabelMapToBinaryImageFilter Self
virtual void SetInput(const InputImageType *image)
OutputImagePixelType m_BackgroundValue
OutputImageType::IndexType IndexType
virtual void BeforeThreadedGenerateData() override
virtual void ThreadedProcessLabelObject(LabelObjectType *labelObject) override
InputImageType::PixelType InputImagePixelType
TInputImage InputImageType
static const unsigned int OutputImageDimension
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...
void EnlargeOutputRequestedRegion(DataObject *) override
unsigned int ThreadIdType
InputImageType::ConstPointer InputImageConstPointer
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
static const unsigned int InputImageDimension
OutputImageType::PixelType OutputImagePixelType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
void SetBackgroundImage(const OutputImageType *input)
TOutputImage OutputImageType
LabelMapFilter< TInputImage, TOutputImage > Superclass
Base class for all data objects in ITK.
virtual void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
Convert a LabelMap to a binary image.
~LabelMapToBinaryImageFilter()
Standard barrier class implementation for synchronizing the execution of threads. ...