18#ifndef sitkLabelMapContourOverlayImageFilter_h
19#define sitkLabelMapContourOverlayImageFilter_h
102 std::vector<unsigned int>
115 std::vector<unsigned int>
172 std::string
GetName()
const {
return std::string(
"LabelMapContourOverlayImageFilter"); }
185 labelMapImage,
const Image *
190 labelMapImage,
const Image *
230 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
static const detail::DualMemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
void SetContourType(ContourTypeType ContourType)
std::vector< uint8_t > m_Colormap
std::string ToString() const
std::vector< unsigned int > GetContourThickness() const
void SetDilationRadius(unsigned int value)
LabelPixelIDTypeList PixelIDTypeList
unsigned int m_SliceDimension
ContourTypeType GetContourType() const
double GetOpacity() const
std::vector< unsigned int > m_ContourThickness
LabelMapContourOverlayImageFilter Self
void SetPriority(PriorityType Priority)
void SetDilationRadius(std::vector< unsigned int > DilationRadius)
std::vector< uint8_t > GetColormap() const
std::vector< unsigned int > GetDilationRadius() const
Image(Self::*)(const Image * labelMapImage, const Image * featureImage) MemberFunctionType
std::string GetName() const
virtual ~LabelMapContourOverlayImageFilter()
unsigned int GetSliceDimension() const
void SetOpacity(double Opacity)
void SetColormap(std::vector< uint8_t > Colormap)
ContourTypeType m_ContourType
Image Execute(const Image &labelMapImage, const Image &featureImage)
PriorityType GetPriority() const
void SetContourThickness(std::vector< unsigned int > ContourThickness)
void SetSliceDimension(unsigned int SliceDimension)
LabelMapContourOverlayImageFilter()
Image DualExecuteInternal(const Image *labelMapImage, const Image *featureImage)
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 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