An efficient parallel motion estimation algorithm for digital image processing