Robustness of "Fill between slices" effect

Hi all,

I’m applying the “Fill between slices” effect to two very similar images and I get the desired result in only one of them. Can someone take a look and let me know if you have any ideas to solve this? I expect two connected components and not three.

I tried (outside Slicer) all different combinations of the boolean parameters of itkMorphologicalContourInterpolator and got no improvements.

Link to the scene containing the two images and a segmentation with the contours before and after interpolation:

Thanks for looking into this. If you think this should be posted in ITK instead of here, please let me know.

Here’s what the scene looks like:


The interpolation algorithm assumes smoothly changing shape between segmented slices. If anywhere the interpolated contours are not accurate, all you have to do is segment some more slices. The interpolation will be updated automatically.

As Andras noted, another manual segmentation on the region where it is failing will improve the result.

It fails because there is an assumption that the segmented contours will overlap – it looks like they are not quite overlapping in that case.

The contours must have some overlap to be considered the same object. The
lack of overlap distinguishes different objects e.g. parallel blood vessels.