BlockBasedMotionEstimation Block-based motion estimation with spatial regularization using an eight-connected neighborhood. This is a non-recursive implementation. Uses an image pyramid to speed up the computation.