# Cannot load dicom file segmentation

**URL:** <https://discourse.slicer.org/t/cannot-load-dicom-file-segmentation/32210>\
**Category:** Support\
**Tags:** segmentation, dicom\
**Created:** [October 13, 2023, 1:51pm UTC](https://discourse.slicer.org/t/cannot-load-dicom-file-segmentation/32210 "2023-10-13T13:51:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![helene\_c](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/helene_c/32/67854_2.png) [@helene\_c](https://discourse.slicer.org/u/helene_c)\
**Post date:** [October 13, 2023, 1:51pm UTC](https://discourse.slicer.org/t/cannot-load-dicom-file-segmentation/32210/1 "2023-10-13T13:51:29Z")

</div>

Hello,

I am trying to open Dicom images that I directly downloaded from the image viewer of the hospital. The software is called Sectra. The images should contain a segmentation made with Sectra.  
When I am loading the images with Slicer (or any other Dicom viewer I could find), the images are correctly opened, but not the segmentation.

 ![Screenshot from 2023-10-13 09-58-42](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/5/05c616e9d4deb9ace92f4dc69b9dc9dac9c591c4.png)  
It looks like this is empty. However, if I load the Dicom file back in Sectra, the segmentation is correctly shown.  
I suspect it is a weird Dicom file from Sectra, not meant to be opened with anything else.  
On top of that, my image file contains 40 slices, and the segmentation only 15, which corresponds to the number of slices the segmentation is present.  
I also cannot open it with pydicom.

Have a nice day!

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [October 13, 2023, 1:55pm UTC](https://discourse.slicer.org/t/cannot-load-dicom-file-segmentation/32210/2 "2023-10-13T13:55:01Z")

</div>

Yes, that’s probably some proprietary format wrapped in dicom just so it can be stored in the pacs. With some examples and some effort someone might be able to reverse engineer it.

---

<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:** [October 13, 2023, 2:25pm UTC](https://discourse.slicer.org/t/cannot-load-dicom-file-segmentation/32210/3 "2023-10-13T14:25:21Z")

</div>

DICOM standard compliant software can use “SEG” or “RTSTRUCT” modality for storing a segmentation. Probably Sectra decided to store segmentation in private fields of a “PR” (presentation state) object because:

1. It was simpler for them to store the data in their own internal format instead of spending time with understanding and implementing DICOM compliant saving.
2. Vendor lock-in. If you switch to a different software vendor then you may lose access to these segmentations that only Sectra software can interpret. This is very good for the software vendor.

Since it is so favorable for vendors to use private DICOM fields, it is the responsibility of users to speak up and ask vendors to use standard DICOM information objects instead. If the vendor does not listen then users should switch to a different vendor (it is better for everyone if they listen).

---

<div class="post-metadata">

**Author:** ![helene\_c](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/helene_c/32/67854_2.png) [@helene\_c](https://discourse.slicer.org/u/helene_c)\
**Post date:** [October 13, 2023, 2:35pm UTC](https://discourse.slicer.org/t/cannot-load-dicom-file-segmentation/32210/4 "2023-10-13T14:35:39Z")

</div>

So I should directly address Sectra?

Thanks for your time!

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [October 13, 2023, 2:45pm UTC](https://discourse.slicer.org/t/cannot-load-dicom-file-segmentation/32210/5 "2023-10-13T14:45:03Z")

</div>

> [@helene\_c](#):
>
> So I should directly address Sectra?

Yes, ask them to provide you with data in standard DICOM.

---

<div class="post-metadata">

**Author:** ![helene\_c](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/helene_c/32/67854_2.png) [@helene\_c](https://discourse.slicer.org/u/helene_c)\
**Post date:** [October 20, 2023, 12:27pm UTC](https://discourse.slicer.org/t/cannot-load-dicom-file-segmentation/32210/6 "2023-10-20T12:27:44Z")

</div>

Hello,

In case someone ever has similar issues, Sectra gave me more details about those segmentations:

- It is not meant to be a real segmentation, that is why it is not saved as segmentation and thus, they cannot be loaded outside sectra
- There is a possibility to create segmentation as volume, that can be saved as meshes with an obj format
