# Relationship between DICOM coordinate system and IEC 61217 coordinate system

**URL:** https://discourse.itk.org/t/relationship-between-dicom-coordinate-system-and-iec-61217-coordinate-system/3508
**Category:** Uncategorized
**Tags:** dicom
**Created:** [October 3, 2020, 1:52am UTC](https://discourse.itk.org/t/relationship-between-dicom-coordinate-system-and-iec-61217-coordinate-system/3508 "2020-10-03T01:52:12Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![zhuangming.shen](https://discourse.itk.org/letter_avatar_proxy/v4/letter/z/4af34b/32.png) [@zhuangming.shen](https://discourse.itk.org/u/zhuangming.shen)
#### Post date: [October 3, 2020, 1:52am UTC](https://discourse.itk.org/t/relationship-between-dicom-coordinate-system-and-iec-61217-coordinate-system/3508/1 "2020-10-03T01:52:12Z")

</div>

Do anyone know what’s the relationship between the DICOM coordinate system used by ITK and IEC 61217 coordinate system such as gantry coordinate system, beam limiting device coordinate system, etc? How can I transform between them using ITK? I’m confused about them for a long time. Any comments are welcomed.

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.itk.org/user_avatar/discourse.itk.org/lassoan/32/27_2.png) [@lassoan](https://discourse.itk.org/u/lassoan)
#### Post date: [October 3, 2020, 3:56pm UTC](https://discourse.itk.org/t/relationship-between-dicom-coordinate-system-and-iec-61217-coordinate-system/3508/2 "2020-10-03T15:56:29Z")

</div>

> [@zhuangming.shen](#):
>
> 61217

3D Slicer’s SlicerRT extension contains full IEC 61217 / DICOM mapping. The most relevant file for you is probably this one:

> <https://github.com/SlicerRt/SlicerRT/blob/master/Beams/Logic/vtkSlicerIECTransformLogic.h#L39-L92>

If you work with ITK and radiation therapy then you may SlicerRT useful, as it contains infrastructure for import/export/visualize/edit all RT data (structure sets, plans, images, beams, dose maps, dose volume histograms, transformations), evaluate/compare/create plans, apply transforms, accumulate dose, etc. All free, restriction-free, open-source, fully usable from Python or C++. See more information at [www.slicerrt.org](http://www.slicerrt.org).

---

<div class="post-metadata">

### Author: ![zhuangming.shen](https://discourse.itk.org/letter_avatar_proxy/v4/letter/z/4af34b/32.png) [@zhuangming.shen](https://discourse.itk.org/u/zhuangming.shen)
#### Post date: [October 4, 2020, 8:22am UTC](https://discourse.itk.org/t/relationship-between-dicom-coordinate-system-and-iec-61217-coordinate-system/3508/3 "2020-10-04T08:22:29Z")

</div>

@lassoan Thanks for your useful information.

---

<div class="post-metadata">

### Author: ![ma1282029525](https://discourse.itk.org/user_avatar/discourse.itk.org/ma1282029525/32/3084_2.png) [@ma1282029525](https://discourse.itk.org/u/ma1282029525)
#### Post date: [May 19, 2023, 2:59am UTC](https://discourse.itk.org/t/relationship-between-dicom-coordinate-system-and-iec-61217-coordinate-system/3508/4 "2023-05-19T02:59:05Z")

</div>

How to port slicerRT to programs outside of slicer

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.itk.org/user_avatar/discourse.itk.org/lassoan/32/27_2.png) [@lassoan](https://discourse.itk.org/u/lassoan)
#### Post date: [May 20, 2023, 4:42am UTC](https://discourse.itk.org/t/relationship-between-dicom-coordinate-system-and-iec-61217-coordinate-system/3508/5 "2023-05-20T04:42:39Z")

</div>

You can run Slicer from any other program. For example,you can simply pass a Python script that Slicer executes, or you can use Slicer as a web service via its [REST API](https://slicer.readthedocs.io/en/latest/user_guide/modules/webserver.html#slicer-rest-api).
