GithubHelp home page GithubHelp logo

whuhxb / surfelmeshing-with-elasticfusion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from doggdong/surfelmeshing-with-elasticfusion

0.0 0.0 0.0 3.26 MB

elastic fusion与surfel meshing结合,前者算相机位姿,后者建图,在无轨迹文件的情况下,实时计算位姿并在线稠密重建

License: BSD 3-Clause "New" or "Revised" License

Shell 0.02% C++ 83.23% C 0.21% Cuda 15.14% CMake 1.18% GLSL 0.22%

surfelmeshing-with-elasticfusion's Introduction

介绍

elastic fusionsurfel meshing结合,前者算相机位姿,后者建图,在无轨迹文件的情况下,实时计算位姿并在线稠密重建


使用方法

  1. 配置环境

  2. 下载tum数据集

    1. 下载地址 TUM RGB-D benchmark

    2. 进入数据集文件夹新建 calibration.txt 文件,内容为:

      525.0 525.0 319.5 239.5
      
    3. 运行如下命令,生成associated.txt 文件

      python associate.py rgb.txt depth.txt > associated.txt
      
  3. 链接ElasticFusion与SurfelMeshing项目

    1. 进入ElasticFusion项目中Core文件 "ElaticFuison path"/Elastic/code/ElasticFusion/Core/build

    2. 执行sudo make install

    3. 找到本项目中的Findfusion.cmake文件 "your path"/surfelmeshing/cmake

    4. 将以下两行代表寻找ElasticFusion的Core接口,在这两行下添加你ElasticFusion Core文件下的的build文件位置即可

      #  ${CMAKE_CURRENT_SOURCE_DIR}/../../Core/build
      #  ${CMAKE_CURRENT_SOURCE_DIR}/../../Core/src/build
      

      比如我的位置是/home/dog/Documents/article/Elastic/code/ElasticFusion1/Core/build

      find_library(EFUSION_LIBRARY
                   NAMES libefusion.so
                   PATHS
                    #  ${CMAKE_CURRENT_SOURCE_DIR}/../../Core/build
                    #  ${CMAKE_CURRENT_SOURCE_DIR}/../../Core/src/build
                    /home/dog/Documents/article/Elastic/code/ElasticFusion1/Core/build
                   PATH_SUFFIXES ${EFUSION_PATH_SUFFIXES}
      )
      
      
  4. 编译运行

    mkdir build && cd build
    cmake ..
    make 
    ./applications/surfel_meshing/SurfelMeshing “数据集路径”
    

surfelmeshing-with-elasticfusion's People

Contributors

doggdong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.