18#ifndef itkScalarToRGBPixelFunctor_h
19#define itkScalarToRGBPixelFunctor_h
43template <
typename TScalar>
61 m_UseMSBForHashing =
false;
67 m_UseMSBForHashing =
true;
73 m_UseMSBForHashing = value;
79 return m_UseMSBForHashing;
85 m_UseMSBForHashing =
true;
91 m_UseMSBForHashing =
false;
97 unsigned int m_ColorIndex[3];
102#ifndef ITK_MANUAL_INSTANTIATION
103# include "itkScalarToRGBPixelFunctor.hxx"
A Function object which maps a scalar value into an RGB pixel value.
~ScalarToRGBPixelFunctor()=default
unsigned char RGBComponentType
void SetUseMSBForHashing(bool value)
ScalarToRGBPixelFunctor()
void UseMSBForHashingOff()
void UseMSBForHashingOn()
RGBPixelType operator()(const TScalar &) const
bool GetUseMSBForHashing() const
Represent Red, Green and Blue components for color images.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....