【问题标题】:Transformation (rotation and translation) between 2 images2 个图像之间的转换(旋转和平移)
【发布时间】:2016-09-22 19:29:45
【问题描述】:

我有这 2 张图片:

我想计算两个物体之间的旋转和平移(长的垂直物体是噪声)。我怎样才能做到这一点?我尝试了estimateRigidTransform,得到了一个像这样的3x2矩阵:

[[ 9.74271490e-01 -5.10741683e-02 2.52325933e+01] [ 1.05148056e-02 1.01445292e+00 -8.42995582e+00]]

我认为这个矩阵是这样的:

[[ cos(角度) sin(角度) 平移_X] [-sin(角度) cos(角度) 平移_Y]]

但是 9.74271490e-01 和 1.01445292e+00 是不一样的,那么,是什么意思呢?

estimateRigidTransform 是最好的(唯一的)解决方案吗?

最好的问候,

菲利普

【问题讨论】:

  • 您可以使用findHomography 查找两个平面之间的透视变换。
  • 使用findHomography,我需要 2 个点数组,但我有 2 个图像。 getAffineTransformgetPerspectiveTransform 也是如此。
  • findHomography 在 OpenCV 中使用检测器和描述符。

标签: opencv transform


【解决方案1】:

尝试使用迭代最近点 (ICP)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-09-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-06-30
    • 2011-10-24
    相关资源
    最近更新 更多