HI
I have stl file and CT file (on which the segmentation was perform)
How can I convert and save my stl file into dicom / nifti or other image format at the same dimension as the orig CT image?
Thanks a lot
Moran
HI
I have stl file and CT file (on which the segmentation was perform)
How can I convert and save my stl file into dicom / nifti or other image format at the same dimension as the orig CT image?
Thanks a lot
Moran
Yes, you can do all this conversions in Slicer:
Thanks for your reply
Trying to do so
I got dicom files with different dimensions
768X120X216 for the CT image file (449 dicom images) - correct dimensions
288X120X449 for the segmentation file (449 dicom images)
What did I do wrong?
Did you export RT structure set or DICOM segmentation object?
What format you would like to save the segmentation to (fake CT, segmentation object, RT structure set)? If you are not sure, can you tell a bit more about your complete workflow, about what is your overall goal?
Yes SlicerRT is (now) installed but does not seems to add saving options
From Data modul > NewStudy hierarchy i selected Export to Dicom
This open the following GUI and enable me to save (sepeatly) my CT and my segmentation file (z4338682_Trachea_w[1]_s[0.6]_V1) into 2 dicom series however with different dimensions:
768X120X216 for the CT image file (449 dicom images) - correct dimensions
288X120X449 for the segmentation file (449 dicom images)
Can You please assist me with this issue?
If you agree I can send you both files
Thanks a lot
Moran
I think you should try to export the segmentation not the labelmap. It’s the object with the same name above the labelmap you have selected.
Thanks for your reply I tried to export the segmentation
[the labelmap does not have dicom identification]
still - i get dicom files of the segmentation but with Coordinates that do not match the CT image
@Moran_Artzi There are many ways of representing segmentations in DICOM. Slicer supports 3 of them. To avoid unnecessary work for you and us, we first need to understand what you would like to achieve.
What format you would like to save the segmentation to (fake CT, segmentation object, RT structure set)? If you are not sure, can you tell a bit more about your complete workflow, about what is your overall goal?
Thanks for your reply
my main goal is to save the segmentation file in image format (as dicom / nifti / analyze) with the same dimension as the orig CT image in order to utilize this data as training data for deep learning segmentation model
DICOM excels as an archival and data exchange format and very bad for storing working copies of image volume, as it is just way too inefficient and complicated for that purpose. Nifti is a neuroimaging file format. If you work with brain images then you can use that. In all other cases, I would recommend the simple and general-purpose nrrd file format.
Latest Slicer Stable Release will create the segmentation by default with the same geometry as the first selected master volume, but if that is not what you need then you need to select a reference volume when you export to labelmap volume.
In Latest Slicer Preview Release it is even simpler: you can set reference volume and all other options in Export to files.
Thanks a lot
it worked !