lassoan / SlicerTotalSegmentator

Fully automatic total body segmentation in 3D Slicer using "TotalSegmentator" AI model
Apache License 2.0
176 stars 25 forks source link

How can I convert stl to nii, and has the same shape with original image? #62

Closed fengyasi closed 3 months ago

fengyasi commented 3 months ago

Dear Lassoan: I want to do the medical image segmentation, and I need to transfer .stl to .nii. I refer to the link (https://discourse.slicer.org/t/converting-stl-files-to-binary-label-maps-in-nii-format-using-python/13038), but still, the .nii file was generated but no label in it, it only has the background, may I get your help? Best regards Chen Peng

lassoan commented 3 months ago

This is the issue tracker of 3D Slicer's TotalSegmentator extension. The question of converting STL files to binary labelmaps is not related to this extension. Please read the relevant section in 3D Slicer documentation and if you still have questions then post on the Slicer Forum.