See Usage of AffineF.
Usage: AffineF -match file1 file2 | -match2 file [-lmeds] [-3D] [-ref pts3D] [-v] [-outF F] [-outP P1 P2] [-outMatch fileOut1 fileOut2] [-outRecons Recons] *** Estimation of affine fundamental matrix between 2 point sets *** *** A Program of Zhengyou Zhang (email@example.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) -lmeds :- runs the least median of squares technique -3D :- indicates that the two files actually contain two _3D_ point sets and one seeks for the 3D affine transformation between them. -ref :- specifies the reference 3D points for the 2D matched points and one seeks for the 3D affine transformation between the affine reconstruction and `Pts3D' (reference), and the error. -v :- verbose mode -outF :- specifies the file in which to save the affine F matrix -outP :- specifies the files n which to save the camera projection matrices -outMatch :- specifies the files in which to save the good matches. Only valid when -lmeds option is specified. -outRecons :- specifies the file in which to save the affine reconstruction