Read-only mirror of https://github.com/ethz-asl/rgbd_segmentation — ETHZ ASL. Issues & pull requests at the source.
  • C++ 90%
  • C 8.1%
  • CMake 1.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Margarita Grinvald daafa0276d
Update README.md
2021-10-19 10:59:48 +02:00
config Initial commit for TSDF++ 2021-05-16 20:15:00 +02:00
include/rgbd_segmentation Initial commit for TSDF++ 2021-05-16 20:15:00 +02:00
launch Initial commit for TSDF++ 2021-05-16 20:15:00 +02:00
src Initial commit for TSDF++ 2021-05-16 20:15:00 +02:00
CMakeLists.txt Initial commit for TSDF++ 2021-05-16 20:15:00 +02:00
LICENSE Create LICENSE 2021-05-16 20:19:42 +02:00
package.xml Initial commit for TSDF++ 2021-05-16 20:15:00 +02:00
README.md Update README.md 2021-10-19 10:59:48 +02:00
rgbd_segmentation_https.rosinstall Fix rosinstall 2021-05-17 13:37:11 +02:00
rgbd_segmentation_ssh.rosinstall Fix rosinstall 2021-05-17 13:37:11 +02:00

ROS package for RGB-D segmentation

This package implements geometric-semantic segmentation of input RGB-D sequences. Incoming RGB frames are processed with Mask R-CNN to detect and recognize object instances and predict for each a segmentation mask. Corresponding depth frames are processed with a geometric segmentation approach which clusters 3D points via a region growing strategy. The two segmentation results are combined by matching the extracted clusters to the predicted segmentation masks via a 2D overlap measure.

The code has been developed as part of the TSDF++ framework for multiple dynamic object tracking and reconstruction.

Citing

When using this code in your research, please cite the following publication:

Margarita Grinvald, Federico Tombari, Roland Siegwart, and Juan Nieto, TSDF++: A Multi-Object Formulation for Dynamic Object Tracking and Reconstruction, in 2021 IEEE International Conference on Robotics and Automation (ICRA), 2021. Paper[Video]

@INPROCEEDINGS{grinvald2021tsdf,
  author={Grinvald, Margarita and Tombari, Federico and Siegwart, Roland and Nieto, Juan},
  booktitle={2021 IEEE International Conference on Robotics and Automation (ICRA)}, 
  title={{TSDF++: A Multi-Object Formulation for Dynamic Object Tracking and Reconstruction}}, 
  year={2021},
  volume={},
  number={},
  pages={14192-14198},
  doi={10.1109/ICRA48506.2021.9560923}}

Installation

The installation has been tested on Ubuntu 16.04 and Ubutnu 20.04.

Requirements

Install dependencies

Install ROS following the instructions at the ROS installation page. The full install (ros-kinetic-desktop-full, ros-melodic-desktop-full) are recommended.

Make sure to source your ROS setup.bash script by following the instructions on the ROS installation page.

Installation on Ubuntu

In your terminal, define the installed ROS version and name of the catkin workspace to use:

export ROS_VERSION=kinetic # (Ubuntu 16.04: kinetic, Ubuntu 18.04: melodic)
export CATKIN_WS=~/catkin_ws

If you don't have a catkin workspace yet, create a new one:

mkdir -p $CATKIN_WS/src && cd $CATKIN_WS
catkin init
catkin config --extend /opt/ros/$ROS_VERSION --merge-devel 
catkin config --cmake-args -DCMAKE_CXX_STANDARD=14 -DCMAKE_BUILD_TYPE=Release
wstool init src

Clone the rgbd_segmentation repository over HTTPS (no Github account required) and automatically fetch dependencies:

cd $CATKIN_WS/src
git clone https://github.com/ethz-asl/rgbd_segmentation.git
wstool merge -t . rgbd_segmentation/rgbd_segmentation_https.rosinstall
wstool update

Alternatively, clone over SSH (Github account required):

cd $CATKIN_WS/src
git clone git@github.com:ethz-asl/rgbd_segmentation.git
wstool merge -t . rgbd_segmentation/rgbd_segmentation_ssh.rosinstall
wstool update

Build and source the fetched packages:

catkin build
source ../devel/setup.bash # (bash shell: ../devel/setup.bash,  zsh shell: ../devel/setup.zsh)

License

The code is available under the MIT license.