Page MenuHomePhabricator

Workbench crashes when double-clicking on multilabel-segmentation label using 3D+t images
Closed, ResolvedPublic

Description

I work with an Linux installer from the beta branch.
When is use the multilabel segmentation tool for 3D+t images the Workbench will crash when I double-click a segmentation label in the multilabel segmentation plugin.
The workbench will then terminate with the error message: "Dimension 4 is not in (2)(3)"

To reconstruct this error do as follows:

  • open mitk Workbench
  • load a 3D+t images (error does NOT occur for 3D images!)
  • open the multilabel segmentation plugin
  • create a new multilabel segmentation session
  • and create a segmentation label for this session

this label will now be listed on the right under: "number of labels: 1"

  • double click this label

-> Crash

This error occurred when I had several labels created and wanted to change the "active" label. Therefore I can imagine that this is a bug that might occur quite frequently when using the multilabel segmentation tool.

<3

Event Timeline

full triaged this task as High priority.Oct 16 2018, 8:52 AM
full created this task.

This error occurs when double-clicking on a label (no need for a second label to be present), or when searching for a label. Both code paths end in a request to update the label's center of the mass which is currently not compiled for four-dimensional images.