I have two similar images: [A] and [B] (please see images). They are offset in X and Y. How to align A over B, using an pixel from A as reference? In other words, locating the indicated pixel from A on B, and make A and B centralized in this pixel.
Thank you.

![Image A](https://i.stack.imgur.com/97MKz.jpg)
![Image B](https://i.stack.imgur.com/jj9Ok.jpg)

Final result make manually

![enter image description here](https://i.stack.imgur.com/gOopz.jpg)