18#ifndef sitkLabelMapOverlayImageFilter_h
19#define sitkLabelMapOverlayImageFilter_h
96 std::vector<unsigned char>
101 std::string
GetName()
const {
return std::string(
"LabelMapOverlayImageFilter"); }
114 labelMapImage,
const Image *
119 labelMapImage,
const Image *
130 std::vector<unsigned char>
m_Colormap{ std::vector<unsigned char>() };
150 const Image &labelMapImage,
const Image &featureImage,
double opacity = 0.5, std::vector<unsigned char> colormap = std::vector<unsigned char>()
The Image class for SimpleITK.
std::string ToString() const
LabelMapOverlayImageFilter Self
void SetColormap(std::vector< unsigned char > Colormap)
std::vector< unsigned char > m_Colormap
LabelMapOverlayImageFilter()
Image Execute(const Image &labelMapImage, const Image &featureImage)
double GetOpacity() const
Image DualExecuteInternal(const Image *labelMapImage, const Image *featureImage)
std::string GetName() const
Image(Self::*)(const Image * labelMapImage, const Image * featureImage) MemberFunctionType
virtual ~LabelMapOverlayImageFilter()
void SetOpacity(double Opacity)
static const detail::DualMemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
LabelPixelIDTypeList PixelIDTypeList
std::vector< unsigned char > GetColormap() const
A class used to instantiate and generate function objects of templated member functions with two temp...
typelist2::typelist< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > > LabelPixelIDTypeList
Image LabelMapOverlay(const Image &labelMapImage, const Image &featureImage, double opacity=0.5, std::vector< unsigned char > colormap=std::vector< unsigned char >())
Apply a colormap to a label map and superimpose it on an image.
#define SITKBasicFilters_EXPORT