18#ifndef sitkLabelMapToRGBImageFilter_h
19#define sitkLabelMapToRGBImageFilter_h
80 std::string
GetName()
const {
return std::string(
"LabelMapToRGBImageFilter"); }
98 std::vector<uint8_t>
m_Colormap{ std::vector<uint8_t>() };
118 const Image &image1, std::vector<uint8_t> colormap = std::vector<uint8_t>()
The Image class for SimpleITK.
Image(Self::*)(const Image &image1) MemberFunctionType
std::vector< uint8_t > m_Colormap
void SetColormap(std::vector< uint8_t > Colormap)
Image ExecuteInternal(const Image &image1)
std::string GetName() const
std::vector< uint8_t > GetColormap() const
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
Image Execute(const Image &image1)
virtual ~LabelMapToRGBImageFilter()
LabelMapToRGBImageFilter Self
LabelPixelIDTypeList PixelIDTypeList
LabelMapToRGBImageFilter()
std::string ToString() const
A class used to instantiate and generate function object to templated member functions.
typelist2::typelist< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > > LabelPixelIDTypeList
Image LabelMapToRGB(const Image &image1, std::vector< uint8_t > colormap=std::vector< uint8_t >())
Convert a LabelMap to a colored image.
#define SITKBasicFilters_EXPORT