Page MenuHomePhabricator

mitkWorkbench crashes if creating a segmentation for a segmentation
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. Load a segmentation
  2. Uncheck the "binary" property for the segmentation so that the segmentation is treated a normal image
  3. Create a segmentation for the previous loaded segmentation -> Workbench crashes

Event Timeline

[e29e9c]: Merge branch 'bug-13479-segmentation-crash-when-creating-segmentation-

Merged commits:

2012-10-24 16:22:35 Andreas Fetzer [ae7a06]
Fixed crash of segmentation plugin when a segmentation for a segmentation should be created

Reason for this bug was an unused variable in the SegmentationView. To create
a segmentation of a segmentation the original segmentation has to be treated a
grayvalue image. Therefor the "binary" property has to be unchecked.
A segmentation is always handled as workingdata in the toolmanager. when the
binary flag is changed it is handled as reference data somehow this lead to a crash.