Page MenuHomePhabricator

[Segmentation] Totalsegmentator & Otsu is buggy
Closed, ResolvedPublic

Description

Multiple UI bugs spotted in Totalsegmentator tool on latest develop branch.

  1. After rendering preview segmentations by clicking on "Run totalsegmentator", "Confirm Segmentation" button doesn't get activated automatically. However, "Transfer all labels" radio button is selected by default.
  1. Cannot re-run Totalsegmentator for preview. Immediately, an error message pops up.

totalseg_error.png (913×1 px, 184 KB)

Revisions and Commits

rMITK MITK
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision

Event Timeline

Further testing/debugging reveals that the error occurs in TotalSegmentatorTool::UpdatePrepare() method at preview->RemoveLabels(preview->GetAllLabelValues()). More precisely, the LabelSetImage::RemoveLabel method has this->InvokeEvent(LabelRemovedEvent(pixelValue)); which causes the exception. This issue is also applicable for Otsu tool (hence updating the title of this task).

a178n renamed this task from [Segmentation] Totalsegmentator is buggy to [Segmentation] Totalsegmentator & Otsu is buggy.Mon, Apr 15, 10:26 AM
floca triaged this task as High priority.
floca moved this task from Backlog to Cycle on the MITK (v2024.06) board.

ok. thanks for investigating. I will have a look.

a178n added a revision: Restricted Differential Revision.Tue, Apr 23, 11:30 PM