This software has been developed for a review on different techniques on the estimation of the fundamental matrix. The following techniques have been implemented:
Usage: FMatrix -match file1 file2 | -match2 file
[-l | -n | -nl | -g | -m | -rp | -lmeds | -ng | -nnl | -nnlrp]
[-v] [-outFundM F] [-outCovF CovF] [-outRMS dist] [-recons File]
*** Estimation of fundamental matrix between 2 point sets ***
*** A Program of Zhengyou Zhang (zhang@microsoft.com) ***
-match :- specifies the two files containing matched points
(each line in each file contains u & v coordinates)
-match2 :- specifies the file containing matched points
(each line contains four numbers: u v u' v')
(one and only one of -match and -match2 must be specified)
-l :- linear method
-n :- linear method with data normalization
-nl :- nonlinear method based on distances between points and epipolar lines
-g :- nonlinear method based on gradient-weighted epipolar errors
-m :- same as -nl, but uses M-estimator instead of Least-squares
-rp :- minimizes distances between points and reprojections
-lmeds :- least median of squares
-ng :- combination of -n and -g [Default method]
-nnl :- combination of -n and -nl
-nnlrp :- combination of -n, -nl and -rp
-v :- verbose mode
-outFundM :- specifies the file in which to save the F matrix
-outCovF :- specifies the file in which to save the covariance matrix
-outRMS :- specifies the file in which to save the average distance
-recons :- specifies the file in which to save the projective reconstruction
Usage: Fdiff F1 F2 [nbtries] [xmin ymin xmax ymax] *** Measures the difference between two fundamental matrices *** *** by randomly generating points in the images and computing *** *** the average distance between points and epipolar lines *** *** A Program of Zhengyou Zhang (zhang@microsoft.com)*** The default number of tries is 50000. If `xmin ymin xmax ymax' is given, then it specifies the image region. Default to [0 0 511 511]