18#ifndef sitkLabelToRGBImageFilter_h
19#define sitkLabelToRGBImageFilter_h
81 SITK_RETURN_SELF_TYPE_HEADER
SetColormap ( std::vector<uint8_t> Colormap ) { this->
m_Colormap = Colormap;
return *
this; }
88 std::string
GetName()
const {
return std::string (
"LabelToRGBImageFilter"); }
The Image class for SimpleITK.
Image Execute(const Image &image1)
LabelToRGBImageFilter Self
double GetBackgroundValue() const
Image(Self::*)(const Image &image1) MemberFunctionType
std::vector< uint8_t > m_Colormap
IntegerPixelIDTypeList PixelIDTypeList
Image ExecuteInternal(const Image &image1)
virtual ~LabelToRGBImageFilter()
Image Execute(Image &&image1)
std::string GetName() const
std::vector< uint8_t > GetColormap() const
Self & SetBackgroundValue(double BackgroundValue)
Self & SetColormap(std::vector< uint8_t > Colormap)
std::string ToString() const
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
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