// Warp two of the half-resolution input images // usage: v4gP1 cylWarp input.tga output.tga f [k1 k2] v4gP1 cylWarp pano1_0008.tga warp08.tga 595 -0.15 0.0 v4gP1 cylWarp pano1_0009.tga warp09.tga 595 -0.15 0.0 // Align the pairs using coarse-to-fine LK refinement: // usage: v4gP1 LucasKanade input1.tga input2.tga tx ty nLevels nSteps // this example uses 4 levels of image pyramid and 3 iterations of LK v4gP1 LucasKanade warp08.tga warp09.tga 200 0 4 3 // Finally, blend these two images together // usage: v4gP1 blendPairs pairlist.txt outfile.tga blendWidth // assume the output from previous command was saved in pairlist2.txt v4gP1 blendPairs pairlist2.txt stitch2.tga 200