OpenCV stitching chooses certain image to stitch

asked 2016-06-07 22:07:26 -0600

My code could stitch these certain 2 images just fine. But when i try to stitch other images, it gives distorted results. Any heads up why?

edit retag flag offensive close merge delete


The stitcher tries to find the best compromise between the different view points, distortions, camera intrinsics, rotations, translations, and probably one or two other parameters. So if they are very different, say from a 90 degree angle to a wall, or two very different cameras, you'll get funny looking results.

Tetragramm gravatar imageTetragramm ( 2016-06-07 23:40:54 -0600 )edit

I am using the findHomography function instead of the built-in Stitcher. Sorry i forgot to mention it earlier

zoenightshade gravatar imagezoenightshade ( 2016-06-08 01:23:07 -0600 )edit

Then no, we can have no idea why unless you edit your question to include the code and give example images.

Tetragramm gravatar imageTetragramm ( 2016-06-08 07:32:02 -0600 )edit