18 #ifndef itkLabelMapToRGBImageFilter_h
19 #define itkLabelMapToRGBImageFilter_h
43 template<
typename TInputImage,
typename TOutputImage=Image< RGBPixel<
unsigned char>, TInputImage::ImageDimension > >
74 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
75 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
89 if ( m_Functor != functor )
103 void BeforeThreadedGenerateData()
override;
105 void ThreadedProcessLabelObject( LabelObjectType * labelObject )
override;
107 void GenerateOutputInformation()
override;
115 #ifndef ITK_MANUAL_INSTANTIATION
116 #include "itkLabelMapToRGBImageFilter.hxx"
typename OutputImageType::Pointer OutputImagePointer
Convert a LabelMap to a colored image.
typename InputImageType::LabelObjectType LabelObjectType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
typename Functor::LabelToRGBFunctor< InputImagePixelType, OutputImagePixelType > FunctorType
TInputImage InputImageType
typename OutputImageType::ConstPointer OutputImageConstPointer
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::Pointer InputImagePointer
FunctorType & GetFunctor()
typename OutputImageType::RegionType OutputImageRegionType
ImageBaseType::IndexType IndexType
TOutputImage OutputImageType
Base class for filters that take an image as input and overwrite that image as the output...
virtual void SetFunctor(const FunctorType &functor)
typename OutputImageType::IndexType IndexType
typename InputImageType::RegionType InputImageRegionType
const FunctorType & GetFunctor() const
Base class for filters that take an image as input and produce an image as output.
ImageBaseType::RegionType RegionType
typename InputImageType::ConstPointer InputImageConstPointer