18#ifndef itkLabelMapToRGBImageFilter_h
19#define itkLabelMapToRGBImageFilter_h
44template <
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)
126#ifndef ITK_MANUAL_INSTANTIATION
127# include "itkLabelMapToRGBImageFilter.hxx"
Base class for filters that take an image as input and overwrite that image as the output.
Convert a LabelMap to a colored image.
typename OutputImageType::Pointer OutputImagePointer
typename InputImageType::ConstPointer InputImageConstPointer
LabelMapToRGBImageFilter()=default
TInputImage InputImageType
typename OutputImageType::ConstPointer OutputImageConstPointer
typename InputImageType::LabelObjectType LabelObjectType
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::IndexType IndexType
typename Functor::LabelToRGBFunctor< InputImagePixelType, OutputImagePixelType > FunctorType
void ThreadedProcessLabelObject(LabelObjectType *labelObject) override
typename OutputImageType::RegionType OutputImageRegionType
typename InputImageType::Pointer InputImagePointer
FunctorType & GetFunctor()
void BeforeThreadedGenerateData() override
~LabelMapToRGBImageFilter() override=default
virtual void SetFunctor(const FunctorType &functor)
void GenerateOutputInformation() override
const FunctorType & GetFunctor() const
typename InputImageType::RegionType InputImageRegionType
typename InputImageType::PixelType InputImagePixelType
TOutputImage OutputImageType
Light weight base class for most itk classes.
Functor::Add2< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....