• Stars
    star
    135
  • Rank 269,297 (Top 6 %)
  • Language
    C++
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Cylinder and Plane Extraction from Depth Cameras

CAPE

Cylinder and Plane Extraction from Depth Cameras

Implementation of the method proposed in:
P. Proenca and Y. Gao, Fast Cylinder and Plane Extraction from Depth Cameras for Visual Odometry, IROS, 2018 https://arxiv.org/abs/1803.02380

Note: The parameters are fine-tuned for detecting large surfaces with Kinect 1 and Structure sensor for VO. For other applications, these may need to be modified.

Dependencies

  • OpenCV
  • Eigen3

Data

RGBD Sequences w/ cylinders are available for testing: Here

Download a .zip file and unzip it into ./Data

Ubuntu Instructions

Tested with Ubuntu 14.04 & 16.04

To compile, inside the directory ./CAPE which contains the CmakeLists.txt, type:

mkdir build
cd build
cmake ..
make

To run the executable, use the following format:

./cape_offline <cell_size> <sequence_name>

where the first argument is the cell size in pixels (recommended 20) and the second argument is a folder stored in:./Data that contains the image and calibration files. For example, if the target sequence is the 'tunnel' (assuming this was downloaded as specified above),run:

./cape_offline 20 tunnel

Windows Instructions

Tested configuration: Windows 8.1 with Visual Studio 12

This version includes already a VC11 project. Just make the necessary changes to link the project with OpenCV and Eigen.