-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6392bc1
commit 9932e29
Showing
1 changed file
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,41 @@ | ||
# sgm | ||
# Semi-Global Matching on the GPU | ||
|
||
This is the implementation of [Embedded real-time stereo estimation via Semi-Global Matching on the GPU](http://www.sciencedirect.com/science/article/pii/S1877050916306561), [D. Hernandez-Juarez](http://www.cvc.uab.es/people/dhernandez/) et al, ICCS 2016. | ||
|
||
## How to compile and test | ||
|
||
Simply use CMake and target the output directory as "build". In command line this would be (from the project root folder): | ||
|
||
``` | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make | ||
``` | ||
|
||
## How to use it | ||
|
||
Type: `./sgm dir p1 p2` | ||
|
||
The arguments `p1` and `p2` are semi-global matching parameters, for more information read the SGM paper. | ||
|
||
`dir` is the name of the directory which needs this format: | ||
|
||
``` | ||
dir | ||
---- left (images taken from the left camera) | ||
---- right (right camera) | ||
---- disparities (results will be here) | ||
``` | ||
|
||
## Related Publications | ||
|
||
[Embedded real-time stereo estimation via Semi-Global Matching on the GPU](http://www.sciencedirect.com/science/article/pii/S1877050916306561) | ||
[D. Hernandez-Juarez](http://www.cvc.uab.es/people/dhernandez/), A. Chacón, A. Espinosa, D. Vázquez, J. C. Moure, and A. M. López | ||
ICCS2016 – International Conference on Computational Science 2016 | ||
|
||
## Requirements | ||
|
||
- OpenCV | ||
- CUDA | ||
- CMake |