18#ifndef sitkLabelToRGBImageFilter_h
19#define sitkLabelToRGBImageFilter_h
100 std::string
GetName()
const {
return std::string(
"LabelToRGBImageFilter"); }
146 Image&& image1,
double backgroundValue = 0.0, std::vector<uint8_t> colormap = std::vector<uint8_t>()
152 const Image &image1,
double backgroundValue = 0.0, std::vector<uint8_t> colormap = std::vector<uint8_t>()
The Image class for SimpleITK.
Image Execute(const Image &image1)
LabelToRGBImageFilter Self
Image(Self::*)(const Image &image1) MemberFunctionType
double GetBackgroundValue() const
std::vector< uint8_t > m_Colormap
IntegerPixelIDTypeList PixelIDTypeList
Image ExecuteInternal(const Image &image1)
virtual ~LabelToRGBImageFilter()
Image Execute(Image &&image1)
std::string GetName() const
void SetColormap(std::vector< uint8_t > Colormap)
std::vector< uint8_t > GetColormap() const
void SetBackgroundValue(double BackgroundValue)
std::string ToString() const
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
A class used to instantiate and generate function object to templated member functions.
Image LabelToRGB(Image &&image1, double backgroundValue=0.0, std::vector< uint8_t > colormap=std::vector< uint8_t >())
Apply a colormap to a label image.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > > IntegerPixelIDTypeList
#define SITKBasicFilters_EXPORT