OpenCV中拼接后确定重叠区域

问题描述

我正在尝试使用此博客拼接图像Image Panorama Stitching with OpenCV

enter image description here

enter image description here

# Apply panorama correction
width = trainImg.shape[1] + queryImg.shape[1]
height = trainImg.shape[0] + queryImg.shape[0]

result = cv2.warpPerspective(trainImg,H,(width,height))
result[0:queryImg.shape[0],0:queryImg.shape[1]] = queryImg

Thalles Silva 使用 OpenCV 完成图像全景拼接code

我想知道在这文章中实际重叠的图像区域有多少OpenCV determine area of intersect/overlap

enter image description here

enter image description here

我应该在何处以及如何更改 Thales Silva 完成 code 以获得交叉区域,感到困惑?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)