rotation matrix &reflection matrix

文章目录

  • [1. rotation matrix](#1. rotation matrix)
    • [1.1 结论](#1.1 结论)
  • [2. reflection matrix](#2. reflection matrix)
    • [2.1 结论](#2.1 结论)

1. rotation matrix

图像逆时针旋转 θ \theta θ的矩阵
Q r o t a t e = cos ⁡ θ − sin ⁡ θ sin ⁡ θ cos ⁡ θ (1) Q_{rotate}=\begin{bmatrix}\cos\theta&-\sin\theta\\\sin\theta&\cos\theta\end{bmatrix}\tag1 Qrotate=cosθsinθ−sinθcosθ(1)

  • 为了方便计算和表达,我们用 I I I单位矩阵进行分析
    I = 1 0 0 1 (2) I=\begin{bmatrix}1&0\\0&1\end{bmatrix}\tag2 I=1001(2)
    可以得到两个点 Q=(1 , 0);Q=( 0, 1),我们将两个向量逆时针旋转 θ \theta θ角度后,可以得到此时的角度
    Q ′ 1 , 0 = cos ⁡ θ sin ⁡ θ (3) Q'1,0=\begin{bmatrix}\cos\theta\\\sin\theta\end{bmatrix}\tag3 Q′1,0=cosθsinθ(3)
    Q ′ 0 , 1 = − sin ⁡ θ cos ⁡ θ (4) Q'0,1=\begin{bmatrix}-\sin\theta\\\cos\theta\end{bmatrix}\tag4 Q′0,1=−sinθcosθ(4)
    所以可以得到 I I I单位向量在逆时针旋转 θ \theta θ后的旋转矩阵如下

1.1 结论

Q r o t a t e = cos ⁡ θ − sin ⁡ θ sin ⁡ θ cos ⁡ θ (5) Q_{rotate}=\begin{bmatrix}\cos\theta&-\sin\theta\\\sin\theta&\cos\theta\end{bmatrix}\tag5 Qrotate=cosθsinθ−sinθcosθ(5)

2. reflection matrix

Q r o t a t e = cos ⁡ θ − sin ⁡ θ sin ⁡ θ cos ⁡ θ (6) Q_{rotate}=\begin{bmatrix}\cos\theta&-\sin\theta\\\sin\theta&\cos\theta\end{bmatrix}\tag6 Qrotate=cosθsinθ−sinθcosθ(6)

图像沿着直线 1 2 θ \frac{1}{2}\theta 21θ对称矩阵,反射矩阵

  • 为了方便计算和表达,我们用 I I I单位矩阵进行分析
    I = 1 0 0 1 (7) I=\begin{bmatrix}1&0\\0&1\end{bmatrix}\tag7 I=1001(7)
    可以得到两个点 Q=(1 , 0);Q=( 0, 1),我们将两个向量关于 1 2 θ \frac{1}{2}\theta 21θ直线对称后,可以得到此时的坐标

    Q ′ 1 , 0 = cos ⁡ θ sin ⁡ θ (8) Q'1,0=\begin{bmatrix}\cos\theta\\\sin\theta\end{bmatrix}\tag8 Q′1,0=cosθsinθ(8)

    Q ′ 0 , 1 = sin ⁡ θ − cos ⁡ θ (9) Q'0,1=\begin{bmatrix}\sin\theta\\-\cos\theta\end{bmatrix}\tag9 Q′0,1=sinθ−cosθ(9)

2.1 结论

Q r e f l e c t i o n = cos ⁡ θ sin ⁡ θ sin ⁡ θ − cos ⁡ θ (10) Q_{reflection}=\begin{bmatrix}\cos\theta&\sin\theta\\\sin\theta&-\cos\theta\end{bmatrix}\tag{10} Qreflection=cosθsinθsinθ−cosθ(10)

相关推荐
知识分享小能手3 小时前
线性代数学习教程,从入门到精通,向量组的线性相关性 — 完整知识点梳理(7)
学习·线性代数·机器学习
ACP广源盛139246256738 小时前
WAIC2026 国产超节点算力浪潮下@ACP#IX9104 在算力矩阵中的定位与落地场景
大数据·数据库·人工智能·嵌入式硬件·线性代数·矩阵
ACP广源盛1392462567310 小时前
WAIC2026 国产算力浪潮下@ACP#IX8024 在算力矩阵中的定位与落地场景
大数据·数据库·人工智能·嵌入式硬件·线性代数·矩阵
haohao343012 小时前
B4259 [GESP202503 二级] 等差矩阵
线性代数·矩阵
粉色大象13 小时前
考研线代重难点:二阶实对称矩阵合同快速判定|2008数二第8题真题精讲
线性代数·考研·矩阵
A_cainiao_A13 小时前
【ggml系列】【第五篇】ggml_compute_forward_mul_mat 矩阵乘法算子源码与性能优化深度解析
线性代数·性能优化·矩阵
TechEdu20260614 小时前
[通信与计算]线性代数:概念及其在通信中的应用
线性代数·机器学习·通信系统·信息通信
瑞码空间1 天前
线性代数核心概念与实战应用详解
线性代数
知识分享小能手1 天前
线性代数学习教程,从入门到精通,矩阵的初等变换与线性方程组(6)
学习·线性代数·矩阵
知识分享小能手1 天前
线性代数学习教程,从入门到精通,矩阵的初等变换与线性方程组(5)
学习·线性代数·矩阵