Page MenuHomePhabricator

[Segmentation] Some AutoTools confirm objects to the first Label instead of selected and/or completely override existing segmentations
Closed, ResolvedPublic

Description

  1. Start Segmentation View
  2. Click "Create new segmentation". Then a label name "New Label 1" appears in the list widget. Tools are active.
  3. Add a new label "New Label 2". Select it.
  4. Now click on Otsu and generate a Preview segmentation.
  5. Click on an object from the Preview and Press Confirm

The objects are confirmed to "New Label 1" instead of "New Label 2"

Event Timeline

kislinsk renamed this task from [Segmentation] AutoMLSegmentationPreview based Tools confirms objects to the first Label instead of selected to [Segmentation] Some AutoTools confirm objects to the first Label instead of selected and/or completely override existing segmentations.Apr 1 2022, 9:30 AM
kislinsk triaged this task as High priority.
kislinsk edited projects, added MITK (v2022.04); removed MITK.

@kislinsk I'm not sure if this is the same issue as the child issues. I guess here the problem is, that the Otsu Tool writes to the first label, although the second one is selected.
The linked issues in the subtasks in contrast all mention that a tool overwrites a label - as far as I understood they write the output to the correct label, but the previous one is just erased (which is a known problem and was already mentioned in T28991: [Segmentation] 3D tools overwrite / remove previous mask if reconfirmed.

I might be wrong, we should clarify what exactly is the difference in the tasks.

@floca I'm not sure if this was your intention but it seems as if D622 also solves this issue - at least I'm not able to reproduce this, given the description, with your changes.

@floca I'm not sure if this was your intention but it seems as if D622 also solves this issue - at least I'm not able to reproduce this, given the description, with your changes.

Yes it was. ;)