Skip to main content
QUICK REVIEW

[Paper Review] On-the-Fly Adaptation of Regression Forests for Online Camera Relocalisation

Tommaso Cavallari, Stuart Golodetz|arXiv (Cornell University)|Feb 9, 2017
Robotics and Sensor-Based LocalizationEngineering38 references13 citations
TL;DR

This paper proposes an on-the-fly adaptation method for regression forests to enable real-time camera relocalisation in new scenes without offline training. By retaining the forest's tree structure and refilling scene-specific leaf nodes online using new scene data, the approach achieves relocalisation performance comparable to offline forests in under 150ms, enabling robust relocalisation from novel poses.

ABSTRACT

Camera relocalisation is an important problem in computer vision, with applications in simultaneous localisation and mapping, virtual/augmented reality and navigation. Common techniques either match the current image against keyframes with known poses coming from a tracker, or establish 2D-to-3D correspondences between keypoints in the current image and points in the scene in order to estimate the camera pose. Recently, regression forests have become a popular alternative to establish such correspondences. They achieve accurate results, but must be trained offline on the target scene, preventing relocalisation in new environments. In this paper, we show how to circumvent this limitation by adapting a pre-trained forest to a new scene on the fly. Our adapted forests achieve relocalisation performance that is on par with that of offline forests, and our approach runs in under 150ms, making it desirable for real-time systems that require online relocalisation.

Motivation & Objective

  • Address the limitation of regression forest-based camera relocalisation, which requires offline training on each new scene, making it impractical for online or real-time systems.
  • Enable accurate camera relocalisation in previously unseen environments by adapting a pre-trained forest online using only a few frames from the new scene.
  • Achieve relocalisation performance competitive with fully trained offline forests while maintaining real-time efficiency suitable for SLAM and AR/VR applications.
  • Overcome the poor generalisation of keyframe-based methods like random ferns, which fail to relocalise from novel poses not in the training trajectory.

Proposed method

  • Train a generic regression forest offline to predict 2D-to-3D correspondences for a wide range of scenes, preserving the tree structure and split parameters.
  • For online adaptation, remove scene-specific information from the forest’s leaf nodes while keeping the branching structure intact.
  • Refill the leaf nodes online using a small set of training examples (image and 3D point pairs) from the new scene, enabling the forest to predict scene-specific correspondences.
  • Feed the predicted 2D-to-3D correspondences into the Kabsch algorithm and RANSAC for robust camera pose estimation.
  • Use iterative refinement via ICP (Iterative Closest Point) to further improve pose accuracy after initial estimation.
  • Maintain real-time performance by leveraging efficient tree traversal and incremental leaf updates during online adaptation.

Experimental results

Research questions

  • RQ1Can a pre-trained regression forest be adapted online to a new scene without full retraining, enabling real-time relocalisation?
  • RQ2How well does the on-the-fly adapted forest perform compared to fully trained offline forests in terms of relocalisation accuracy?
  • RQ3Can the adapted forest relocalise from novel poses not seen during training, especially those far from the training trajectory?
  • RQ4What is the computational cost of online adaptation and relocalisation, and can it be made practical for real-time systems?

Key findings

  • The on-the-fly adapted regression forest achieves relocalisation performance on par with fully trained offline forests on the 7-Scenes benchmark.
  • The method successfully relocalises from novel poses significantly different from the training trajectory, with performance decay much slower than keyframe-based methods like random ferns.
  • The approach runs in under 150ms per relocalisation, making it practical for real-time systems such as SLAM and AR/VR.
  • With ICP refinement, the method improves pose accuracy, especially for challenging test poses, demonstrating robustness to pose novelty.
  • Online training takes 9.8ms per frame, and relocalisation takes 141ms, which is acceptable for real-time applications despite being slower than random ferns.
  • The method outperforms random ferns in relocalisation from novel poses, where the latter fails due to limited generalisation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.