3D Transformations

本文详细介绍了3D空间中的变换,包括转换矩阵、平移变换、缩放变换和旋转变换。其中,平移变换和缩放变换分别针对坐标原点和任意点进行,旋转变换涉及绕坐标轴和任意轴的旋转。3D变换在3D图像分析、3D重建和机器人位姿分析等领域具有重要应用。
摘要由CSDN通过智能技术生成

Three dimensional transformation is very useful and important in 3D image analysis, 3D reconstruction and Robot pose analysis.

Three dimensional geometric transformation includes translation transformation, scale transformation and rotation transformation. Three dimensional translation transformation and scale transformation can be regarded as the generalization of two-dimensional transformation, but rotation transformation is more complex.

1. Transformation Matrix

Similar to two dimensional geometric transformation, we also use homogeneous coordinates to describe the coordinates and transformation of each point in three-dimensional space. At this time, the transformation matrix describing the spatial three-dimensional transformation is in the form of 4 * 4.
[ a 11 a 21 a 31 p x a 12 a 22 a 32 p y a 13 a 23 a 33 p z t x t y t z s ] \begin{bmatrix} \begin{array}{ccc:c} a_{11} & a_{21} & a_{31} & p_x \\ a_{12} & a_{22} & a_{32} & p_y \\ a_{13} & a_{23} & a_{33} & p_z \\ \hdashline t_x & t_y & t_z & s \end{array} \end{bmatrix} a11a12a13txa21a22a23tya31a32a33tzpxpypzs

Among them, [ a 11 a 21 a 31 a 12 a 22 a 32 a 13 a 23 a 33 ] \begin{bmatrix} a_{11} & a_{21} & a_{31} \\ a_{12} & a_{22} & a_{32} \\ a_{13} & a_{23} & a_{33} \end{bmatrix} a11a12a13a21a22a23a31a32a33generates transformations such as scaling, rotation and staggered tangent by axis, [ p x p y p z ] \begin{bmatrix} p_x \\ p_y \\ p_z \end{bmatrix} pxpypzgenerates translation transformation, [ t x t y t z ] \begin{bmatrix} t_x & t_y & t_z \end{bmatrix} [txtytz]generates projection transformation, and [ s ] \begin{bmatrix} s \end{bmatrix} [s]generates overall scaling transform.

2. Translation Transformation

If the spatial translation amount is ( t x , t y , t z ) \lparen{t_x, t_y, t_z}\rparen (tx,ty,tz), the translation transformation is
{ x ′ = x + t x y ′ = y + t y z ′ = z + t z \begin{cases} x' = x+t_x \\ y'=y+t_y \\ z'=z+t_z \end{cases}

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值