当前位置:网站首页>相机投影矩阵计算
相机投影矩阵计算
2022-06-24 06:59:00 【马少爷】
代码如下:
% A=[3 1 -1;1 2 4;-1 4 5];
% B=[3.6;2.1;-1.4];
% x1=A\B
% x2=inv(A)*B
% x3=linsolve(A,B)
% [x1 x2 x3]=solve('3*x1+x2-x3=3.6','x1+2*x2+4*x3=2.1','-x1+4*x2+5*x3=-1.4')
% x4=pinv(A)*B
%P1:
Xw1 = 205.00
Yw1 = -440.54
Zw1 = -447.37
Xf1 = 186
Yf1 = 251
Xf11 = 156
Yf11 = 264
%P2:
Xw2 = -44.54
Yw2 = -451.89
Zw2 = -449.94
Xf2 = 1134
Yf2 = 216
Xf22 = 1112
Yf22 = 192
%P3:
Xw3 = -49.82
Yw3 = -318.58
Zw3 = -449.15
Xf3 = 1154
Yf3 = 708
Xf33 = 1177
Yf33 = 694
%P4:
Xw4 = 198.94
Yw4 = -310.24
Zw4 = -447.11
Xf4 = 213
Yf4 = 768
Xf44 = 189
Yf44 = 796
%P5:
Xw5 = 202.16
Yw5 = -375.33
Zw5 = -492.73
Xf5 = 232
Yf5 = 503
Xf55 = 209
Yf55 = 538
%P6:
Xw6 = -47.20
Yw6 = -384.22
Zw6 = -495.11
Xf6 = 1086
Yf6 = 463
Xf66 = 108
边栏推荐
猜你喜欢
JUC个人简单笔记
2022 tea artist (intermediate) work license question bank and online simulation examination
12-- merge two ordered linked lists
新技术实战,一步步用Activity Results API封装权限申请库
2021-03-04 COMP9021第六节课笔记
2022茶艺师(中级)上岗证题库及在线模拟考试
List of Li Bai's 20 most classic poems
How to use the virtual clock of FPGA?
Permission model DAC ACL RBAC ABAC
LabVIEW finds prime numbers in an array of n elements
随机推荐
AUTO PWN
ZUCC_ Principles of compiling language and compilation_ Experiment 04 language and grammar
Paper notes: multi label learning dm2l
Understanding of the concept of "quality"
Swift foundation features unique to swift
Question bank and simulation examination for operation certificate of refrigeration and air conditioning equipment in 2022
The reason why the qtimer timer does not work
Which is the first poem of Tang Dynasty?
jwt(json web token)
Promise usage scenarios
5 minutes, excellent customer service chat handling skills
[micro services ~nacos] Nacos service providers and service consumers
"Wechat cloud hosting" first practical battle | introduction to minimalist demo
ZUCC_ Principles of compiling language and compilation_ Experiment 02 fsharp Ocaml language
5分钟,客服聊天处理技巧,炉火纯青
Synthesize video through ffmpeg according to m3u8 file of video on the network
将mysql的数据库导出xxx.sql,将xxx.sql文件导入到服务器的mysql中。项目部署。
Opencv实现图像的基本变换
小样本故障诊断 - 注意力机制代码 - BiGRU代码解析实现
Pat 1157: school anniversary