# Transform module rotation issue

**URL:** <https://discourse.slicer.org/t/transform-module-rotation-issue/27996>\
**Category:** Support\
**Tags:** registration, transforms\
**Created:** [February 22, 2023, 11:29pm UTC](https://discourse.slicer.org/t/transform-module-rotation-issue/27996 "2023-02-22T23:29:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Young\_Wang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/young_wang/32/13926_2.png) [@Young\_Wang](https://discourse.slicer.org/u/Young_Wang)\
**Post date:** [February 22, 2023, 11:29pm UTC](https://discourse.slicer.org/t/transform-module-rotation-issue/27996/1 "2023-02-22T23:29:44Z")

</div>

Hi everyone,

I’m working on aligning two volumes using the transform module, and I noticed something funky. I wonder if anyone else has encountered the same issue before. I got a rough alignment done with simple translation but I noticed when I try to use rotation to touch up. The volume doesn’t align with where I hope it should be. I’m curious to know what’s the rotation origin of the rotation and if is there a way to change it.  
Thank you for your help in advance.

---

<div class="post-metadata">

**Author:** ![ebrahim](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ebrahim/32/13403_2.png) [@ebrahim](https://discourse.slicer.org/u/ebrahim)\
**Post date:** [February 23, 2023, 5:48am UTC](https://discourse.slicer.org/t/transform-module-rotation-issue/27996/2 "2023-02-23T05:48:53Z")

</div>

You can look at _Volume Information_ in the _Volumes_ module to see and edit the image origin.

One possible source of added confusion: Note that translation and rotation do not commute. The effect of doing them in one order or the other is effectively to change the center of rotation.

---

<div class="post-metadata">

**Author:** ![Young\_Wang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/young_wang/32/13926_2.png) [@Young\_Wang](https://discourse.slicer.org/u/Young_Wang)\
**Post date:** [February 23, 2023, 1:32pm UTC](https://discourse.slicer.org/t/transform-module-rotation-issue/27996/3 "2023-02-23T13:32:13Z")

</div>

@ebrahim thank you for the reply. Is it safe to assume that the rotation center is the volume center? I also notice there is a local and global frame toggle in the transform module but I don’t think it promotes you which one is being used.

---

<div class="post-metadata">

**Author:** ![ebrahim](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ebrahim/32/13403_2.png) [@ebrahim](https://discourse.slicer.org/u/ebrahim)\
**Post date:** [February 23, 2023, 2:47pm UTC](https://discourse.slicer.org/t/transform-module-rotation-issue/27996/4 "2023-02-23T14:47:00Z")

</div>

> Is it safe to assume that the rotation center is the volume center?

I believe the rotation center is the image origin, which could be anywhere
