3D model to segmentation

I would like to able to clean some 3D models from surface scanner. Currently, what I do is to import the model as a segmentation node, and then export the resultant segmentation node as a label map, which I use it as the master volume in the segment editor.

It seems to work. Would there be any downsides to this approach?

This is a good approach. In recent nightly Slicer versions this process is streamlined:

  • Drag-and-drop STL file to Slicer window and in Add data dialog, choose “Segmentation” in Description column (there is no need to load as model and then import to segmentation but you can directly load as segmentation)
  • Go to Segment Editor, click “Specify geometry” button (next to Master volume selector)
  • Choose current segmentation node as source geometry, set spacing values, click OK

This automatically creates a blank master volume with the necessary size and chosen resolution so that you can edit the segmentation right away.

2 Likes

Thanks @lassoan. How recent is this? My nightly from 12/11 still shows only model/scalar overlay/volume as options in description column. My data is in ply format, not stl by the way.

We have not enabled direct segmentation import for all surface mesh files. Probably ply you still have to load as model and then import to segmentation.

@lassoan are you planning to enable importing segmentation from non-stl 3D model formats at all?

We can import STL and OBJ. Would there be any other mesh file formats that you would like load directly as segmentation?

I think it would be good to have PLY and VTK. Particularly latter being the default format for 3D models in Slicer.