18#ifndef itkCustomColormapFunction_h
19#define itkCustomColormapFunction_h
48template <
typename TScalar,
typename TRGBPixel>
62 using typename Superclass::RGBPixelType;
63 using typename Superclass::ScalarType;
64 using typename Superclass::RealType;
86 m_GreenChannel = green;
92 return m_GreenChannel;
104 return m_BlueChannel;
119#ifndef ITK_MANUAL_INSTANTIATION
120# include "itkCustomColormapFunction.hxx"
Function object which maps a scalar value into an RGB colormap value.
Function object which maps a scalar value into an RGB colormap value.
ChannelType GetRedChannel() const
CustomColormapFunction()=default
void SetGreenChannel(ChannelType green)
ChannelType GetGreenChannel() const
std::vector< RealType > ChannelType
void SetBlueChannel(ChannelType blue)
ChannelType GetBlueChannel() const
RGBPixelType operator()(const TScalar &) const override
~CustomColormapFunction() override=default
void SetRedChannel(ChannelType red)
Light weight base class for most itk classes.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....