Ask Your Question
2

What is wrong with the following two images as I can't get them to stitch?

asked 2018-05-01 14:09:54 -0600

opencv-newb gravatar image

updated 2018-05-02 05:00:55 -0600

1: https://i.imgur.com/6rSTC9k.png

2: https://i.imgur.com/OFIVK60.png

When I use the default binary provided by the opencv upon compilation, the program hangs forever and keeps on consuming memory until it freezes my system and I end up forcing a shutdown and restart. Can somebody tell me why this is happening?

EDIT: I figured out the line which is freezing my application.

File: https://github.com/opencv/opencv/blob...

compensator->feed(corners, images_warped, masks_warped);

What does this line do?

edit retag flag offensive close merge delete

Comments

Maybe, maybe not related to your issue but you don't have enough overlapping. Recommended is to use 1/3 of image overlapping (similar to panorama image stitching).

Eduardo gravatar imageEduardo ( 2018-05-02 06:10:19 -0600 )edit

If you pay close attention there is almost 80% overlap between images.

opencv-newb gravatar imageopencv-newb ( 2018-05-02 06:22:15 -0600 )edit

Indeed, forget my comment.

Eduardo gravatar imageEduardo ( 2018-05-02 07:20:46 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-05-03 01:35:36 -0600

opencv-newb gravatar image

Aha! Rotating the images 90 in counterclockwise manner got them to stitch properly. Now the question is : How would I know at runtime which way to rotate? Or as I did rotate it back clockwise 90 degrees so it shoudln't matter?

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-05-01 14:09:54 -0600

Seen: 286 times

Last updated: May 02 '18