如何有效地检测图像流中矩形的移动?

发布于 2024-10-20 08:42:09 字数 63 浏览 11 评论 0原文

我想找到一种算法,可以检测图像流中矩形区域的运动(和运动矢量)——就像滚动窗口会产生的那样。有什么想法吗? :)

I'd like to find an algorithm that can detect the movement (and movement-vector) of a rectangular area -- like scrolling a window would produce -- in an image-stream. Any ideas? :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

满天都是小星星 2024-10-27 08:42:09

光流的想法应该可行,但这取决于窗口中的特征类型(图像、文本),以及它们是否足够独特以在子序列帧中可靠地匹配。

RANSAC 是一种给定两幅图像的方法,它会计算从一幅图像到另一幅图像的单应仿射变换,前提是它们之间匹配的特征大部分都是正确匹配的

Optical Flow's idea should work, but it depends on the type of features you have in the window (images, text), and whether they're unique enough to be matched reliably in subsequence frames.

RANSAC is a method of given two images, it would compute the homography affine transformation from one image to the other, given that the features matched between them are mostly matched correctly

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文