18#ifndef sitkLabelOverlayImageFilter_h
19#define sitkLabelOverlayImageFilter_h
112 std::string
GetName()
const {
return std::string(
"LabelOverlayImageFilter"); }
169 Image &&image,
const Image &labelImage,
double opacity = 0.5,
double backgroundValue = 0.0, std::vector<uint8_t> colormap = std::vector<uint8_t>()
175 const Image &image,
const Image &labelImage,
double opacity = 0.5,
double backgroundValue = 0.0, std::vector<uint8_t> colormap = std::vector<uint8_t>()
The Image class for SimpleITK.
Image Execute(Image &&image, const Image &labelImage)
double GetOpacity() const
LabelOverlayImageFilter Self
std::vector< uint8_t > GetColormap() const
std::string ToString() const
std::string GetName() const
BasicPixelIDTypeList PixelIDTypeList
std::vector< uint8_t > m_Colormap
virtual ~LabelOverlayImageFilter()
LabelOverlayImageFilter()
Image(Self::*)(const Image * image, const Image * labelImage) MemberFunctionType
void SetColormap(std::vector< uint8_t > Colormap)
static const detail::DualMemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
void SetOpacity(double Opacity)
double GetBackgroundValue() const
void SetBackgroundValue(double BackgroundValue)
Image DualExecuteInternal(const Image *image, const Image *labelImage)
A class used to instantiate and generate function objects of templated member functions with two temp...
Image LabelOverlay(Image &&image, const Image &labelImage, double opacity=0.5, double backgroundValue=0.0, std::vector< uint8_t > colormap=std::vector< uint8_t >())
Apply a colormap to a label image and put it on top of the input image.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
#define SITKBasicFilters_EXPORT