Changes to support 12 degrees of freedom image registration