单应性矩阵中的 h31 和 h32 项是什么意思?

发布于 2025-01-16 10:24:58 字数 1165 浏览 5 评论 0原文

我已经使用 OpenCV (python3.6) 中的 MOTION_HOMOGRAPHY 函数来注册一对图像,并且我试图解释该函数返回的 3 x 3 扭曲矩阵:

H = 
[1.304     6.65e-2    -19.71
 3.19e-3   1.163      -22.92
 3.84e-5   2.06e-4    1     ]

我不确定 h31 (3.84e -5) 和 h32 (2.06e-4) 术语的含义。我已阅读此处此处,以及此处,但所有示例都将这些项显示为零。在我看来:

  • 1.304 是沿 x 的拉伸/缩放
  • 6.65e-2 是沿 x 的剪切
  • < code>-19.71 是沿 x 的平移
  • 3.19e-3 是沿 y 的剪切
  • 1.163y -22.92 中的拉伸/缩放
  • 是沿着 y 的平移,

这是正确的吗?

  • 3.84e-5z 中的拉伸/缩放吗?
  • 2.06e-4z 中的剪切吗?
  • 1 是沿着 z 平移吗?

我认为 z 是我的图像的强度,我想我只是想检查最后一行中的项是否是强度的变换。提前致谢。

I have used the MOTION_HOMOGRAPHY function in OpenCV (python3.6) to register a pair of images, and I am trying to interpret the 3 x 3 warp matrix the function returns:

H = 
[1.304     6.65e-2    -19.71
 3.19e-3   1.163      -22.92
 3.84e-5   2.06e-4    1     ]

I'm not sure what the h31 (3.84e-5) and h32 (2.06e-4) terms mean. I have read here, here, and here, but all the examples show these terms as zero. In my mind:

  • 1.304 is the stretching/scaling along x
  • 6.65e-2 is the shearing in x
  • -19.71 is translation along x
  • 3.19e-3 is the shearing in y
  • 1.163 is the stretching/scaling in y
  • -22.92 is the translation along y

Is this right?

  • 3.84e-5 is the stretching/scaling in z?
  • 2.06e-4 is the shear in z?
  • 1 is the translation along z?

I think z is the intensity of my image, and I guess I'm just trying to check that the terms in the last row are a transformation of intensity. Thanks in advance.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文