Quality findHomography OpenCV 3 vs. OpenCV 2

asked 2015-05-13 11:21:18 -0600

Hi all,

I'm using OpenCV on a project for aligning multiple overlapping images. In more detail, I'm using the function findHomography as a feature match filter between a single image pair. In other words, I don't use the actual computed homography but only the inlier mask.

All inlier points of every camera pair are then used in conjunction with the levmar library to estimate camera parameters in a bundle adjustment.

Comparing the generated output when simply switching between linking against OpenCV 2.4.8 and OpenCV 3 (Beta and RC1) the results are pretty consistently worse (in terms of alignment) in the OpenCV 3 Version.

I briefly looked at the source code and noticed that there seem to have been substantial changes between the two implementations.

Has anyone else noticed similar results? Am I missing an option that maintains result compatibility or is this something I have to live with (which would mean not using OpenCV 3 going forward, which would be kind of a shame)?

Any input on these questions would be greatly appreciated.

Thanks in advance!

edit retag flag offensive close merge delete

Comments

2
Doomb0t gravatar imageDoomb0t ( 2015-05-22 14:40:34 -0600 )edit
1

Sorry for the late response, was away for work. Sorry but I do not seem to have a solution to this. Probably the internal interface got scrambled, which will increase performance for most systems but probably decreases on your system due to a system specific system. We would need more information about your configuration setup, to debug where the problem lies.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-05-27 08:07:32 -0600 )edit