Medical Imaging Interaction Toolkit
2025.08.99-f7084adb
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkLabelSetImageHelper_h
14 #define mitkLabelSetImageHelper_h
25 namespace LabelSetImageHelper
52 const Image* initialSegmentationImage =
nullptr,
const std::string& segmentationName = std::string(),
#define MITKMULTILABEL_EXPORT
MITKMULTILABEL_EXPORT std::string CreateDisplayGroupName(const MultiLabelSegmentation *labelSetImage, MultiLabelSegmentation::GroupIndexType groupID)
Image class for storing images.
std::map< MultiLabelSegmentation::GroupIndexType, std::map< MultiLabelSegmentation::GroupIndexType, LabelValueMappingVector > > SourceToTargetGroupIDToLabelValueMappingMapType
std::size_t GroupIndexType
Find image slices visible on a given plane.
std::vector< LabelValueType > LabelValueVectorType
A data structure describing a label.
MITKMULTILABEL_EXPORT Label::Pointer CreateNewLabel(const MultiLabelSegmentation *labelSetImage, const std::string &namePrefix="Label", bool hideIDIfUnique=false)
This function creates and returns a new label. The label is automatically assigned an unused generic ...
MultiLabelSegmentation class for handling labels and layers in a segmentation session.
std::map< mitk::MultiLabelSegmentation::GroupIndexType, MultiLabelSegmentation::LabelValueVectorType > GroupIDToLabelValueMapType
MITKMULTILABEL_EXPORT GroupIDToLabelValueMapType SplitLabelValuesByGroup(const MultiLabelSegmentation *labelSetImage, const MultiLabelSegmentation::LabelValueVectorType &labelValues)
MITKMULTILABEL_EXPORT std::string CreateDisplayLabelName(const MultiLabelSegmentation *labelSetImage, const Label *label)
Data management class that handles 'was created by' relations.
MITKMULTILABEL_EXPORT mitk::DataNode::Pointer CreateEmptySegmentationNode(const std::string &segmentationName=std::string())
This function creates and returns a new empty segmentation data node.
MITKMULTILABEL_EXPORT SourceToTargetGroupIDToLabelValueMappingMapType SplitLabelValueMappingBySourceAndTargetGroup(const MultiLabelSegmentation *sourceSeg, const MultiLabelSegmentation *targetSeg, const LabelValueMappingVector &labelMapping)
MITKMULTILABEL_EXPORT LabelClassNameToLabelValueMapType SplitLabelValuesByClassName(const MultiLabelSegmentation *labelSetImage, MultiLabelSegmentation::GroupIndexType groupID)
MITKMULTILABEL_EXPORT mitk::DataNode::Pointer CreateNewSegmentationNode(const DataNode *referenceNode, const Image *initialSegmentationImage=nullptr, const std::string &segmentationName=std::string(), const DataStorage *dataStorage=nullptr)
This function creates and returns a new data node with a new empty segmentation data structure....
std::vector< std::pair< Label::PixelType, Label::PixelType > > LabelValueMappingVector
Class for nodes of the DataTree.
MITKMULTILABEL_EXPORT std::string CreateHTMLLabelName(const Label *label, const MultiLabelSegmentation *segmentation=nullptr)
std::map< std::string, MultiLabelSegmentation::LabelValueVectorType > LabelClassNameToLabelValueMapType