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

Method ExistLabel

Modules/Multilabel/src/mitkLabelSetImage.cpp:1374–1378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1372}
1373
1374bool mitk::MultiLabelSegmentation::ExistLabel(LabelValueType value) const
1375{
1376 auto finding = m_LabelMap.find(value);
1377 return m_LabelMap.end() != finding;
1378}
1379
1380bool mitk::MultiLabelSegmentation::ExistLabel(LabelValueType value, GroupIndexType groupIndex) const
1381{

Callers 15

GetActiveLayerMethod · 0.95
RemoveGroupMethod · 0.95
ReplaceGroupLabelsMethod · 0.95
ReplaceLabelsMethod · 0.95
SetActiveLabelMethod · 0.95
MergeLabelMethod · 0.95
MergeLabelsMethod · 0.95
LoadNewJSONPresetFunction · 0.80
CreateLabelMaskMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 6

TestExistsLabelMethod · 0.64
TestRemoveLabelsMethod · 0.64
TestEraseLabelsMethod · 0.64
TestMergeLabelsMethod · 0.64
FilterValidLabelsFunction · 0.64