您当前的位置: 首页 > 

惊鸿一博

暂无认证

  • 3浏览

    0关注

    535博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

一个VO(Visual Odometry)的简单实现

惊鸿一博 发布时间:2020-10-03 18:47:07 ,浏览量:3

简单介绍
  • 输入:指定数量的RGB+Depth深度图,相关参数配置文件.txt
  • 输出:实时显示的三维模型,和最终的.pcd点云图
主函数
/*************************************************************************
	> File Name: rgbd-slam-tutorial-gx/part V/src/visualOdometry.cpp
	> Author: xiang gao
	> Mail: gaoxiang12@mails.tsinghua.edu.cn
	> Created Time: 2015年08月01日 星期六 15时35分42秒
    > Update: add comments by john 2020-10-16
 ************************************************************************/

#include 
#include 
#include 
using namespace std;

#include "slamBase.h"

// 给定index,读取一帧数据
FRAME readFrame( int index, ParameterReader& pd );
// 度量运动的大小
double normofTransform( cv::Mat rvec, cv::Mat tvec );

int main( int argc, char** argv )
{
    ParameterReader pd;
    int startIndex  =   atoi( pd.getData( "start_index" ).c_str() );
    int endIndex    =   atoi( pd.getData( "end_index"   ).c_str() );

    // initialize
    cout            
关注
打赏
1663399408
查看更多评论
0.0382s