Read-only mirror of https://github.com/ethz-asl/clubs_dataset_tools — ETHZ ASL. Issues & pull requests at the source.
  • Python 76.3%
  • MATLAB 23.4%
  • Shell 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2019-07-04 14:52:10 +02:00
images Updated readme image 2018-08-13 11:13:35 +02:00
matlab Renamed depth_scale_mm to depth_scale 2018-11-19 10:21:24 +01:00
python Minor improvements 2019-04-04 14:50:06 +02:00
.gitignore Separate depth registration and pointcloud generation, and update params 2018-09-11 11:23:55 +02:00
LICENSE Update LICENSE 2018-05-31 15:09:48 +02:00
README.md Update README.md 2018-11-22 17:14:49 +01:00
requirements.txt Addressed PR comments 2018-11-16 21:33:07 +01:00

CLUBS Dataset Tools

Welcome to the official CLUttered Box Scenes (CLUBS) dataset tools webpage. This repository contains tools for downloading and manipulating the dataset. More specifically, these tools include:

  • Download script for different parts of the dataset (coming soon)
  • Script for computing depth images from an IR stereo pair
  • Script for generating point clouds
  • Script for registering depth images to corresponding RGB images
  • Script for displaying label images in color
  • Camera calibration script

If you are using these tools, please cite our paper::

@inproceedings{to_appear, title={CLUBS - An RGB-D Dataset with Cluttered Box Scenes Containing Household Objects}, author={Novkovic, Tonci and Furrer, Fadri and Panjek, Marko and Grinvald, Margarita and Siegwart, Roland and Nieto, Juan}, booktitle = {to_appear}, year = {to_appear} }

Installation Instructions:

cd <your_preferred_directory> git clone https://github.com/ethz-asl/clubs_dataset_tools

To install all the python requirements run:

pip install -r requirements.txt

The only other requirement, is the hand_eye_calibration package within the https://github.com/ethz-asl/hand_eye_calibration repository. From this repository, only hand_eye_calibration package is necessary, hand_eye_calibration_batch_estimation, hand_eye_calibration_experiments and hand_eye_calibration_target_extractor packages can therefore be ignored (by adding CATKIN_IGNORE). This dependency is only required if running the hand-eye calibration part in the calibration script.

Calibration

Navigate to clubs_dataset_tools/matlab/calibration_tools/ folder. In order to run the calibration, all the data (images and poses) needs to be placed in the folder matlab/data.

alt text

Before starting the calibration, several parameters in the calibration_script.m file need to be set:

  • Since the IR images coming from the Primesense sensor are very dark, the target detector cannot detect any corners required for the calibration. Therefore, we increase the brightness of these images by this command.
increaseBrightnessOfIRImage = true;

NOTE: After the first execution you should set this parameter back to false otherwise it will increase the brightness of the IR images each time the calibration_script.m is run.

  • You need to specify your shell path, e.g.:
shellPath = '~/.bashrc';
  • You need to specify your catkin workspace devel/setup.bash file, e.g.:
handEyeCalibrationWorkspace = '~/catkin_ws/devel/setup.bash';
  • You need to specify the path to the hand_eye_calibration bin folder, e.g.:
handEyeCalibrationPath = '~/catkin_ws/src/hand_eye_calibration/hand_eye_calibration/bin';

Once these are set, calibration can be started by executing the calibration_script.m file.