# Apply transformation

**URL:** <https://discourse.slicer.org/t/apply-transformation/10278>\
**Category:** Support\
**Created:** [February 15, 2020, 4:10pm UTC](https://discourse.slicer.org/t/apply-transformation/10278 "2020-02-15T16:10:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [February 16, 2020, 4:19am UTC](https://discourse.slicer.org/t/apply-transformation/10278/2 "2020-02-16T04:19:18Z")

</div>

yes, see an example

> [@Can I read and modify a transform matrix with python](https://discourse.slicer.org/t/can-i-read-and-modify-a-transform-matrix-with-python/6964):
>
> can I read and modify a transform matrix with python directly(not the GUI of transform) in slicer. for example: Read display (transformMatrix) I will get a 4\*4matrix: [[1 0 0 52.64097] [0 1 0 -46.12696] [0 0 1 -0.48185] [0. 0. 0. 1.]] Modify transformMatrix=np.array[[0.92979 -0.26946 -0.25075 52.64097] [0.03835 0.74845 -0.66209 -46.12696] [0.36608 0.60599 0.70623 -0.48185] [0. 0. 0. 1.]]

---

_[View the full topic](https://discourse.slicer.org/t/apply-transformation/10278)._
