python三维图旋转,3D刚体平移和旋转的python实现

本文探讨了如何使用Python解决三维空间中刚体的旋转和平移问题。通过介绍 singular value decomposition (SVD) 方法,以及如何构建和转换坐标基,解释了如何计算旋转和平移矩阵来确定新坐标。对于给定的三个已知点,可以建立初始坐标基,然后通过矩阵操作找到转换矩阵,从而得到第四个点的新坐标。
摘要由CSDN通过智能技术生成

I've been trying to work out how to solve the following problem using python:

We have points a, b, c, d which form a rigid body

Some unknown 3D translation and rotation is applied to the rigid body

We now know the coordinates for a, b, c

We want to calculate coordinates for d

What I know so far:

Trying to do this with "straightforward" Euler angle calculations seems like a bad idea due to gimbal lock etc.

Step 4 will therefore involve a transformation matrix, and once you know the rotation and translation matrix it looks like this step is easy using one of these:

What I can't work out is how I can calculate the rotation and translation matrices given the "new" coordinates of a, b, c.

I can see that in the general case (non-rigid body) the rotation part of this is Wahba's problem, but I think that fo

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值