-
Notifications
You must be signed in to change notification settings - Fork 23
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
Showing
8 changed files
with
963 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
cmake_minimum_required(VERSION 2.8) | ||
|
||
find_package(OpenCV REQUIRED) | ||
find_package(OpenMP) | ||
|
||
include_directories(${OpenCV_INCLUDE_DIRS}) | ||
|
||
if (CMAKE_COMPILER_IS_GNUCXX) | ||
set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -O3") | ||
endif (CMAKE_COMPILER_IS_GNUCXX) | ||
|
||
if (OPENMP_FOUND) | ||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}") | ||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}") | ||
endif() | ||
|
||
file(GLOB srcs *.cpp *.h*) | ||
|
||
add_executable(stixelworld ${srcs}) | ||
target_link_libraries(stixelworld ${OpenCV_LIBS}) |
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# multilayer-stixel-world | ||
An implementation of multi-layered stixel computation | ||
|
||
==== | ||
|
||
![stixel-world]() | ||
|
||
## Description | ||
- An implementation of the Multi-Layered Stixel computation based on [1]. | ||
- Extracts the static Stixels from the input disparity map. | ||
- Not a dynamic Stixel. It means that tracking and estimating motion of each Stixel is not supported. | ||
|
||
## References | ||
- [1] [The Stixel World - A Compact Medium-level Representation for Efficiently Modeling Three-dimensional Environments](https://www.mydlt.de/david/page/publications.html) | ||
|
||
## Requirement | ||
- OpenCV | ||
- OpenMP (optional) | ||
|
||
## How to build | ||
``` | ||
$ git clone https://github.com/gishi523/multilayer-stixel-world.git | ||
$ cd multilayer-stixel-world | ||
$ mkdir build | ||
$ cd build | ||
$ cmake ../ | ||
$ make | ||
``` | ||
|
||
## How to use | ||
``` | ||
./stixelworld left-image-format right-image-format camera.xml | ||
``` | ||
- left-image-format | ||
- the left image sequence | ||
- right-image-format | ||
- the right image sequence | ||
- camera.xml | ||
- the camera intrinsic and extrinsic parameters | ||
|
||
### Example | ||
``` | ||
./stixelworld images/img_c0_%09d.pgm images/img_c1_%09d.pgm ../camera.xml | ||
``` | ||
|
||
### Data | ||
- I tested this work using the Daimler Ground Truth Stixel Dataset | ||
- http://www.6d-vision.com/ground-truth-stixel-dataset | ||
|
||
## Author | ||
gishi523 |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0"?> | ||
<opencv_storage> | ||
<FocalLengthX>1267.485352</FocalLengthX> | ||
<FocalLengthY>1224.548950</FocalLengthY> | ||
<CenterX>472.735474</CenterX> | ||
<CenterY>175.787781</CenterY> | ||
<BaseLine>0.214382</BaseLine> | ||
<Height>1.170000</Height> | ||
<Tilt>0.081276</Tilt> | ||
</opencv_storage> |
Oops, something went wrong.