Motion vectors observed between two consecutive images were measured through optical flow analysis, in which optical flow vectors were calculated by the Lucas-Kanade method* using a customized Python program.
*Lucas, B.D. & Kanade, T., An iterative image registration technique with an application to stereo vision. Proceedings of Imaging Understanding Workshop, 121-130 (1981)