GithubHelp home page GithubHelp logo

catree / softposit-cpp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from autosquid/softposit-cpp

0.0 2.0 0.0 48 KB

pure cpp implementation of softposit (soft posit)

License: GNU General Public License v2.0

CMake 9.91% C++ 90.09%

softposit-cpp's Introduction

Intro.

SoftPOSIT is an algorithm propose by David etc. 1 a model based camera algorithm for determining the pose (position and orientation) of a 3D object from a single 2D image when correspondences between object points and image points are not known. This algorithm integrates the Softassign technique for computing correspondences and the POSIT technique for computing object pose. The method finds the rotation and translation parameters of the camera with respect to an object.

Existing Implementations

matlab imp.

The author provides matlab implementation here: http://www.cfar.umd.edu/~daniel/Site_2/Code.html

C (fortran) imp.

Someone else with a c/fortran implementation: https://github.com/hanshuo/softposit

C++ imp.

This repo. provides my cpp implementation.

How to Build

Dependency

  1. Armadillo

It mainly depends on the Armadillo linear algebra library.

  1. Boost (Format)

There are also dependency on Boost, and only for outside logging code which can be easily removed.

Build Steps

The project is managed with CMake.

Suggested steps:

git clone [email protected]:autosquid/softposit.git
cd softposit
mkdir build
cd build
cmake ..
make
./softpositdemo

TODO

  1. could someone tell me how to do a serious (yet simple) logging ? Boost Logging seems just too heavy for such a small lib.
  2. bindings for Python? is this needed?

Reference

[1]: David, Philip and Dementhon, Daniel and Duraiswami, Ramani and Samet, Hanan, "{SoftPOSIT: Simultaneous pose and correspondence determination}", Int. J. Comput. Vis., 59:259--284 (2004)

softposit-cpp's People

Contributors

autosquid avatar

Watchers

James Cloos avatar  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.