# Save & change the orientation matrix of a slice

**URL:** <https://discourse.slicer.org/t/save-change-the-orientation-matrix-of-a-slice/20862>\
**Category:** Development\
**Tags:** python\
**Created:** [December 1, 2021, 10:33am UTC](https://discourse.slicer.org/t/save-change-the-orientation-matrix-of-a-slice/20862 "2021-12-01T10:33:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bence\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bence_horvath/32/4029_2.png) [@Bence\_Horvath](https://discourse.slicer.org/u/Bence_Horvath)\
**Post date:** [December 1, 2021, 10:33am UTC](https://discourse.slicer.org/t/save-change-the-orientation-matrix-of-a-slice/20862/1 "2021-12-01T10:33:41Z")

</div>

Hi,

I would like to develop a modul, that transform the green slice view into the cochlear view.  
For this I have to make an training database, thus I want to save the orientation matrix of the green slice after I transform it into the cochlear view manually. How can I save this matrix, for example to excel, or notebook?

Thanks for helping!  
Best Regards!  
Bence

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [December 1, 2021, 11:00am UTC](https://discourse.slicer.org/t/save-change-the-orientation-matrix-of-a-slice/20862/2 "2021-12-01T11:00:13Z")

</div>

Have you looked at the Volume Reslice Driver module in the SlicerIGT extension?

---

<div class="post-metadata">

**Author:** ![Bence\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bence_horvath/32/4029_2.png) [@Bence\_Horvath](https://discourse.slicer.org/u/Bence_Horvath)\
**Post date:** [December 1, 2021, 11:59am UTC](https://discourse.slicer.org/t/save-change-the-orientation-matrix-of-a-slice/20862/3 "2021-12-01T11:59:05Z")

</div>

No, I never heard about it!  
I will check it!  
Thanks!
