Parse geometry from a line: Monocular depth estimation with partial laser observation

Yiyi Liao, Lichao Huang, Yue Wang, Sarath Kodagoda, Yinan Yu, Yong Liu

This paper, published by researchers from Zhejiang University and Horizon Robotics, presents a clever "best of both worlds" approach to a classic robotics problem: how to see the 3D world accurately without breaking the bank on expensive sensors.

TL;DR

By combining a single 2D image with just one line of 2D laser data, researchers have developed a "Residual of Residual" neural network that dramatically improves depth estimation. This approach solves the "scale ambiguity" problem of monocular cameras using cheap, ubiquitous sensors already found on most mobile robots.

What Problem Does This Paper Address?

Estimating the 3D depth of a scene from a single 2D image (monocular depth estimation) is what computer scientists call an "ill-posed" problem. Without a second "eye" or a reference point, a small toy close to the lens can look identical to a giant building far away. This is known as scale ambiguity.

While high-end robots use expensive 3D LiDAR to solve this, many standard platforms (like the Pioneer or K5 security robots) only have a camera and a cheap 2D laser range finder. These 2D lasers only see a single horizontal "slice" of the world. The authors asked: Can we use that one thin line of laser data to "anchor" the rest of the image and reconstruct a full, accurate 3D map?

Methods

The authors propose a two-stage pipeline:

  1. Dense Reference Map Construction: Instead of feeding raw laser points into a network, they project the 2D laser scan into 3D space. Assuming the laser is roughly parallel to the ground, they create a virtual "vertical curtain" or surface based on these points and render it back into the camera's perspective. This creates a "reference depth map" that is dense but geometrically simple.
  2. Residual of Residual (RoR) Network: They use a modified ResNet-50 architecture. Standard ResNets learn "local residuals" (small changes between layers). The authors added a global identity skip connection (the "red line" in their diagrams) that passes the reference depth map directly to the end of the network.
  3. This forces the network to only learn the difference (the residual) between the simple "curtain" and the actual complex geometry of the room. They call this "sculpting" the depth from a reference, rather than creating it from scratch.
  4. Hybrid Loss: To train the model, they combined classification loss (grouping depths into 101 discrete "bins") with regression loss (fine-tuning the exact distance). This makes the model both robust to outliers and precise in its measurements.

Datasets

The team evaluated their method on two industry-standard benchmarks:

  • NYUD2: An indoor dataset of 464 scenes captured with a Microsoft Kinect. They simulated a 2D laser scan at a height of 80cm.
  • KITTI: An outdoor driving dataset. They took a single horizontal slice from a 64-line Velodyne LiDAR to simulate a basic 2D laser scanner.

Key Insights and Ideas

  • "Sculpting" vs. "Creating": The most powerful idea here is the shift in the learning objective. By providing a "rough draft" (the reference map), the neural network doesn't have to guess the global scale of the room; it only has to figure out how the objects in the image deviate from that reference line.
  • The Power of One Line: The results show that a single line of data provides enough "global context" to correct the scale of the entire image, even for pixels far away from where the laser actually hit.
  • Overcoming Sensor Weakness: 3D LiDARs often fail on reflective surfaces like car windows (the laser passes through or bounces away). Because this method uses the camera image to "fill in" the geometry, it provides a more reliable depth estimate for windows than the expensive sensors it’s trying to emulate.

Key Results

The addition of the 2D laser line led to massive performance gains over state-of-the-art monocular-only methods:

  • Accuracy Boost: On the NYUD2 dataset, their "Ours" model achieved an RMS error of 0.442, significantly beating the previous best monocular method (Laina et al. at 0.583).
  • Outdoor Performance: On the KITTI dataset, the improvement was even more stark. Their method achieved an RMS error of 4.500, compared to 7.156 for standard monocular approaches.
  • Obstacle Avoidance: The authors demonstrated that while a 2D laser might miss a table (because the laser passes under the tabletop), their fused method correctly identifies the table as an obstacle by using the image context.

Limitations and Future Work

  • Gravity Dependency: The current method relies on knowing the gravity direction to project the "vertical curtain." While most robots have IMUs (accelerometers) to provide this, it adds a layer of calibration.
  • Vertical Field of View: While the method is much better than a 2D laser alone, it still performs best near the height of the laser scan. The authors noted that adding a second laser line at a different height could further improve accuracy.
  • Dynamic Calibration: The paper assumes the transformation between the camera and laser is fixed and known. In "painless" real-world deployments, an auto-calibration feature would be a logical next step.

Summary updated

BibTeX
@inproceedings{liao2017parse,
  author = {Yiyi Liao and Lichao Huang and Yue Wang and Sarath Kodagoda and Yinan Yu and Yong Liu},
  title = {{Parse geometry from a line: Monocular depth estimation with partial laser observation}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2017},
  doi = {10.1109/icra.2017.7989590},
}
Figure