Hi, thanks for your time!
I have a huge, messy folder containing DICOM images with various modalities, primarily MR. Some of them have been segmented using Osirix and are stored as SC or SR modalities. Although I can view the SC modality images as non-interactive volumes, I am unable to transform them into segmentations. Is it possible to convert these SC/SR format images into a different format such as RTStruct?
I noticed that the sandbox extension has an ‘Import OsiriX ROI’ feature, but as it only accepts .json or .xml formats. As I am new to these formats, please excuse me if my question appears trivial.
Best Regards, Naja
The OsiriX ROI importer module can load the proprietary files that you can save from OsiriX.
Once you imported these files into Slicer as segmentations, you can export them as DICOM RT Structure Set (not recommend) or as DICOM Segmentation Object.
Thanks for the quick answer! I do not have access to OsiriX, so I’m not able to save the segmentations differently
You can use the free OsiriX Lite for this conversion then you won’t have to use OsiriX ever again.
I created a python utility to convert OsiriX SR files into standard formats including DICOM RT struct and NifTi.
Checkout the source code and a blog article
How to Convert OsiriX ROI to Standard Formats - Kai Zhao .
Thanks for sharing. Is there a reason why you created the utility when the converter in Slicer has been available already? Have you found any issues or limitations?
You used rt-utils, which has many limitations, including working only with binary masks, while SlicerRT works with polygons (and can create smooth, end-capped, keyhole-aware 3D meshes). It also seems that you need to export the data from OsiriX in a very particular way. Anyway, if you think that your utility is better than what Slicer’s OsiriX importer can do then you may consider submitting it to an extension (e.g., you can submit a pull request to the Sandbox extension) so that users can install it by a few clicks.
I would note here that references to OsiriX in publications has been on a steep decline since 2017, which indicates that users are abandoning it. OsiriX had 2460 citations then and 1440 now; while Slicer had 1380 citations then and 5560 now. Therefore, probably it may not worth investing a whole lot of effort into interfacing with OsiriX.