# What are the necessary DICOM header fields for import into 3D Slicer?

**URL:** <https://discourse.slicer.org/t/what-are-the-necessary-dicom-header-fields-for-import-into-3d-slicer/8637>\
**Category:** Support\
**Tags:** dicom\
**Created:** [October 1, 2019, 4:22pm UTC](https://discourse.slicer.org/t/what-are-the-necessary-dicom-header-fields-for-import-into-3d-slicer/8637 "2019-10-01T16:22:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevenagl12](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/stevenagl12/32/3391_2.png) [@stevenagl12](https://discourse.slicer.org/u/stevenagl12)\
**Post date:** [October 1, 2019, 4:22pm UTC](https://discourse.slicer.org/t/what-are-the-necessary-dicom-header-fields-for-import-into-3d-slicer/8637/1 "2019-10-01T16:22:33Z")

</div>

I have output images that are numpy arrays. I am trying to convert them directly into DICOM images through the use of SimpleITK but I need to know what header fields are necessary to allow for them to be imported into Slicer for viewing. Also, is there a method to create SimpleITK images from numpy arrays and then write them to dicom through slicer itself?

---

<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 1, 2019, 4:38pm UTC](https://discourse.slicer.org/t/what-are-the-necessary-dicom-header-fields-for-import-into-3d-slicer/8637/2 "2019-10-01T16:38:37Z")

</div>

Slicer should be pretty tolerant of missing dicom ags, but as a baseline you could consider the ones listed here:

[https://www.slicer.org/wiki/Documentation/4.10/Modules/CreateDICOMSeries](https://www.slicer.org/wiki/Documentation/4.10/Modules/CreateDICOMSeries)

Or, if you [load the numpy data](https://discourse.slicer.org/t/creating-volume-from-numpy/658/2) you can create a volume node and then export it as DICOM via the Data module.
