# OsiriX ROI SR and SC to RTSTRUCT?

**URL:** https://discourse.slicer.org/t/osirix-roi-sr-and-sc-to-rtstruct/28476
**Category:** Support
**Tags:** segmentation, dicom
**Created:** [March 20, 2023, 1:49pm UTC](https://discourse.slicer.org/t/osirix-roi-sr-and-sc-to-rtstruct/28476 "2023-03-20T13:49:53Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![NajaJean](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/najajean/32/18837_2.png) [@NajaJean](https://discourse.slicer.org/u/NajaJean)
#### Post date: [March 20, 2023, 1:49pm UTC](https://discourse.slicer.org/t/osirix-roi-sr-and-sc-to-rtstruct/28476/1 "2023-03-20T13:49:53Z")

</div>

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

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [March 21, 2023, 3:41am UTC](https://discourse.slicer.org/t/osirix-roi-sr-and-sc-to-rtstruct/28476/2 "2023-03-21T03:41:43Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![NajaJean](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/najajean/32/18837_2.png) [@NajaJean](https://discourse.slicer.org/u/NajaJean)
#### Post date: [March 27, 2023, 8:29am UTC](https://discourse.slicer.org/t/osirix-roi-sr-and-sc-to-rtstruct/28476/3 "2023-03-27T08:29:54Z")

</div>

Thanks for the quick answer! I do not have access to OsiriX, so I’m not able to save the segmentations differently

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [March 27, 2023, 3:40pm UTC](https://discourse.slicer.org/t/osirix-roi-sr-and-sc-to-rtstruct/28476/4 "2023-03-27T15:40:50Z")

</div>

You can use the free OsiriX Lite for this conversion then you won’t have to use OsiriX ever again.

---

<div class="post-metadata">

### Author: ![kaizhao](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kaizhao/32/15623_2.png) [@kaizhao](https://discourse.slicer.org/u/kaizhao)
#### Post date: [April 5, 2025, 6:16am UTC](https://discourse.slicer.org/t/osirix-roi-sr-and-sc-to-rtstruct/28476/5 "2025-04-05T06:16:26Z")

</div>

I created a python utility to convert OsiriX SR files into standard formats including DICOM RT struct and NifTi.

Checkout the [source code](https://github.com/intcomp/OsiriXConvert) and a blog article  
[How to Convert OsiriX ROI to Standard Formats - Kai Zhao](https://kaizhao.net/blog/osirix-convert) .

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [April 7, 2025, 4:53am UTC](https://discourse.slicer.org/t/osirix-roi-sr-and-sc-to-rtstruct/28476/6 "2025-04-07T04:53:01Z")

</div>

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](https://scholar.google.com/scholar?q=%22Pixmeo%22+OR+%28%22OsiriX%22+AND+%28%22medical%22+OR+%22radiology%22+OR+%22imaging%22%29%29&hl=en&as_sdt=0%2C5&as_ylo=2024&as_yhi=2024) 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.
