18 #ifndef itkLabelMapToRGBImageFilter_h
19 #define itkLabelMapToRGBImageFilter_h
43 template<
typename TInputImage,
typename TOutputImage=Image< RGBPixel<
unsigned char>, TInputImage::ImageDimension > >
72 itkStaticConstMacro(InputImageDimension,
unsigned int,
73 TInputImage::ImageDimension);
74 itkStaticConstMacro(OutputImageDimension,
unsigned int,
75 TOutputImage::ImageDimension);
90 if ( m_Functor != functor )
104 virtual void BeforeThreadedGenerateData() ITK_OVERRIDE;
106 virtual
void ThreadedProcessLabelObject( LabelObjectType * labelObject ) ITK_OVERRIDE;
108 virtual
void GenerateOutputInformation() ITK_OVERRIDE;
118 #ifndef ITK_MANUAL_INSTANTIATION
119 #include "itkLabelMapToRGBImageFilter.hxx"
LabelMapFilter< TInputImage, TOutputImage > Superclass
Convert a LabelMap to a colored image.
InputImageType::ConstPointer InputImageConstPointer
OutputImageType::Pointer OutputImagePointer
Functor::LabelToRGBFunctor< InputImagePixelType, OutputImagePixelType > FunctorType
SmartPointer< const Self > ConstPointer
Base class for all process objects that output image data.
LabelMapToRGBImageFilter Self
OutputImageType::RegionType OutputImageRegionType
InputImageType::LabelObjectType LabelObjectType
FunctorType & GetFunctor()
TOutputImage OutputImageType
OutputImageType::PixelType OutputImagePixelType
OutputImageType::ConstPointer OutputImageConstPointer
InputImageType::RegionType InputImageRegionType
Base class for filters that take an image as input and overwrite that image as the output...
SmartPointer< Self > Pointer
virtual void SetFunctor(const FunctorType &functor)
const FunctorType & GetFunctor() const
Base class for filters that take an image as input and produce an image as output.
~LabelMapToRGBImageFilter() override
InputImageType::Pointer InputImagePointer
TInputImage InputImageType
OutputImageType::IndexType IndexType
InputImageType::PixelType InputImagePixelType
ImageBaseType::IndexType IndexType