# how to determine the orientation of a two-dimensional Image?

**URL:** <https://discourse.itk.org/t/how-to-determine-the-orientation-of-a-two-dimensional-image/6329>\
**Category:** Beginner Questions\
**Created:** [December 1, 2023, 6:05pm UTC](https://discourse.itk.org/t/how-to-determine-the-orientation-of-a-two-dimensional-image/6329 "2023-12-01T18:05:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Salu\_Ramos](https://discourse.itk.org/user_avatar/discourse.itk.org/salu_ramos/32/3619_2.png) [@Salu\_Ramos](https://discourse.itk.org/u/Salu_Ramos)\
**Post date:** [December 1, 2023, 6:05pm UTC](https://discourse.itk.org/t/how-to-determine-the-orientation-of-a-two-dimensional-image/6329/1 "2023-12-01T18:05:05Z")

</div>

i’m using `SimpleITK.extract(image, size[], index[x])` to extract a cross section from a series.  
And I need to determine the orientation of this cross section with: posterior, anterior, right, left, inferior and superior.  
What is the best way to determine the axes of the 4 corners of the extracted image?
