Go to the documentation of this file.
18 #ifndef sitkLabelMapToRGBImageFilter_h
19 #define sitkLabelMapToRGBImageFilter_h
66 SITK_RETURN_SELF_TYPE_HEADER
SetColormap ( std::vector<uint8_t> Colormap ) { this->m_Colormap = Colormap;
return *
this; }
70 std::vector<uint8_t>
GetColormap()
const {
return this->m_Colormap; }
73 std::string
GetName()
const {
return std::string (
"LabelMapToRGBImageFilter"); }
76 std::string ToString()
const;
88 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
93 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
96 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
typelist2::typelist< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > > LabelPixelIDTypeList
The base interface for SimpleITK filters that take one input image.