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