What is wrong with these images?
I am trying to stitch following images using : https://github.com/opencv/opencv/blob... for stitching
1. http://i68.tinypic.com/aniqs9.jpg
2. http://i66.tinypic.com/2iqxwuv.jpg
They fail on stitching, freezing my system and forcing a restart. How do I fix this?
output : Finding features... [ INFO:0]
Initialize OpenCL runtime... Features
in image #1: 6345 Features in image
#2: 5859 Finding features, time: 0.85044 sec Pairwise matchingPairwise matching, time: 0.204246 sec Need
more images
I have posted a similar question earlier with no response : http://answers.opencv.org/question/19...
EDIT: Provided output.
There is a bug in stitching module
Where? I am not very experience with the c++ code and have been using python wrapper.
I remember your post: duplicate post I tried to stitch images but result image was too big relative to original size. When you reduce image size it is possible to stitch it
It gets distorted a little too much once I start tampering. Is there any standard configuration which can guarantee that there will be an stitched image? One pair got stitched by rotating them counter clockwise. It wouldn't stitch in normal configuration. I still can't reason myself for why it worked.
try http://answers.opencv.org/question/98...
On above two images :
what(): OpenCV(3.4.1-dev) /opt/opencv/modules/core/src/matrix.cpp:465: error: (-215:Assertion failed) 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows in function 'Mat'