# Getting volume coordinates from RAS coords

**URL:** <https://discourse.slicer.org/t/getting-volume-coordinates-from-ras-coords/13517>\
**Category:** Support\
**Created:** [September 17, 2020, 7:31am UTC](https://discourse.slicer.org/t/getting-volume-coordinates-from-ras-coords/13517 "2020-09-17T07:31:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chintha\_Siva\_Prasad](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chintha_siva_prasad/32/7766_2.png) [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Post date:** [September 17, 2020, 7:31am UTC](https://discourse.slicer.org/t/getting-volume-coordinates-from-ras-coords/13517/1 "2020-09-17T07:31:15Z")

</div>

How can I get x,y,z coordinates as per the raw slice data from RAS coordinates?

We are choosing a point in the interactor screen and would like to know its position according to x,y,z points of raw slice data.

---

<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:** [September 17, 2020, 11:46am UTC](https://discourse.slicer.org/t/getting-volume-coordinates-from-ras-coords/13517/2 "2020-09-17T11:46:47Z")

</div>

You can get volume IJK coordinates from RAS coordinates as shown in this example:

> **[Documentation/Nightly/ScriptRepository - Slicer Wiki](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Get_volume_voxel_coordinates_from_markup_fiducial_RAS_coordinates)**
