# Siemens PET/CT files

**URL:** <https://discourse.slicer.org/t/siemens-pet-ct-files/2049>\
**Category:** Support\
**Created:** [February 7, 2018, 8:36pm UTC](https://discourse.slicer.org/t/siemens-pet-ct-files/2049 "2018-02-07T20:36:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hamburgerfinger](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@Hamburgerfinger](https://discourse.slicer.org/u/Hamburgerfinger)\
**Post date:** [February 7, 2018, 8:36pm UTC](https://discourse.slicer.org/t/siemens-pet-ct-files/2049/1 "2018-02-07T20:36:06Z")

</div>

Can Slicer directly load Siemens PET/CT images? (.img and .hdr files) I can get them into Slicer by exporting them from Siemens’ software in dicom format, but it would be much more convenient to import them into Slicer directly.

Thanks!!

---

<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:** [February 7, 2018, 10:31pm UTC](https://discourse.slicer.org/t/siemens-pet-ct-files/2049/2 "2018-02-07T22:31:33Z")

</div>

Have you tried loading the .hdr file into Slicer?

Is the .hdr file a text file? Can you copy its contents here? (make sure to remove any patient information, if any)

---

<div class="post-metadata">

**Author:** ![Hamburgerfinger](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@Hamburgerfinger](https://discourse.slicer.org/u/Hamburgerfinger)\
**Post date:** [February 11, 2018, 9:53pm UTC](https://discourse.slicer.org/t/siemens-pet-ct-files/2049/3 "2018-02-11T21:53:46Z")

</div>

I’ve tried loading in the .hdr to no avail. The .hdr file is a text file; I’ve pasted an example header below. Thanks!

---

<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:** [February 11, 2018, 10:51pm UTC](https://discourse.slicer.org/t/siemens-pet-ct-files/2049/4 "2018-02-11T22:51:57Z")

</div>

I don’t see the header here. If it is too long for copying here as a message then you can upload it to somewhere (Dropbox, OneDrive, etc.) and post the link here.

---

<div class="post-metadata">

**Author:** ![Hamburgerfinger](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@Hamburgerfinger](https://discourse.slicer.org/u/Hamburgerfinger)\
**Post date:** [February 12, 2018, 7:28pm UTC](https://discourse.slicer.org/t/siemens-pet-ct-files/2049/5 "2018-02-12T19:28:51Z")

</div>

The link is below, and contains the header and image:

> **[PET Image](https://www.dropbox.com/sh/qiv9kx5tmuqzj8n/AAC4XtV0-c1UtDPq-a7L-s_ua?dl=0)**
>
> Shared with Dropbox

Thanks!!

---

<div class="post-metadata">

**Author:** ![Sammy](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sammy/32/3632_2.png) [@Sammy](https://discourse.slicer.org/u/Sammy)\
**Post date:** [February 19, 2020, 9:38pm UTC](https://discourse.slicer.org/t/siemens-pet-ct-files/2049/6 "2020-02-19T21:38:52Z")

</div>

Was there any conclusion to whether Siemens hdr and img files can be added directly?

---

<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:** [February 20, 2020, 4:29am UTC](https://discourse.slicer.org/t/siemens-pet-ct-files/2049/7 "2020-02-20T04:29:05Z")

</div>

Since the header file contains pixel type, dimensions, and spacing, you can load the image file using RawImageGuess extension. If you need to load a lot of these then you can create a simple text converter script, which loads fields from the .hdr file and saves them as a .nhdr file
