# Trying to understand the different coordinate systems

**URL:** <https://discourse.slicer.org/t/trying-to-understand-the-different-coordinate-systems/27332>\
**Category:** Support\
**Tags:** python, coordinates, sitk\
**Created:** [January 18, 2023, 7:04pm UTC](https://discourse.slicer.org/t/trying-to-understand-the-different-coordinate-systems/27332 "2023-01-18T19:04:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spodamon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/spodamon/32/18043_2.png) [@spodamon](https://discourse.slicer.org/u/spodamon)\
**Post date:** [January 18, 2023, 7:04pm UTC](https://discourse.slicer.org/t/trying-to-understand-the-different-coordinate-systems/27332/1 "2023-01-18T19:04:41Z")

</div>

I am trying to make a bounding box based on a segmentation. I initially tried using SimpleITK and their LabelShapeStatisticsImageFilter class and their GetBoundingBox method to get some coordinates. When I tried doing the same thing in Slicer, the coordinates of the bounding box appears to be different. I understand their might be a difference in the coordinate system but I’m not fully understanding it even after reading the documentation. I just want to confirm that both outputs are essentially the same. Is there are a formula I should use to convert the outputs from the SimpleITK method to match the outputs of the Slicer method? Thank you again .
