Stitching Video Stream
Hi guys,
I'm attempting to stitch the following video stream (youtube.com/watch?v=VDTEyQhZzKA).
I've used SURF and homographs to carry out the stitching and this part is going well. However, I'm having issues knowing when to push back my stitched image into the loop to carry on stitching for the whole video.
frame2: current video frame stitched: stitched image (also frame1 at the start)
the loop: stitched + frame2 = stitched
Thanks in advance guys!
Can you describe what kind of error you are getting so we know how to help you?
I'm not getting any errors. Right now it stitches well with the first frame of the image until it runs out of common features to match with. i.e. frame1 stitches with "capture.grab()" until it runs out of features. This shows that my stitching algorithm works.
To continue the stitching process, I'll need to feed back the stitched image back into the loop but I'm having huge problems doing this as at times, the image can be warped. In essence, what I'm trying to achieve is this: youtube.com/watch?v=QapSxGnUWtY Outputting one smooth stitched image in the end.
When I read your question I thought the problem would be in the stitching algorithm, which would be something that I could help with. If the output stitched image is warpped it means that the feature matching between images is not working well, and this could be because of too many things. I'd recommend that you follow this tutorial http://ramsrigoutham.com/2012/11/22/p... and recreate the results.
My algorithm is actually very similar to the one you posted just that when used for video stitching, at certain frames the image is warped and at other times it warps back. I think I found away to ignore certain stitches by looking for any warping in the homography and so far it looks...okay. fingers crossed
Now I just have an issue pushing back my stitched image as my first image for stitching. For some reason after awhile it just stops and there is a weird black box appearing in my stitched image. Here's a video of what's going on: youtube.com/watch?v=CZJqpqzmbaI
Previous Frame: Frame1 plus whatever has been stitched Current Frame: Current Video frame Stitched: Current Stitched Image
Thanks so much for your help. :)
Hi, I've tried to do this: Loop: stitched + frame2 = stitched
It keeps stitching the images from the left to right, creating a panorama. But the left side of the image is getting blurred. Any ideas why? I'm just using the Stitch function.
Is there any algorithm to stitch sequential images?
Thank you
Hi Ribs,
Would you happen to have a video recording of what's happening? Perhaps you can send me your code and we can see how we can take mine and yours to produce a decent result. :)