# Converting DICOM to NRRD on Docker via a Python script

**URL:** <https://discourse.slicer.org/t/converting-dicom-to-nrrd-on-docker-via-a-python-script/21096>\
**Category:** Support\
**Tags:** dicom, python, nrrd, docker, python-cli\
**Created:** [December 16, 2021, 3:37pm UTC](https://discourse.slicer.org/t/converting-dicom-to-nrrd-on-docker-via-a-python-script/21096 "2021-12-16T15:37:36Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [December 17, 2021, 1:31pm UTC](https://discourse.slicer.org/t/converting-dicom-to-nrrd-on-docker-via-a-python-script/21096/5 "2021-12-17T13:31:53Z")

</div>

There’s a batch struct conversion script in SlicerRT that could be run in docker using a similar formula. Be aware that RTStruct can be a tricky format due to variable vendor compliance issues, but SlicerRT is generally good at handling most cases.

---

_[View the full topic](https://discourse.slicer.org/t/converting-dicom-to-nrrd-on-docker-via-a-python-script/21096)._
