# How can I register/align shifted image stacks?

**URL:** <https://discourse.julialang.org/t/how-can-i-register-align-shifted-image-stacks/29244>\
**Category:** General Usage\
**Tags:** images\
**Created:** [September 27, 2019, 8:05pm UTC](https://discourse.julialang.org/t/how-can-i-register-align-shifted-image-stacks/29244 "2019-09-27T20:05:22Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Moses](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@Moses](https://discourse.julialang.org/u/Moses)\
**Post date:** [October 8, 2019, 8:10am UTC](https://discourse.julialang.org/t/how-can-i-register-align-shifted-image-stacks/29244/14 "2019-10-08T08:10:13Z")

</div>

I currently have Julia running in a VM. That’s probably the main reason for the slow performance. I will check the issues you pointed out. However, I don’t mind if the script needs more time, as long as the result is fine.

Two more questions:

1. Using `qd_rigid` I get a result that look like this:  
`tfm = AffineMap([1.0 -6.76146e-5; 6.76146e-5 1.0], [0.441512, -0.42513])`  
Am I right to assume that the first 4 values define the rotation, while the second set of two values defines the translation? According to the help, the center coordinate would usually be 0,0
2. Would `CoordinateTransformations.jl` be the correct choice for your suggested conversion? (Sorry, I/we have never done something like this before.)

---

_[View the full topic](https://discourse.julialang.org/t/how-can-i-register-align-shifted-image-stacks/29244)._
