Code Monkey home page Code Monkey logo

btrf's Introduction

btrf

Backtracking regression forest

This is a modified implementation of paper

@inproceedings{meng2017backtracking, title={Backtracking Regression Forests for Accurate Camera Relocalization}, author={Meng, Lili and Chen, Jianhui and Tung, Frederick and Little J., James and Valentin, Julien and Silva, Clarence}, booktitle={IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS 2017)},
year={2017}
}

Dependences:

  1. OpenCV 3.1 or later.
  2. Eigen 3.2.6 or later.
  3. flann 1.8.4 or later.

The code is tested on Xcode 6.4 on a Mac 10.10.5 system. But the code has minimum dependence on compile and system, so it should work well on linux and windows as well.

File structure: src/btrf_.hpp and src/btrf_.cpp: the main algorithm for backtracking regression forst.

src/cmd: three files for training, testing of world coordinates prediction from RGB-D images, and camera pose estitation

src/dt_common: common function for decition tree, for example, objective functions

src/opencv_util: wrap of opencv function for the project

src/pose_estimation: camera pose estimation using Kabsch and preemptive RANSAC

src/Walsh_Hadamard: Walsh hardamard transformation. Code modifed from : http://www.faculty.idc.ac.il/toky/Software/wh/code.htm

src/yael_io.*: code for binary matrix read/write. Code modifed from: https://gforge.inria.fr/projects/yael

parameters/4scenes_param.txt: dataset parameter, from http://graphics.stanford.edu/projects/reloc/ parameters/forest_param.txt: forest parameter example. parameters/apt1_kitchen/ : training/testing file sequence examples

How to build with cmake:

mkdir build
cd build
cmake ../src
make -j4

btrf's People

Stargazers

 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.