opencv-python中图像拼接如何从多张图像中消除前景运动物体
假设我有两个图像(如全景图),并且我需要将这些图像拼接在一起,但结果图像中不应出现人物的移动前景图像。仅应出现背景信息。
我使用 Sift 来检测关键点和特征,识别匹配,然后使用 getPerspectiveTransform 方法来查找变换矩阵。 然后使用 warpPerspective 方法,将此变换矩阵作为参数之一传递并查找缝合图像。
但是我如何实现消除前景移动对象的逻辑。
Assume I have two images (like panorama) and I need to stitch these images together but the moving foreground images of people should not be present in the result image.Only background info should be present.
I am using Sift to detect keypoints and features, identifying the matches, then using getPerspectiveTransform method to find the transformation matrix.
Then using warpPerspective method by passing this transformation matrix as one of the arguments and finding the stitched image.
But how do I implement the logic for eliminating the foreground moving object.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论