Ask Your Question
1

OpenCV stitching output is unstable

asked 2015-11-16 06:10:19 -0500

davits gravatar image

I am using opencv stitching class to make panorama. I am using the simplest code for stitching, just giving images, making pointer to stitcher class, creating default one and calling composePanorama function.
With every sequence if images I am getting unstable results, for example the dimensions of ouput image is different for each time of function works.
Can someone help me to figure out the reason?
I have looked to source codes and forums, I think maybe function finds different keypoints each time ,thus homography is different and the results differ.
Also I have found out, that SURF feature finder and matcher algorithms are robust than other, but that having that module need an additional license.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2015-11-16 08:03:21 -0500

The reason could be RANSAC which uses random generator to find best matches, so it is not deterministic approach.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-11-16 06:09:58 -0500

Seen: 60 times

Last updated: Nov 16 '15