GithubHelp home page GithubHelp logo

etudemin / hdrfusion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shudali/hdrfusion

0.0 1.0 0.0 400 KB

A C++ implementation of our paper "HDRFusion: HDR SLAM using a low-cost auto-exposure RGB-D sensor"

CMake 26.23% C++ 28.68% Limbo 1.48% MATLAB 0.88% Objective-C 0.16% C 33.24% Cuda 9.33%

hdrfusion's Introduction

HDRFusion

Introduction

This is an open source C++ implementation of [1]. The code has been tested on both Ubuntu and Windows platforms.

[1] HDRFusion: HDR SLAM using a low-cost auto-exposure RGB-D sensor. Li, S.; Handa, A.; Yang, Z.; Calway, A. arKiv.org, 2016.

Please consider citing above publication if you use this software in your own work.

The repository is maintained by Shuda Li ([email protected]). Feel free to contact me, if you have any question or suggestions.For more details, please refer the project pages at https://lishuda.wordpress.com/


License

The source code is released under the MIT license. In short, you can do anything with the code for any purposes. For details please view the license file in the source codes.


Dependences

  • OpenCV 3.0 (BSD license)
  • Eigen (GNU free software)
  • Sophus (GNU free software)
  • OpenNI 2 (Apache license)
  • Boost (BSD License)
  • GLEW (Free commercial use)
  • CUDA

Instructions on calibration

  • compile project "multi_expo_caputurer" and "calc_crf" by following the following instructions.

    a. refer to "calibration\Windows.txt" for compilation on windows

    b. refer to "calibration\Ubuntu.txt" for compilation on ubuntu

  • execute "multi_expo_caputurer" to capture multi-exposure images:

    a. a folder named as the serial number of the sensor will be created. The multi-exposure images are stored inside.

    b. check the captured images manually. By default, at each exposure time, 30 frames will be captured. They will be name as "exposure_time.no.png" (3.13.png represent exposure time 3, no 13). Due to the AE setting of the Xtion RGB-D sensor, some frames may captured at inaccurate exposure. These can be identified by comparing image brightness with other images catpured at the same exposure time. Find and remove those images.

    c. copy the images into a folder, for example "/source"

  • execute project "calc_crf" to calibrate inverse CRF.

    a. update the _path variable in the main function of "calc_crf": _path = string("//source//");

    b. compile and execute "calc_crf".

    c. it will produce a "load_inv_crf.m" file.

    d. copy and paste "load_inv_crf.m" into the folder of "crf_calibration_matlab"

  • execute matlab codes to calibrate crf, derivative of crf, noise level function and normalization factors

    a. use matlab to execute the "crf_calibration_main.m" in the folder of "crf_calibration_matlab"

    b. it will produce a "crf.yml" where all parameters are stored in.

    c. copy it into the folder of "hdr_fusion//data//serial_number//"


Instructions on HDRFusion

  • compile library "rgbd" and project "hdr_fusion_main" by following the documents:

    a. refer to "hdr_fusion\Windows.txt" for compilation on windows

    b. refer to "hdr_fusion\Ubuntu.txt" for compilation on ubuntu

  • the real sample data sequences are available from https://lishuda.wordpress.com/dataset/.

    a. bear.

    b. sofa.

    c. desk.

    d. floor1.

    e. floor2.

    f. whiteboard.

    g. serial.yml.

  • set up parameters

    a. all parameters are loaded from a .yml file at "..//hdr_fusion_main//HDRFusionControl.yml"

    b. download the sample ".oni" data and "serial.yml" file and put them under the folder "..//data//"

    c. make sure the oniFile variable in "HDRFusionControl.yml" has been specified correctly. e.g. oniFile: "..\data\bear.oni"

  • execute "hdr_fusion_main" functional keys:

    '0': align viewing postion with camera pose

    '7': switch on/off surfaces

    'F5': switch on/off camera trajectory

    'F6': switch on/off camera frustum

    'p': pause the HDRFusion

    'l': switch on/off colour

    'T': switch on/off tone mapping operation

  • synthetic dataset are also available. The synthetic datasets are stored ".png" files. To load into HDRFusion is trivial and therefore not provided.

    a. flickering AE dataset.

    b. smooth AE dataset.

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.