Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goldbattle/libelas-gpu
Implementation of LIBELAS in cuda.
https://github.com/goldbattle/libelas-gpu
cpu cuda depth-maps gpu libelas libelas-gpu
Last synced: about 7 hours ago
JSON representation
Implementation of LIBELAS in cuda.
- Host: GitHub
- URL: https://github.com/goldbattle/libelas-gpu
- Owner: goldbattle
- License: mit
- Created: 2016-11-25T22:18:19.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-27T23:28:57.000Z (over 7 years ago)
- Last Synced: 2023-05-01T03:18:03.344Z (over 1 year ago)
- Topics: cpu, cuda, depth-maps, gpu, libelas, libelas-gpu
- Language: C++
- Homepage: http://www.cvlibs.net/software/libelas/
- Size: 29 MB
- Stars: 47
- Watchers: 7
- Forks: 21
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
- License: LICENSE
Awesome Lists containing this project
README
# libelas-gpu
This is an implementation of the well known [libelas](http://www.cvlibs.net/software/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](https://cmake.org/) build system `cmake ..`
* Finally build all the executables `make -j5`
* To build a single one preform the following `make -j5 `
* 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](http://www.cvlibs.net/software/libelas/) library. All other code is licensed under the MIT license, which is attached to this repo's LICENSE file.