1. A method, comprising: capturing video images by, measuring local motions on edges of the images; estimating parameters of a global motion model using results of the measurement of local motions on the edges of the images; calculating local motions using the estimated parameters of the global motion model; and comparing the local motions calculated and the local motions measured on the edges of the image, wherein the estimating, calculating and comparing are performed by one or more configured electronic devices.