git clone https://github.com/HustCK/RGBD-DSO.git
Install with
sudo apt-get install libsuitesparse-dev libboost-all-dev
Eigen 3.2.8, Follow Eigen Installation.
OpenCV 2.4.9, Follow OpenCV Installation.
Pangolin, Follow Pangolin Installation.
Install with
sudo apt-get install zlib1g-dev
cd dso/thirdparty
tar -zxvf libzip-1.1.1.tar.gz
cd libzip-1.1.1/
./configure
make
sudo make install
sudo cp lib/zipconf.h /usr/local/include/zipconf.h
cd RGBD-DSO
mkdir build
cd build
cmake ..
make -j4
Let's take TUM RGB-D as an example.
<sequence folder name>
|____________rgb
|____________depth
|____________associate.txt
If you are using other datasets, pleasr adjust the file directory and format as described above.
If you use the same datasets as in this article, run it directly with the following instructions:
bin/dso_dataset \
files=<sequence folder name> \
calib=<RGB-D DSO path>/calib/<dataset name>/calib.txt \
preset=0 \
mode=1
For more details on configuration parameters, see Direct Sparse Odometry.
This work is implemented based on Direct Sparse Odometry. Thanks to J. Engel et al., who open source such excellent code for community.