# Convert DICOM-RTSTRUCT format to Nifti format

**URL:** <https://discourse.slicer.org/t/convert-dicom-rtstruct-format-to-nifti-format/1580>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [December 3, 2017, 5:17am UTC](https://discourse.slicer.org/t/convert-dicom-rtstruct-format-to-nifti-format/1580 "2017-12-03T05:17:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [December 3, 2017, 6:13am UTC](https://discourse.slicer.org/t/convert-dicom-rtstruct-format-to-nifti-format/1580/2 "2017-12-03T06:13:00Z")

</div>

> [@How to show DICOM and the corresponding RT STRUCTURE?](https://discourse.slicer.org/t/how-to-show-dicom-and-the-corresponding-rt-structure/1562/3):
>
> Could you please suggest some software to convert DICOM-RTSTRUCT file to Nifti format? It seems the 3D Slicer doesn’t have this functionality.

Slicer can certainly read DICOM RTSTRUCT and save it as a labelmap in Nifti format.

> [@How to show DICOM and the corresponding RT STRUCTURE?](https://discourse.slicer.org/t/how-to-show-dicom-and-the-corresponding-rt-structure/1562/3):
>
> for other cases, the generated Nifti file of DICOM-RTSTRUCT has inconsistency image origin information as that of the corresponding DICOM files

By default, when you export a segmentation to a labelmap volume, Slicer uses the smallest necessary image extent, so the input grayscale volume’s geometry will not be the same as labelmap volume’s. If your software requires the grayscale and labelmap volumes to have the exact same geometry then you just need to specify the grayscale volume as reference volume for labelmap export (see Segmentations module Export/import… / Advanced section).

---

_[View the full topic](https://discourse.slicer.org/t/convert-dicom-rtstruct-format-to-nifti-format/1580)._
