How to merge two images in opencv?

前端 未结 4 1442
时光取名叫无心
时光取名叫无心 2020-12-08 07:41

I have calculated homography ,taken out perspective transform .I am able two display two images in one window but unable to merge them.Here are my example images->

4条回答
  •  遥遥无期
    2020-12-08 08:28

    • Image Blending: You may use a laplacian pyramid blending. see a sample code here using opencv. You can use whatever mask you like (which is a binary mask).

    • create Panorama If you want to make a panorama, you may use Min-Cut Stitching. I found this code which do the panorama processing.

提交回复
热议问题