# Dicom import RTSTRUCT that were exported from slicer

**URL:** https://discourse.slicer.org/t/dicom-import-rtstruct-that-were-exported-from-slicer/36986
**Category:** Support
**Tags:** radiotherapy, file-import
**Created:** [June 24, 2024, 6:00pm UTC](https://discourse.slicer.org/t/dicom-import-rtstruct-that-were-exported-from-slicer/36986 "2024-06-24T18:00:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![gleesoi](https://avatars.discourse-cdn.com/v4/letter/g/7ba0ec/32.png) [@gleesoi](https://discourse.slicer.org/u/gleesoi)
#### Post date: [June 24, 2024, 6:00pm UTC](https://discourse.slicer.org/t/dicom-import-rtstruct-that-were-exported-from-slicer/36986/1 "2024-06-24T18:00:52Z")

</div>

Hi, new to slicer and working on a dicom workflow. I notice that importing my dicom ct and segments look fine in dicom apart from a body rind and couch roi.

I then export the ct and contours in dicom to file.

I then load them and many contours look different/wrong and cut in all views. When i try to edit the contours or change 2d visibility to binary label, the computer seems to struggle and freeze… help please thanks!

if its just a visual thing thats fine but if someone needs to edit etc it freezes/crashes which seems bad. might be similar to topic [Loading DICOM CT+RT Structure is incomplete - Support - 3D Slicer Community](https://discourse.slicer.org/t/loading-dicom-ct-rt-structure-is-incomplete/21696) but is there anything else i am missing? thanks  
 ![imported original ct rois](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/e/6ee2dcc075ccdf11df74f304df7d06a425c5c675.png)  
 ![re imported ct rois exported from slicer](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/2/a22383b38b3aa32ae4161016961a2cf9814e91f6.png)

---

<div class="post-metadata">

### Author: ![gleesoi](https://avatars.discourse-cdn.com/v4/letter/g/7ba0ec/32.png) [@gleesoi](https://discourse.slicer.org/u/gleesoi)
#### Post date: [June 24, 2024, 6:51pm UTC](https://discourse.slicer.org/t/dicom-import-rtstruct-that-were-exported-from-slicer/36986/2 "2024-06-24T18:51:12Z")

</div>

I now see I need to set binary label before Dicom export which looks better upon re import ! My follow up question is if anyone know how to set source (yellow star) to be binary label via script? I can see command for create but not set source? This would be useful to automate this step for me thanks

---

<div class="post-metadata">

### Author: ![gleesoi](https://avatars.discourse-cdn.com/v4/letter/g/7ba0ec/32.png) [@gleesoi](https://discourse.slicer.org/u/gleesoi)
#### Post date: [June 24, 2024, 8:15pm UTC](https://discourse.slicer.org/t/dicom-import-rtstruct-that-were-exported-from-slicer/36986/4 "2024-06-24T20:15:38Z")

</div>

segmentationNode.SetSourceRepresentationToBinaryLabelmap()
