Files
rtabmap/archive/2022-IlluminationInvariant

Multi-Session Visual SLAM for Illumination Invariant Re-Localization in Indoor Environments

Description

This folder contains scripts to re-generate results from the paper. The main idea behind this work is that using Multi-Session mapping can help to localize visually in illumination changing environments even with features that are not very robust to such conditions. We compared common hand-made visual features like SIFT, SURF, BRIEF, BRISK, FREAK, DAISY, KAZE with learned descriptor SuperPoint. The following picture show how robust are the visual features tested when localizing against single session recorded at different time. For example, the bottom-left and top-right cells are when the robot tries to localize the night on a map taken the day or vice-versa. The diagonal is localization performance when the localization session is about the same time than when the map was recorded. SuperPoint has clearly an advantage on this single-session experiment.

All sessions

The following image shows when we do the same localization experiment at different hours, but against maps created by assembling maps taken at different hours. In this case, we can see that even binary features like BRIEF can work relatively well in illumination-variant environments. See the paper for more detailled results and comments. The line 1+2+3+4+5+6 refers to the assembled map shown below containing all mapping sessions linked together in same database.

All sessions

All sessions

Dataset

We provide two formats: the first one is more general and the second one is used to produce the results in this paper with RTAB-Map. Please open issue if the links are outdated.

  • Images:
    • rgb: folder containing *.jpg color camera images
    • depth: folder containing *.png 16bits mm depth images
    • calib: folder containing calibration for each color image. Each calibration contains also the transform between device and camera frames as local_transform.
    • device_poses.txt: poses of of each image in device frame
    • camera_poses.txt: poses of of each image in camera frame
  • RTAB-Map Databases

How reproduce results shown in the paper

  1. RTAB-Map should be built from source with those dependencies (don't need to "install" it, we will launch it from build directory in the scripts below to avoid conflicting with another rtabmap already installed):

  2. Download database version of the dataset and extract the databases in the script directory.

  3. Adjust the path inside rtabmap_latest.sh script to match where you just built rtabmap with right dependencies.

  4. Run run_all.sh OUTPUT_PATH, this script will do the following steps (warning, this could take hours to do...):

    • Recreate the map databases for each feature type
    • Create the merged databases
    • Run localization databases over all map/merged databases
    • Run consecutive localization experiment
  5. Export statistics with export_stats.sh script.

  6. Use the MatLab/Octave scripts in this folder to show results you want. Set dataDir to directory containing the exported statistics.