OpenCV stitching chooses certain image to stitch
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?
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.
I am using the findHomography function instead of the built-in Stitcher. Sorry i forgot to mention it earlier
Then no, we can have no idea why unless you edit your question to include the code and give example images.