Ordinary Differential Equation and Complex Matrix Exponential for Multi-resolution Image Registration