• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
MKT-porter
博客园    首页    新随笔    联系   管理    订阅  订阅

随笔分类 -  1_1_4cereas优化学习

cereas学习(5) vins-fusion vio融合gps全局优化

摘要:残差定义 Factors.h /******************************************************* * Copyright (C) 2019, Aerial Robotics Group, Hong Kong University of Science a 阅读全文
posted @ 2023-01-05 02:04 MKT-porter 阅读(884) 评论(0) 推荐(0)
cereas学习(4) Bundle Adjustment

摘要:http://ceres-solver.org/nnls_tutorial.html ba问题讲解 https://blog.csdn.net/wzheng92/article/details/79714857 空间中一个点在成像平面的坐标系中投影成一个像素。这个投影称为初次投影。如果我们有多个相机 阅读全文
posted @ 2023-01-03 02:16 MKT-porter 阅读(253) 评论(0) 推荐(0)
cereas学习(3-2) 稳健的曲线拟合 y=e(0.3x+0.1) 加了高斯噪声0.2 还有额外异常值

摘要:稳健的曲线拟合¶ 现在假设我们得到的数据有一些异常值,即我们有一些不服从噪声模型的点。如果我们使用上面的代码来拟合这些数据,我们将得到如下所示的拟合。注意拟合曲线如何偏离基本事实。 要处理异常值,标准技术是使用 LossFunction. 损失函数减少了具有高残差的残差块的影响,通常是那些对应于异常 阅读全文
posted @ 2023-01-03 01:11 MKT-porter 阅读(112) 评论(0) 推荐(0)
cereas学习(0-1) 代价函数CostFunction

摘要:代价函数CostFunction 与其他非线性优化工具包一样,ceres的性能很大程度上依赖于导数计算的精度和效率。这部分工作在ceres中称为 CostFunction, ceres提供了许多种 CostFunction模板,较为常用的包括以下三种: 1、自动导数(AutoDiffCostFunc 阅读全文
posted @ 2023-01-03 01:03 MKT-porter 阅读(415) 评论(0) 推荐(0)
cereas学习(3) 曲线拟合 y=e(0.3x+0.1) 加了高斯噪声0.2

摘要:曲线拟合 struct ExponentialResidual { ExponentialResidual(double x, double y) : x_(x), y_(y) {} template <typename T> bool operator()(const T* const m, co 阅读全文
posted @ 2023-01-03 01:01 MKT-porter 阅读(101) 评论(0) 推荐(0)
cereas学习(2) 鲍威尔函数 多项式

摘要:struct F4 { template <typename T> bool operator()(const T* const x1, const T* const x4, T* residual) const { // f4 = sqrt(10) (x1 - x4)^2 residual[0] 阅读全文
posted @ 2023-01-03 00:48 MKT-porter 阅读(49) 评论(0) 推荐(0)
cereas学习(1)min(10-x)平方

摘要:http://ceres-solver.org/nnls_tutorial.html struct CostFunctor { template <typename T> bool operator()(const T* const x, T* residual) const { residual[ 阅读全文
posted @ 2023-01-03 00:43 MKT-porter 阅读(93) 评论(0) 推荐(0)

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3