Go to the documentation of this file.
18 #ifndef sitkLabelMapToRGBImageFilter_h
19 #define sitkLabelMapToRGBImageFilter_h
67 SITK_RETURN_SELF_TYPE_HEADER
SetColormap ( std::vector<uint8_t> Colormap ) { this->m_Colormap = Colormap;
return *
this; }
71 std::vector<uint8_t>
GetColormap()
const {
return this->m_Colormap; }
74 std::string
GetName()
const {
return std::string (
"LabelMapToRGBImageFilter"); }
77 std::string ToString()
const;
89 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
94 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
97 std::vector<uint8_t> m_Colormap{std::vector<uint8_t>()};
The Image class for SimpleITK.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetColormap(std::vector< uint8_t > Colormap)
Convert a LabelMap to a colored image.
LabelPixelIDTypeList PixelIDTypeList
Image LabelMapToRGB(const Image &image1, std::vector< uint8_t > colormap=std::vector< uint8_t >())
Convert a LabelMap to a colored image.
std::string GetName() const
#define SITKBasicFilters_EXPORT
Image(Self::*)(const Image &image1) MemberFunctionType
std::vector< uint8_t > GetColormap() const
The base interface for SimpleITK filters that take one input image.
typelist::MakeTypeList< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > >::Type LabelPixelIDTypeList