18 #ifndef itkLabelToRGBImageFilter_h
19 #define itkLabelToRGBImageFilter_h
49 template<
typename TLabelImage,
typename TOutputImage >
53 Functor::LabelToRGBFunctor<
54 typename TLabelImage::PixelType,
55 typename TOutputImage::PixelType > >
67 typename TLabelImage::PixelType,
68 typename TOutputImage::PixelType > >;
97 unsigned int GetNumberOfColors()
const;
110 void BeforeThreadedGenerateData()
override;
113 void PrintSelf(std::ostream & os,
Indent indent)
const override;
115 void GenerateOutputInformation()
override;
123 #ifndef ITK_MANUAL_INSTANTIATION
124 #include "itkLabelToRGBImageFilter.hxx"
TLabelImage LabelImageType
Define numeric traits for std::vector.
typename TOutputImage::PixelType OutputPixelType
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 OutputPixelType::ComponentType ComponentType
typename TLabelImage::PixelType LabelPixelType
LabelPixelType m_BackgroundValue
TOutputImage OutputImageType
OutputPixelType m_BackgroundColor
Functor for converting labels into RGB triplets.
typename NumericTraits< OutputPixelType >::ValueType OutputPixelValueType
Implements pixel-wise generic operation on one image.
Control indentation during Print() invocation.
Apply a colormap to a label image.