# Get Patient Orientation and convert to OpenGL Coordinates

**URL:** https://discourse.itk.org/t/get-patient-orientation-and-convert-to-opengl-coordinates/4219
**Category:** Beginner Questions
**Created:** [June 18, 2021, 6:02am UTC](https://discourse.itk.org/t/get-patient-orientation-and-convert-to-opengl-coordinates/4219 "2021-06-18T06:02:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![saravanan](https://discourse.itk.org/letter_avatar_proxy/v4/letter/s/eb8c5e/32.png) [@saravanan](https://discourse.itk.org/u/saravanan)
#### Post date: [June 18, 2021, 6:02am UTC](https://discourse.itk.org/t/get-patient-orientation-and-convert-to-opengl-coordinates/4219/1 "2021-06-18T06:02:51Z")

</div>

I am using itk::ImageSeriesReader to read the DICOM image set.  
I need the patient orientation information / matrix for use in my OpenGL program.

Thanks

---

<div class="post-metadata">

### Author: ![zivy](https://discourse.itk.org/user_avatar/discourse.itk.org/zivy/32/1726_2.png) [@zivy](https://discourse.itk.org/u/zivy)
#### Post date: [June 18, 2021, 12:34pm UTC](https://discourse.itk.org/t/get-patient-orientation-and-convert-to-opengl-coordinates/4219/2 "2021-06-18T12:34:59Z")

</div>

Hello @saravanan,

Probably [GetDirection](https://itk.org/Doxygen/html/classitk_1_1ImageBase.html#a9f894d5d0a47559007501281baaab3d0).
