A FAST MOTION ESTIMATION ALGORITHM FOR DIGITAL IMAGE STABILIZATION