当前位置: 首页 > news >正文

rotation matrix reflection matrix

文章目录

  • 1. rotation matrix
    • 1.1 结论
  • 2. reflection matrix
    • 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)

http://www.lryc.cn/news/240515.html

相关文章:

  • Python基础教程: sorted 函数
  • Vue 重写push和replace方法,解决:Avoided redundant navigation to current location
  • 43、vue导出pdf文件,并解决滚动条外内容无法获取的问题
  • 牛客 最小公配数 golang版实现
  • 用 HLS 实现 UART
  • 华清远见嵌入式学习——网络编程——作业4
  • 【OpenCV实现图像:制作酷炫的动画效果】
  • CSS鼠标属性篇
  • 交直流一体化电源系统测试步骤详解
  • 多数据库使用django-apscheduler时,migrate后并不能生成django_apscheduler_djangojob表的问题
  • SPS简单对应分析
  • 智能井盖传感器建设信息化时代智慧城市
  • 安装向量数据库milvus及其Attu
  • 量子计算概述
  • 校园圈子论坛,交友,帖子内短视频,二手市场,APP小程序H5三端交付,源码交付,支持二开
  • Request 爬虫的 SSL 连接问题深度解析
  • gin相关操作--一起学习921190764
  • Linux查看开机启动的服务
  • 微信小程序如何使用scss,less
  • 2024东北师范大学计算机考研分析
  • MFC中窗口居中显示
  • Ajax基础(应用场景|jquery实现Ajax|注意事项|Ajax发送json数据|Ajax携带文件数据)
  • Kubernetes(k8s)之Pod详解
  • redis非关系型数据库(缓存型数据库)——中间件
  • Android 9.0 隐藏设置显示中自动调节亮度
  • 2020年计网408
  • 手把手教你编写LoadRunner脚本
  • 2311rust,到74版本更新
  • Web项目从Tomcat迁移到TongWeb
  • Polygon Miden VM架构总览