# Axial rotation for segmentation

**URL:** <https://discourse.slicer.org/t/axial-rotation-for-segmentation/37517>\
**Category:** Support\
**Created:** [July 23, 2024, 12:24pm UTC](https://discourse.slicer.org/t/axial-rotation-for-segmentation/37517 "2024-07-23T12:24:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noa](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@Noa](https://discourse.slicer.org/u/Noa)\
**Post date:** [July 23, 2024, 12:24pm UTC](https://discourse.slicer.org/t/axial-rotation-for-segmentation/37517/1 "2024-07-23T12:24:24Z")

</div>

Hello,  
I’m trying to flip a 180° segmentation around its Y axis. However, the transform module doesn’t seem to allow me to do this. Does anyone know what command I can use to flip my segment?  
Thank you in advance.

---

<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:** [July 23, 2024, 5:59pm UTC](https://discourse.slicer.org/t/axial-rotation-for-segmentation/37517/2 "2024-07-23T17:59:06Z")

</div>

Would you like to actually change the physical location of the segmentation (for example, to spatially align with another image or segmentation)? You can then apply a transform. Note that applying a simple transform for rotating a segmentation will not change the voxel data, just update the orientation in the image header.

If you just want to modify how the image appears in a slice view (flip/rotate) then you can use flip and rotate buttons in the [Reformat module](https://slicer.readthedocs.io/en/latest/user_guide/modules/reformat.html#panels-and-their-use).

---

<div class="post-metadata">

**Author:** ![Noa](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@Noa](https://discourse.slicer.org/u/Noa)\
**Post date:** [July 24, 2024, 7:00am UTC](https://discourse.slicer.org/t/axial-rotation-for-segmentation/37517/3 "2024-07-24T07:00:46Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/9/69c0391338a91fd0c1c0636633fd559cb7834314.png)  
Well I try to flip arround the yellow segmentation so it aligns with the blue one.  
Thank you for your quick answer!

---

<div class="post-metadata">

**Author:** ![Noa](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@Noa](https://discourse.slicer.org/u/Noa)\
**Post date:** [July 24, 2024, 9:23am UTC](https://discourse.slicer.org/t/axial-rotation-for-segmentation/37517/4 "2024-07-24T09:23:21Z")

</div>

by the way I try to do this with Python 🙂
