Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to compute a stitching model and reuse it on further image pairs?

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!!