real time stitch images which come from moving camera

asked 2015-10-26 03:08:15 -0600

i implement a simple procedure which do real-time stitch image streams with motion.

i follow your steps. the result has two main problem: 1,the homograph matrix is continuos update by preH=preH*currentH; at begining,the preH is well ,but after a while the preH error increaed,and the stitch result go into chaos.

2,there has seem which appears like a blak line,how can i remove the seem

edit retag flag offensive close merge delete

Comments

I follow this To copy/paste the images, in pseudo-code:

for each new image {
   //Get the new image
   capture >> img_cur

   //Copy the current panorama into panoramaCur
   cv::Mat panoramaCur;
   panorama.copyTo(panoramaCur);

   //panoramaSize: new panorama size
   //Warp and copy img_cur into panoramaCur using the homography H
   cv::warpPerspective(img_cur, panoramaCur, H_curto1, panoramaSize);        

   //ROI for the previous panorama
   cv::Mat half(panoramaCur, cv::Rect(0, 0, panorama.cols, panorama.rows));
   panorama.copyTo(half);

   //Get the new panorama result
   panoramaCur.copyTo(panorama);
}
dfeifefefj gravatar imagedfeifefefj ( 2015-10-26 03:09:59 -0600 )edit

Can you add images in your post?

LBerger gravatar imageLBerger ( 2015-10-27 07:45:57 -0600 )edit