Robust Global Motion Compensation in Presence of Predominant Foreground
To use this code, first download "MATLAB Functions for Multiple View Geometry" from: http://www.robots.ox.ac.uk/~vgg/hzbook/code/ and add its path to Matlab path.
Then, set the desired file name and path, and also output folders in RGMC.m and run the code.