Active Structure-from-Motion for 3D Straight Lines

André Mateus, Omar Tahri, Pedro Miraldo

Abstract: A reliable estimation of 3D parameters is a must for several applications like planning and control. Included in the latter is the Image-Based Visual Servoing, whose control scheme depends directly on 3D parameters e.g. depth of points, and depth and direction of 3D straight lines. Recently a framework for Active Structure-from-Motion was proposed, addressing the former feature type. However, straight lines were not addressed. These are 1D objects, which allow for more robust detection and tracking. In this work, the problem of Active Structure-from-Motion for 3D straight lines is addressed. An explicit representation of this type of feature is presented, and a change of variables is proposed, which allows the dynamics of the line to respect the conditions for observability of the framework. The approach is validated first in simulation for a single line, and second using a real robot. The latter set of experiments are conducted first for a single line, and then for three lines, which is the minimum required number of lines to control a 6 degree of freedom camera.

Introduction

In robotics, "seeing" the world in 3D is essential for tasks like navigation and object manipulation. While many systems use 3D points, straight lines are often superior features because they are easier to detect in man-made environments (using tools like the Hough Transform) and are more robust to track over time.

However, estimating the 3D parameters of a line from a moving camera—a process known as Structure-from-Motion (SfM)—is mathematically challenging. Most existing "Active Vision" methods focus on points. Applying this to lines is difficult because the relationship between the camera's motion and the line's appearance is non-linear, and mathematical "observability" (the ability to figure out the 3D state from 2D data) is not always guaranteed.

Methodology

The authors tackle these challenges through three key technical contributions:

  1. Binormalized Plücker Coordinates: Instead of standard 3D coordinates, lines are represented using a "binormalized" version of Plücker coordinates. This separates the line into a direction vector ($d$), a projection in the image ($h$), and a depth value ($l$).
  2. Linearizing the Dynamics: To make the estimation stable, a change of variables $\chi = d/l$ is introduced. This transformation allows the unknown 3D parameters to appear linearly in the system's equations, which is a requirement for the state observers used in Active SfM.
  3. Solving Rank Deficiency: The authors exploited the orthogonality constraint of Plücker coordinates (the fact that a line's direction is always perpendicular to its moment) to resolve the natural rank deficiency of the observation matrix. This ensures the system is fully observable.
  4. Active Control Law: A control law moves the camera to maximize "information gain" by regulating the eigenvalues of the estimation matrix. Simultaneously, the camera's angular velocity is used to keep the line relatively static in the image ($\dot{h} \approx 0$), simplifying the estimation process.

Experimental Setup

The approach was validated using MATLAB simulations and a real-world robotic platform.

Real-world experimental setup showing line tracking on a chessboard pattern.

The real-world setup featured an omnidirectional mobile robot equipped with a Pointgrey Flea3 camera. A chessboard pattern was used to establish ground truth, while the ViSP (Visual Servoing Platform) library handled real-time line tracking.

Key Results

The framework demonstrated high accuracy and rapid convergence across all tests:

  • Simulation: The estimator achieved convergence in approximately 1 second, with a total error in Plücker coordinates of only 0.0019.
  • Real-World (Single Line): Despite sensor noise, the system converged in about 3 seconds with an error of 0.0067.
  • Real-World (Multiple Lines): The system successfully estimated three lines simultaneously with errors ranging from 0.01 to 0.03, proving the framework scales to complex scenes.
State estimation error over time, showing rapid convergence to zero.

The control law successfully kept the camera's velocity norm constant, ensuring efficient robot movement without jerky trajectories.

Conclusion and Future Work

This research provides an explicit representation for 3D lines that bridges the gap between 2D pixels and 3D space. While the current experiments were limited by the degrees of freedom of the ground robot, future work aims to integrate algebraic constraints more deeply into the estimation filter and plug the estimator directly into an Image-Based Visual Servoing (IBVS) control loop for fully autonomous navigation.

Summary updated

BibTeX
@inproceedings{mateus2018active,
  author = {André Mateus and Omar Tahri and Pedro Miraldo},
  title = {{Active Structure-from-Motion for 3D Straight Lines}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=Y-O9iNmKnLh},
}
Figure