How to write STL from dicom slices

(Selvakarna) #1

@lassoan how to write STL from dicom slides[ its like 1000 slides], ?
How to write STL from X Y Z coordinates , this coordinates are extracted from 1000 dicom slides,?

0 Likes

Create a mesh in python script
(Andras Lasso) #2

To get a surface mesh from images, you need to segment them. Segment Editor module in Slicer has many tools for this. See tutorials here.

STL file already contains XYZ coordinates. If you need coordinates in a different file format then you can load the STL, get point positions as a numpy array, and write to file using a short Python script.

0 Likes