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.

Hello,
I am trying to import a segmentation from one CT examination volume into a new, similar CT examination volume. When I attempt to do so, the segmentation and/or model that I import is located in a different location/ coordinate than the CT volume.

I would like to simply move and maybe rotate the 3d segmentation a little in order to superimpose it over the new CT exam volume.

I hope someone can help with this. Also happy to work together to figure it out over zoom.
Thanks.

Short answer is you can use Transforms module to create a blank transform, assign your segmentation to it, and the use the position sliders to manually align in 3D space. Registration might be an option too.

But, unless these are coming from the same subject, they probably won’t line up very well due to difference between individuals. You should be able to segment your volume with the existing segmentation tools quite effectively, so you don’t have to worry aligning another segmentation.

2 Likes

Yes, probably landmark-based registration would get these aligned the fastest. If you use Fiducial registration wizard module (in SlicerIGT extension) then you can choose warping transform, which can deal with large differences.

What is your goal with the registration? Why don’t you segment the CT image instead?

1 Like

2 posts were split to a new topic: Image is not aligned with segmentation