18#ifndef sitkLabelMapContourOverlayImageFilter_h
19#define sitkLabelMapContourOverlayImageFilter_h
73 SITK_RETURN_SELF_TYPE_HEADER
SetOpacity (
double Opacity ) { this->
m_Opacity = Opacity;
return *
this; }
141 SITK_RETURN_SELF_TYPE_HEADER
SetColormap ( std::vector<uint8_t> Colormap ) { this->
m_Colormap = Colormap;
return *
this; }
148 std::string
GetName()
const {
return std::string (
"LabelMapContourOverlayImageFilter"); }
198 SITKBasicFilters_EXPORT Image LabelMapContourOverlay (
const Image & labelMapImage,
const Image & featureImage,
double opacity = 0.5, std::vector<unsigned int> dilationRadius = std::vector<unsigned int>(3, 1), std::vector<unsigned int> contourThickness = std::vector<unsigned int>(3, 1),
unsigned int sliceDimension = 0u,
LabelMapContourOverlayImageFilter::ContourTypeType contourType =
itk::simple::LabelMapContourOverlayImageFilter::CONTOUR,
LabelMapContourOverlayImageFilter::PriorityType priority =
itk::simple::LabelMapContourOverlayImageFilter::HIGH_LABEL_ON_TOP, std::vector<uint8_t> colormap = std::vector<uint8_t>() );
The Image class for SimpleITK.
std::vector< unsigned int > m_DilationRadius
std::vector< uint8_t > m_Colormap
std::unique_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
Self & SetOpacity(double Opacity)
std::string ToString() const
std::vector< unsigned int > GetContourThickness() const
Self & SetDilationRadius(std::vector< unsigned int > DilationRadius)
Image(Self::*)(const Image *labelMapImage, const Image *featureImage) MemberFunctionType
Self & SetContourThickness(std::vector< unsigned int > ContourThickness)
LabelPixelIDTypeList PixelIDTypeList
unsigned int m_SliceDimension
ContourTypeType GetContourType() const
double GetOpacity() const
Self & SetPriority(PriorityType Priority)
std::vector< unsigned int > m_ContourThickness
Self & SetSliceDimension(unsigned int SliceDimension)
LabelMapContourOverlayImageFilter Self
Self & SetContourType(ContourTypeType ContourType)
std::vector< uint8_t > GetColormap() const
std::vector< unsigned int > GetDilationRadius() const
Self & SetColormap(std::vector< uint8_t > Colormap)
std::string GetName() const
virtual ~LabelMapContourOverlayImageFilter()
unsigned int GetSliceDimension() const
ContourTypeType m_ContourType
Self & SetDilationRadius(unsigned int value)
Image Execute(const Image &labelMapImage, const Image &featureImage)
PriorityType GetPriority() const
LabelMapContourOverlayImageFilter()
Image DualExecuteInternal(const Image *labelMapImage, const Image *featureImage)
typelist2::typelist< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > > LabelPixelIDTypeList
Image LabelMapContourOverlay(const Image &labelMapImage, const Image &featureImage, double opacity=0.5, std::vector< unsigned int > dilationRadius=std::vector< unsigned int >(3, 1), std::vector< unsigned int > contourThickness=std::vector< unsigned int >(3, 1), unsigned int sliceDimension=0u, LabelMapContourOverlayImageFilter::ContourTypeType contourType=itk::simple::LabelMapContourOverlayImageFilter::CONTOUR, LabelMapContourOverlayImageFilter::PriorityType priority=itk::simple::LabelMapContourOverlayImageFilter::HIGH_LABEL_ON_TOP, std::vector< uint8_t > colormap=std::vector< uint8_t >())
Apply a colormap to the contours (outlines) of each object in a label map and superimpose it on top o...
#define SITKBasicFilters_EXPORT