:: Warp two of the half-resolution input images :: usage: project2 sphrWarp input.tga output.tga f [k1 k2] Panorama sphrWarp pano1_0008.tga warp08.tga 595 -0.15 0.0 Panorama sphrWarp pano1_0009.tga warp09.tga 595 -0.15 0.0 Panorama sphrWarp pano1_0010.tga warp10.tga 595 -0.15 0.0 Panorama sphrWarp pano1_0011.tga warp11.tga 595 -0.15 0.0 :: Generate features for the two images Features computeFeatures warp08.tga warp08.f 2 Features computeFeatures warp09.tga warp09.f 2 Features computeFeatures warp10.tga warp10.f 2 Features computeFeatures warp11.tga warp11.f 2 :: Match features (using ratio test) Features matchFeatures warp08.f warp09.f 0.8 match-08-09.txt 2 Features matchFeatures warp09.f warp10.f 0.8 match-09-10.txt 2 Features matchFeatures warp10.f warp11.f 0.8 match-10-11.txt 2 :: Align the pairs using feature matching: :: usage: project2 alignPair input1.tga input2.tga nRANSAC RANSACthresh Panorama alignPair warp08.f warp09.f match-08-09.txt 200 1 Panorama alignPair warp09.f warp10.f match-09-10.txt 200 1 Panorama alignPair warp10.f warp11.f match-10-11.txt 200 1 :: Finally, blend these two images together :: usage: project2 blendPairs pairlist.txt outfile.tga blendWidth :: assume the output from previous command was saved in pairlist.txt Panorama blendPairs pairlist.txt stitch.tga 200