I would like to use the stitching module for video stitching. The elapsed time is not important. Its the quality. However, when I simply apply the stitcher independently on each image pair, all the transformation and blending parameters are computed again and the fusion results jitter (of course).
How would I need to adopt the stitching code in order to precompute the required parameters on the first image pair, and then later to re-apply them on all further image pairs?
I tried to call the stitcher->estimateTransform once and then only to call stitcher->composePanorama but the result is not correct. The code for the experiment can be found here: https://gist.github.com/mojovski/ff4e3de877929b63966618ced7bcca38
Thank you very much in advance!!