18 #ifndef itkLabelToRGBImageFilter_h
19 #define itkLabelToRGBImageFilter_h
48 template<
typename TLabelImage,
typename TOutputImage >
52 Functor::LabelToRGBFunctor<
53 typename TLabelImage::PixelType,
54 typename TOutputImage::PixelType > >
64 typename TLabelImage::PixelType,
116 void operator=(const Self &);
123 #ifndef ITK_MANUAL_INSTANTIATION
124 #include "itkLabelToRGBImageFilter.hxx"
TOutputImage OutputImageType
UnaryFunctorImageFilter< TLabelImage, TOutputImage, Functor::LabelToRGBFunctor< typename TLabelImage::PixelType, typename TOutputImage::PixelType > > Superclass
TLabelImage LabelImageType
Base class for all process objects that output image data.
LabelPixelType m_BackgroundValue
TOutputImage::PixelType OutputPixelType
void BeforeThreadedGenerateData() override
OutputPixelType m_BackgroundColor
TLabelImage::PixelType LabelPixelType
LabelToRGBImageFilter Self
void GenerateOutputInformation() override
Functor for converting labels into RGB triplets.
void AddColor(ComponentType r, ComponentType g, ComponentType b)
SmartPointer< const Self > ConstPointer
Implements pixel-wise generic operation on one image.
unsigned int GetNumberOfColors() const
Control indentation during Print() invocation.
OutputPixelType::ComponentType ComponentType
Define additional traits for native types such as int or float.
SmartPointer< Self > Pointer
Apply a colormap to a label image.
void PrintSelf(std::ostream &os, Indent indent) const override
NumericTraits< OutputPixelType >::ValueType OutputPixelValueType
virtual ~LabelToRGBImageFilter()