# What units does the reformat module use?

**URL:** https://discourse.slicer.org/t/what-units-does-the-reformat-module-use/1268
**Category:** Support
**Created:** [October 23, 2017, 5:49pm UTC](https://discourse.slicer.org/t/what-units-does-the-reformat-module-use/1268 "2017-10-23T17:49:17Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Masteling](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/masteling/32/13587_2.png) [@Masteling](https://discourse.slicer.org/u/Masteling)
#### Post date: [October 23, 2017, 5:49pm UTC](https://discourse.slicer.org/t/what-units-does-the-reformat-module-use/1268/1 "2017-10-23T17:49:17Z")

</div>

Hi all,

Our goal is to rotate the coronal plane to a specific angle X in relation to the axial plane. We would like to use the Reformat Module.

Our question is: what are the units used in the Rotation Segment? If we want to rotate the coronal plane in 40º what should be put in the LR bar?

Thanks in advance,  
Mariana Masteling

![Slicer_reformat_units](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/e/be73a48ce83323f8f15eb62866eadeafbbe34e46.png)

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [October 23, 2017, 6:03pm UTC](https://discourse.slicer.org/t/what-units-does-the-reformat-module-use/1268/2 "2017-10-23T18:03:44Z")

</div>

Those entries are in degrees - typing in 40 appears to work for me. Does it not give what you expect?

---

<div class="post-metadata">

### Author: ![Masteling](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/masteling/32/13587_2.png) [@Masteling](https://discourse.slicer.org/u/Masteling)
#### Post date: [October 23, 2017, 8:11pm UTC](https://discourse.slicer.org/t/what-units-does-the-reformat-module-use/1268/3 "2017-10-23T20:11:27Z")

</div>

We thought it was in degrees too. But after rotating it to 57º, using AnglePlanes Plugin and rotating to the same angle using Reformat, the results aren’t similar.

**57º rotation using AnglePlanes Plugin**

 ![28_3d_57_angleplanes_2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/d/5d4eaf9c5d588c0eba51a748a5333b5c7fb91de4.png)

**57º rotation using reformat** (this angle is 32º not 57º)

 ![28_3d_57_reformat_2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/0/80d50be637d83a12eda22623eb671c6b6c0582f4.png)

The same DICOMs were used to create the previous plots, they are just not shown.

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [October 23, 2017, 8:41pm UTC](https://discourse.slicer.org/t/what-units-does-the-reformat-module-use/1268/4 "2017-10-23T20:41:10Z")

</div>

Did you try the negative rotation?

Here’s what I did that worked:

- download MRHead Sample Data
- use the Reformat module to rotate the Green plane by 40 degrees
- go to the Transforms module and create a Linear Transform applied to the MRHead
- set the rotation around LR to be -40

The resulting coronal view of the rotated data looks right.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/b/ab39a7b495b05f690051724396bcd53def9ad6f5.jpeg)

---

<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: [October 23, 2017, 9:24pm UTC](https://discourse.slicer.org/t/what-units-does-the-reformat-module-use/1268/5 "2017-10-23T21:24:24Z")

</div>

I confirm that it is rotation in degrees. Note that rotations are incremental: if you rotate around multiple axes, the previous rotation slider is always reset to 0.

> [@Masteling](#):
>
> 57º rotation using reformat (this angle is 32º not 57º)

These angles may refer to the same rotation - they are just different angles of the same triangle: 57deg = 90deg - 32deg (-1deg probably measurement error).

---

<div class="post-metadata">

### Author: ![Masteling](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/masteling/32/13587_2.png) [@Masteling](https://discourse.slicer.org/u/Masteling)
#### Post date: [October 27, 2017, 2:02pm UTC](https://discourse.slicer.org/t/what-units-does-the-reformat-module-use/1268/6 "2017-10-27T14:02:17Z")

</div>

Thank you all for your clarifications 🙂
