SSARCandy / panoramas-image-stitching

🖼 Stitching images into 360 panoramas
https://ssarcandy.tw/2017/05/26/panorama-image-stitching/
214 stars 52 forks source link

360 ° panoramic stitching problem 360°的全景拼接问题 #26

Open faimi opened 1 year ago

faimi commented 1 year ago

Hello, I am currently completing a panoramic mosaic project. Please allow me to briefly introduce my project to you: first, obtain a 360° image of the side of a cylinder, then splice all the images (approximately six, each 60 °) into one image, and finally bend the image like the side of a cylinder. Simply put, it is a three-dimensional modeling of the side of a cylinder.

By using your code, I found that my problem lies in the second step of stitching, and the resulting image is that the left part of the first image and the right part of the second image are stitched together, not the similarities between the two images.

I would like to ask, is it because I am photographing a cylinder, so I need to pre process the image before stitching, such as flattening the image?

Thank you very much for your code and for answering my question.

您好,我最近正在完成一个全景拼接的项目,请允许我先向您简单介绍一下我的项目:首先获取一个圆柱体侧面360°的图像,然后将所有图像(大概六张,每张60°)拼接成一张图,最后将图弯曲,就像圆柱的侧面一样。简单来说就是对一个圆柱体的侧面进行三维建模。

我通过使用您的代码发现我的问题出在第二步的拼接上,得到的结果图是第一张图的左边部分和第二张图的右边部分拼接起来了,并不是两张图的相似点拼接起来了。

我想请问一下,是不是因为我拍的是圆柱体,所以在拼接之前还要对图像进行预处理,例如拍平图像?

非常谢谢您的代码,也谢谢您回答我的问题。

SSARCandy commented 1 year ago

can you try run my test cases? I'm not sure I understand your issue, but it may be the wrong setup.