Principles of spatial processing
You may get some benefit from the theory pages at the AIR website. AIR is a realignment / coregistration / normalization program written by Roger Woods of UCLA. His pages go into details of the implementation of spatial transforms, some of which are relevant to SPM.
Note that, one problem with movement correction is that the estimation of movement parameters can be biased by large activation: see http://www-sop.inria.fr/epidaure/Collaborations/IRMf/INRIAlign.html, and L. Freire and J.-F. Mangin. Motion correction algorithms may create spurious brain activations in the absence of subject motion. Neuroimage 14(3), p. 709-722, september 2001.
Registration in general
See also the other chapters on "Computational anatomy" in HBF2.