If you are looking for a relatively simple method, you may use the phase correlation method. That method gives fairly good results for global motion estimation. See https://en.wikipedia.org/wiki/Phase_correlation or a video processing book such as Video Processing and Communications by Y.Wang et al.
If you are looking for a more accurate and robust method, see, for example, the IEEE TIP paper "Efficient, robust, and fast global motion estimation for video coding".