# 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:** 7

<div class="post-metadata">

**Author:** ![tim.holy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tim.holy/32/52_2.png) [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Post date:** [September 30, 2019, 10:14am UTC](https://discourse.julialang.org/t/how-can-i-register-align-shifted-image-stacks/29244/7 "2019-09-30T10:14:51Z")

</div>

The following worked for me from a “clean” Julia environment:

```julia
pkg> up # this is necessary if you haven't cloned the General registry yet
pkg> registry add https://github.com/HolyLab/HolyLabRegistry.git
pkg> add RegisterQD

```

If all you ever need to do is translation, then I imagine SubpixelRegistration should be fine. RegisterQD does translation, but its novelty (if you can call it that) is pretty reliable global rigid (rotation + translation) registration, and somewhat reliable affine registration.

---

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