Report a problem with converting stl to nrrd

Hi,

I would like to report a problem with converting stl file to nrrd.file.
The red figure is my stl file of a skeleton model. I would like to convert it to nrrd file, and my process is right click my stl model, and choose ‘convert model to segmentation node’, and resave as nrrd file instead of seg.nrrd file.

And the problem occurs, there are several extra bars in my skeleton model (See the yellow figure).


image

To me, it is very strange when I convert my stl model to nrrd, 3D slicer adds some extra voxel on my model. I tried version 5.0.3 and 4.10.2, both of them have the same problem.
I am really confused, and hope someone can tell me how to fix this problem. I can share my stl model if anyone wants to test byself.

Best,
Chuan

It’s very common for STL files to have small artifacts that lead to errors like this when converting to labelmaps. A few things you might try are changing the resolution of the segmentation, slightly rotating and hardening the models a bit before converting, or using the Surface Toolbox module to clean up the meshes before conversion.

1 Like