Affine motion model
1.Canny edge detector on consecutive images
2.Block matching to estimate translation of each edge
3.Compute covariance matrix C of block matching error for each edge
4.Fit model A to translations when weighted by C (weighted linear-least-squares)
5.Iterate the fitting process
6.Weight each edge by how well translation fits A (Mahalanobis distance)
¥Estimate global motion of edges (A)
¥Select for edges that violate model
A
Generates weighted edge map of foreground motion
Work by Charles Kemp