".vtk" surface mesh to segmentation

Operating system:Mac OS Catalina 10.15.7
Slicer version: 4.13.0-2020-12-16 r29527 / d63012c

Hi,

I have a DICOM series and “.vtk” segmentation files (yellow) in the image.
I am able to load these files only as models.

How do I convert these surface meshes to segmentations.
Note: These are not closed surface meshes.

Attached below is the pyvista visualization of an example mesh.

Thank you.

Reconstructing a surface from closed curves is not a trivial operation.

Are the curves all planar? Are the planes parallel? Then you can import them by installing SlicerRT extension and doing the same as it is done in the OsiriX ROI importer:

If curves are on arbitrarily oriented planes then it is more complicated but even then there are many options available to reconstruct. For example, you can straighten the centerline using Curved Planar Reformat module (in Sandbox extension) and import the parallel contours as segmentation, then warp it back using the reformatting transform to the original geometry. Alternatively, you can rasterize each contour to a binary labelmap and then use Volume reconstructor (in SlicerIGSIO extension) to reconstruct a Cartesian segmentation volume from the oblique slices.

1 Like