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

Method ReleaseLabel

Modules/Multilabel/src/mitkLabelSetImage.cpp:1344–1348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1342}
1343
1344void mitk::MultiLabelSegmentation::ReleaseLabel(Label* label)
1345{
1346 if (nullptr == label) mitkThrow() << "Invalid call of ReleaseLabel with a nullptr.";
1347 m_LabelModEventGuardMap.erase(label->GetValue());
1348}
1349
1350void mitk::MultiLabelSegmentation::ApplyToLabels(const LabelValueVectorType& values, std::function<void(Label*)>&& lambda)
1351{

Callers 4

RemoveGroupMethod · 0.95
ReplaceLabelsMethod · 0.95
RemoveLabelFromMapMethod · 0.95

Calls 2

eraseMethod · 0.45
GetValueMethod · 0.45

Tested by

no test coverage detected