Page MenuHomePhabricator

MITK crashes when "Confirm for single slice" button is clicked
Closed, ResolvedPublic

Description

Do segmentation Checklist until step "Bei angezeigter gelber Kontur auf "Confirm for single slice" Button klicken". This chrashes MIT in some cases, produces some weired image in some other case.

Event Timeline

The reason is that the shape-based interpolation still uses the ipSegmentation library which is deprecated. The ipSegmentation library has a lot of code that assumes that the pixel type of a segmentation image is unsigned char. But since the migration to the new multilabel segmentation data structure the pixel type is unsigned short.

We should replace the ipSegmentation library with ITK-based code. T15985 is about removing the ipSegmentation code from the 2D interpolation.