Reputation: 505
I am implementing my own image stitching algorithms(using opencv but not the stitcher class), so far i can stitch 2 images using following steps:
What i'd like to know is, that if let's say i'd like to do video stitching which means i need this algorithm to be fast, could i skip the steps 1-4? i would only compute homography once and then use same matrix for all other frames - of course cameras would be in static position
Upvotes: 0
Views: 1061
Reputation: 2357
Yes you can do that.
You should keep track of different camera parameters like focus which change homography, but basically if you know what and where to rotate - you can skip steps 1-4.
You can see stitching_detail.cpp from opencv source code which despite being buggy in camera parameters estimation and a little bit memory & CPU inefficient, greatly demonstrates stitching pipeline.
Upvotes: 0