Code Monkey home page Code Monkey logo

libelas-gpu's Introduction

libelas-gpu

This is an implementation of the well known libelas (LIBrary for Efficient LArge-scale Stereo matching) library for sparse large real-time calculation of stereo disparity images. This is for a college course final project and thus does not have any support of any kind. The original source code can be found in the CPU directory. This has been commented as we explore the code.

From there, the GPU cuda implementation of key methods can be found in the GPU folder. For methods not implemented on the GPU the CPU version is called, and such code is run on the CPU.

Differences

The key difference is the changing of most of the methods in the ELAS class to being virtual. This allows for the sub-classes to override such methods. This allows for seamless transition between the GPU and CPU code. Additionally, the methods where converted to public to allow for the testing and comparison of the two methods directly.

Building

  • First create a build directory mkdir build
  • Move into this directory cd build
  • Run the c++ cmake build system cmake ..
  • Finally build all the executables make -j5
  • To build a single one preform the following make -j5 <name-of-exc>
  • To run the program do the following
    • ./libelas_cpu demo
    • ./libelas_gpu

Licenses

All the original code is licensed under the GNU General Public License. This can be found with the original libelas library. All other code is licensed under the MIT license, which is attached to this repo's LICENSE file.

libelas-gpu's People

Contributors

goldbattle avatar nickgeneva 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.