Page MenuHomePhabricator

Make segmentation to surface conversion truely multi label aware
Closed, ResolvedPublic

Description

Currently the whole label set image is stuffed into the conversion filter that just does a thresholding at 0.5. The be truely multi label aware, the filter should iterate through individual label images and create a surface for each label in the matching color.

Event Timeline

kislinsk triaged this task as Wishlist priority.Dec 21 2018, 7:10 AM
kislinsk created this task.

I am able now to create surfaces either smoothed or not (only 3D now, though) but the former case seemed to work only on a single PC. I found the reason. QmitkCreatePolygonModelAction once was copied from the segmentation plugin to the multilabel plugin and for a certain time, the actions appeared twice in the context menu as both plugin.xml files added the context menu entries. This was then fixed so that only the segmentation plugin adds the actions as it should also work without the multilabel plugin. However, I just noted that there's a race condition as still both plugin activators register their classes with the same class name. So the eventual implementation that is chosen is totally up to a race condition.

Wohoo, nice surprise, 3D+t is already working, I totally forgot that I fixed it before Christmas when I focussed on the race condition thingy. I'll create a new installer and if it works for you, @full, I'll merge it into the release branch.