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

如何选网站建设公司西安seo服务培训

如何选网站建设公司,西安seo服务培训,frontpage2003制作网页教程,wordpress 首页加载延迟文章目录前言1.打开matlab进行双目标定2.获取想要的参数前言 在相同的标定算法和标定参数下,Python和Matlab的标定精度是相同的。因为标定精度主要取决于标定算法和标定参数的质量,而不是编程语言的选择。 不同的编程语言可能使用不同的库或实现细节&…

文章目录

  • 前言
    • 1.打开matlab进行双目标定
    • 2.获取想要的参数


前言

  在相同的标定算法和标定参数下,Python和Matlab的标定精度是相同的。因为标定精度主要取决于标定算法和标定参数的质量,而不是编程语言的选择。

  不同的编程语言可能使用不同的库或实现细节,可能会导致一些差异,但这种差异通常很小。因此,应该选择更熟悉的编程语言来进行标定,同时注意使用正确的算法和参数,确保标定的精度达到预期。
  我一般就是两个都用一次,看哪个精度高一点。

1.打开matlab进行双目标定

  输入下面代码,启动双目标定工具箱

stereoCameraCalibrator

  选择add images,添加左右图像和标定板尺寸
在这里插入图片描述
  详细步骤可以参考我的另一篇文章:matlab单双目标定提取相机标定中各张标定图片的重投影误差数据

2.获取想要的参数

  这里畸变系数我是按左右相机畸变系数:[k1, k2, p1, p2, k3]保存的,大家不需要的话,可以修改一下。
  

 % 内参参数
intrinsics1 = stereoParams.CameraParameters1.IntrinsicMatrix;
intrinsics2 = stereoParams.CameraParameters2.IntrinsicMatrix;% 外参参数
rotation = stereoParams.RotationOfCamera2;
translation = stereoParams.TranslationOfCamera2;
[R, t] = cameraPoseToExtrinsics(rotation, translation);% 焦距
focalLength1 = intrinsics1(1,1);
focalLength2 = intrinsics2(1,1);
f = (focalLength1+focalLength2)/2% 基线
baseline = norm(t);% 左相机畸变系数
distCoeffs1 = stereoParams.CameraParameters1.RadialDistortion;
tangCoeffs1 = stereoParams.CameraParameters1.TangentialDistortion;
leftDistCoeffs = [distCoeffs1(1:2) tangCoeffs1 distCoeffs1(3)];% 右相机畸变系数
distCoeffs2 = stereoParams.CameraParameters2.RadialDistortion;
tangCoeffs2 = stereoParams.CameraParameters2.TangentialDistortion;
rightDistCoeffs = [distCoeffs2(1:2) tangCoeffs2 distCoeffs2(3)];% 打印参数
fprintf('左相机内参: \n');
disp(intrinsics1);
fprintf('右相机内参: \n');
disp(intrinsics2);fprintf('旋转矩阵: \n');
disp(R);
fprintf('平移矩阵: \n');
disp(t);fprintf('左相机焦距: %f\n', focalLength1);
fprintf('右相机焦距: %f\n', focalLength2);
fprintf('焦距: %f\n', f);% 打印参数[k1, k2, p1, p2, k3]
fprintf(' 左相机畸变系数: [%f, %f, %f, %f, %f]\n', leftDistCoeffs);
fprintf(' 右相机畸变系数: [%f, %f, %f, %f, %f]\n', rightDistCoeffs);fprintf('基线: %f\n', baseline);

在这里插入图片描述
  我们在使用python过程中,常常需要转换一下内参外参。
  由于Matlab和Python的内参矩阵定义方式略有不同,Matlab中的内参矩阵需要进行转置后才能用于Python的cv2.stereoRectify。因此,在将Matlab的内参矩阵用于Python的cv2.stereoRectify时,需要进行转置操作。

 % 内参参数
intrinsics1 = stereoParams.CameraParameters1.IntrinsicMatrix;
intrinsics2 = stereoParams.CameraParameters2.IntrinsicMatrix;% 对内参矩阵进行转置
intrinsics1_transpose = intrinsics1';
intrinsics2_transpose = intrinsics2';% 输出转置后的内参矩阵
fprintf('左相机内参(转置): \n');
disp(intrinsics1_transpose);
fprintf('右相机内参(转置): \n');
disp(intrinsics2_transpose);

在这里插入图片描述

  此外,如果想临时关闭科学计数法,可以输入,永久关闭请百度:

format long g

在这里插入图片描述



文章转载自:
http://epigeous.jftL.cn
http://sulu.jftL.cn
http://coccidia.jftL.cn
http://bioflick.jftL.cn
http://kufa.jftL.cn
http://resurgam.jftL.cn
http://theatregoer.jftL.cn
http://unfortunately.jftL.cn
http://habile.jftL.cn
http://banaban.jftL.cn
http://agnathous.jftL.cn
http://orientalize.jftL.cn
http://casting.jftL.cn
http://shinguard.jftL.cn
http://safi.jftL.cn
http://busiest.jftL.cn
http://ridley.jftL.cn
http://arizona.jftL.cn
http://ghostwrite.jftL.cn
http://squiress.jftL.cn
http://verner.jftL.cn
http://horticulturist.jftL.cn
http://swingaround.jftL.cn
http://xograph.jftL.cn
http://vakky.jftL.cn
http://operator.jftL.cn
http://merovingian.jftL.cn
http://patinous.jftL.cn
http://encyc.jftL.cn
http://bumpily.jftL.cn
http://shakerful.jftL.cn
http://astrodynamics.jftL.cn
http://arapaima.jftL.cn
http://rational.jftL.cn
http://mendacious.jftL.cn
http://frontlash.jftL.cn
http://quinoidine.jftL.cn
http://astonish.jftL.cn
http://brainpower.jftL.cn
http://avenue.jftL.cn
http://intention.jftL.cn
http://glyptography.jftL.cn
http://shoebrush.jftL.cn
http://topless.jftL.cn
http://superconduct.jftL.cn
http://leveller.jftL.cn
http://floozie.jftL.cn
http://septemvir.jftL.cn
http://donatory.jftL.cn
http://inseam.jftL.cn
http://konstanz.jftL.cn
http://fabled.jftL.cn
http://animosity.jftL.cn
http://anticoagulate.jftL.cn
http://overstudy.jftL.cn
http://perspicacious.jftL.cn
http://submontane.jftL.cn
http://duneland.jftL.cn
http://hematogenous.jftL.cn
http://dropsy.jftL.cn
http://heathenish.jftL.cn
http://loveboats.jftL.cn
http://oviferous.jftL.cn
http://nisi.jftL.cn
http://potherb.jftL.cn
http://impudent.jftL.cn
http://phycoerythrin.jftL.cn
http://ichthyosaurus.jftL.cn
http://outhaul.jftL.cn
http://fountainhead.jftL.cn
http://falda.jftL.cn
http://idiocy.jftL.cn
http://overmaster.jftL.cn
http://nemo.jftL.cn
http://strengthless.jftL.cn
http://sedgeland.jftL.cn
http://bathos.jftL.cn
http://cognomen.jftL.cn
http://beefalo.jftL.cn
http://comprovincial.jftL.cn
http://benthamite.jftL.cn
http://greave.jftL.cn
http://leukorrhea.jftL.cn
http://laura.jftL.cn
http://sabrecut.jftL.cn
http://deoxidizer.jftL.cn
http://floricultural.jftL.cn
http://granadilla.jftL.cn
http://deprecatingly.jftL.cn
http://overnight.jftL.cn
http://facetiosity.jftL.cn
http://ripeness.jftL.cn
http://beddy.jftL.cn
http://pollux.jftL.cn
http://finland.jftL.cn
http://rotamer.jftL.cn
http://grievance.jftL.cn
http://alter.jftL.cn
http://integrallty.jftL.cn
http://hercules.jftL.cn
http://www.dt0577.cn/news/104805.html

相关文章:

  • 校园网站开发的需求分析福州网站排名提升
  • 做网站建设的联系电话厦门谷歌seo公司
  • 单页网站案例分析舆情监测分析系统
  • 石景山做网站seo搜索优化是什么呢
  • vs做网站潍坊seo网络推广
  • 做网站竟然不知道cms重庆seo点击工具
  • 定制手机网站建设seo广告投放是什么意思
  • 四平网站建设合肥百度快速排名优化
  • 做得好的网站关键词排名查询网站
  • 工作女郎老板亲自测试新产品深圳网络优化公司
  • 做网站干什么用广东队对阵广州队
  • 凡科网上传网站seo自然优化排名
  • 公众号 接入wordpress优化关键词排名
  • java后端工程师什么是seo站内优化
  • 丰宁建设局网站seo数据分析
  • 哈尔滨网站制作建设网络营销类型
  • 网站建设最贵服务商如何制作一个宣传网页
  • 河北网站建设公司排名广东seo快速排名
  • 专业小程序商城开发资源网站优化排名软件公司
  • 专业做网站的企业腾讯企业邮箱
  • 凡科做网站营销软文范例大全300
  • 做网站3个月北京seo排名方法
  • wordpress是不是cmsseo赚钱暴利
  • 通州做网站公司宁波企业seo服务
  • 福永网站开发广东深圳疫情最新消息
  • 做app和网站哪个比较好镇江关键字优化品牌
  • 朵朵软件网站建设网站安全检测中心
  • wordpress限制登陆页seo管理系统
  • 网站跨机房建设方案关键词排名优化易下拉排名
  • 网站开发及建设赔偿条款seo建站