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

Method GetGroupImage

Modules/Multilabel/src/mitkLabelSetImage.cpp:602–607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600}
601
602mitk::Image* mitk::MultiLabelSegmentation::GetGroupImage(GroupIndexType groupID)
603{
604 if (!this->ExistGroup(groupID)) mitkThrow() << "Error, cannot return group image. Group ID is invalid. Invalid ID: " << groupID;
605
606 return m_GroupContainer[groupID];
607}
608
609
610const mitk::Image* mitk::MultiLabelSegmentation::GetGroupImage(GroupIndexType groupID) const

Callers 15

ClearGroupImageMethod · 0.95
ClearGroupImagesMethod · 0.95
MergeLabelsMethod · 0.95
EraseLabelMethod · 0.95
AddLabelWithContentMethod · 0.95
UpdateCenterOfMassMethod · 0.95
IsEmptyMethod · 0.95
WriteMethod · 0.45
DoReadMethod · 0.45

Calls 3

ExistGroupMethod · 0.95
GetPointerMethod · 0.80
atMethod · 0.80

Tested by 14

BuildSegWithRuleFunction · 0.36
TestInitializeMethod · 0.36
TestRemoveLabelsMethod · 0.36
TestEraseLabelsMethod · 0.36
TestMergeLabelsMethod · 0.36
BuildBaseSegFunction · 0.36