Page MenuHomePhabricator

Segmentation behaves strange when finished segmentation is loaded before starting new one
Closed, DuplicatePublic


To reproduce:

  • Load 1 image file and one segmentation (separate files, no mitk project)
  • add new segmentation

now: when drawing a segmentation, the segmentation is placed differently than the region it is drawn, but the interpolation actually is shown at the correct position.

I can provide data to reproduce the bug (if this should be data specific)

Event Timeline

The reason for this bug is that the segmentation and the reference image which are provided by you Christian do not have the same geometry. When you then create a new segmentation you will have to perform a reinit on the reference image.

What we should think about is to check whether the current world geometry is the same like the image"s geometry. If this is not the case we should make a reinit by default or disable the tools and display a according warning