1. A method of estimating motion in a video programmed in a memory in a device comprising: a. performing contrast pre-processing on the video to generate pre-processed data; and b. performing phase correlation on the video using the pre-processed data.