Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkLabelSetImageHelper_h
14 #define mitkLabelSetImageHelper_h
26 namespace LabelSetImageHelper
52 const Image* initialSegmentationImage =
nullptr,
const std::string& segmentationName = std::string());
#define MITKMULTILABEL_EXPORT
MITKMULTILABEL_EXPORT Label::Pointer CreateNewLabel(const LabelSetImage *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 ...
MITKMULTILABEL_EXPORT GroupIDToLabelValueMapType SplitLabelValuesByGroup(const LabelSetImage *labelSetImage, const LabelSetImage::LabelValueVectorType &labelValues)
MITKMULTILABEL_EXPORT mitk::DataNode::Pointer CreateNewSegmentationNode(const DataNode *referenceNode, const Image *initialSegmentationImage=nullptr, const std::string &segmentationName=std::string())
This function creates and returns a new data node with a new empty segmentation data structure....
Image class for storing images.
Find image slices visible on a given plane.
std::map< std::string, LabelSetImage::LabelValueVectorType > LabelClassNameToLabelValueMapType
MITKMULTILABEL_EXPORT LabelClassNameToLabelValueMapType SplitLabelValuesByClassNamwe(const LabelSetImage *labelSetImage, LabelSetImage::GroupIndexType groupID)
std::map< mitk::LabelSetImage::GroupIndexType, LabelSetImage::LabelValueVectorType > GroupIDToLabelValueMapType
MITKMULTILABEL_EXPORT mitk::DataNode::Pointer CreateEmptySegmentationNode(const std::string &segmentationName=std::string())
This function creates and returns a new empty segmentation data node.
std::size_t GroupIndexType
Class for nodes of the DataTree.
std::vector< LabelValueType > LabelValueVectorType
LabelSetImage class for handling labels and layers in a segmentation session.
MITKMULTILABEL_EXPORT std::string CreateDisplayGroupName(const LabelSetImage *labelSetImage, LabelSetImage::GroupIndexType groupID)