We have some related threads in the community that should get you going for nonlinear
and linear registration