HomePhabricator
Diffusion MITK 4381d9427fe0

Set name and color of new label

Description

Set name and color of new label

Details

Provenance
kislinskAuthored on Apr 28 2023, 3:13 PM
kislinskPushed on Apr 28 2023, 3:18 PM
Parents
rMITK5b0c1ae43f3d: Total Segmentator tool: support for all subtasks
Branches
Unknown
Tags
Unknown

Event Timeline

kislinsk added inline comments.
/Plugins/org.mitk.gui.qt.segmentation/src/QmitkNewSegmentationDialog.cpp
369

@floca I think some of the bugs could have been prevented if this method would be harder to be used wrong. The mode here is not necessary as it can be already deduced by the segmentation parameter (nullptr New Label, otherwise Rename Label). A few bugs were related to the fact that the mode parameter didn't match the segmentation parameter. This could be clearly communicated in the documentation of the method.