MCPcopy Create free account
hub / github.com/MITK/MITK / GetLabelValuesByGroup

Method GetLabelValuesByGroup

Modules/Multilabel/src/mitkLabelSetImage.cpp:1491–1497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1489}
1490
1491const mitk::MultiLabelSegmentation::LabelValueVectorType mitk::MultiLabelSegmentation::GetLabelValuesByGroup(GroupIndexType index) const
1492{
1493 if (!this->ExistGroup(index))
1494 mitkThrow() << "Cannot get labels of an invalid group. Invalid group index: " << index;
1495
1496 return m_GroupToLabelMap[index];
1497}
1498
1499const mitk::MultiLabelSegmentation::LabelValueVectorType mitk::MultiLabelSegmentation::GetLabelValuesByName(const std::string_view name) const
1500{

Callers 15

ClearGroupImageMethod · 0.95
ClearGroupImagesMethod · 0.95
MergeLabelsMethod · 0.95
AddLabelWithContentMethod · 0.95
GetLabelValuesByNameMethod · 0.95
DoReadMethod · 0.80
LabelsAreMonotonicOneToNFunction · 0.80
WriteMethod · 0.80

Calls 1

ExistGroupMethod · 0.95