Online, Target-Free LiDAR-Camera Extrinsic Calibration via Cross-Modal Mask Matching

Zhiwei Huang, Yikang Zhang, Qijun Chen, Rui Fan

TL;DR

This paper introduces MIAS-LCEC, a novel framework that leverages Large Vision Models (LVMs) to achieve robust, target-free extrinsic calibration between LiDAR and cameras. By treating calibration as a cross-modal mask matching problem, the system can automatically align sensors in real-time across diverse environments—from rainy nights to indoor garages—without needing checkerboards or manual intervention.

What Problem Does This Paper Address?

For autonomous vehicles and robots to "see" correctly, their sensors must be perfectly aligned. This spatial relationship is called extrinsic calibration. Traditionally, this is done offline using specific targets like checkerboards. However, in the real world, bumps, vibrations, or temperature changes can shift sensor positions, making offline calibration obsolete.

Existing "online" (target-free) methods try to match features like edges or points between the LiDAR’s 3D data and the camera’s 2D images. This is incredibly difficult because the data looks completely different (the "modality discrepancy"). Most current methods are brittle: they fail in low-texture areas, require specific objects like stop signs, or struggle when the sensors have very different fields of view (FoV).

Methods

The authors propose a "coarse-to-fine" pipeline called MIAS-LCEC (Multi-modal Image Alignment and Segmentation for LCEC). The core innovation is the Cross-Modal Mask Matching (C3M) algorithm.

  1. Virtual Camera Projection: To bridge the gap between 3D and 2D, they project LiDAR points into a 2D "LiDAR Intensity Projection" (LIP) image. They use an iterative strategy to refine a "virtual camera" pose so the LIP image eventually looks like it was taken from the actual camera's perspective.
  2. LVM-based Segmentation: They use MobileSAM (a lightweight version of Meta’s Segment Anything Model) to segment both the RGB camera image and the generated LIP image. Because SAM is a "foundation model," it can identify objects and shapes in both modalities without being specifically trained on LiDAR data.
  3. Two-Stage C3M:
    • Stage 1 (Sparse Matching): The algorithm matches large "instances" (masks) between the two images based on shape and position.
  4. Stage 2 (Dense Matching): It then calculates an affine transformation to align these masks and identifies specific corner points for high-precision matching.
  5. PnP Solver: These matched points are fed into a Perspective-n-Point (PnP) solver to calculate the final extrinsic matrix (rotation and translation).

Datasets

The authors released three new real-world datasets to the community:

  • MIAS-LCEC-TF70: 60 pairs of data from a Livox Mid-70 LiDAR across six scenarios (residential, freeway, indoor, rain, etc.).
  • MIAS-LCEC-TF360: 12 pairs using a Livox Mid-360 LiDAR, which has a super-wide field of view and very sparse point clouds, making it a "stress test" for calibration.
  • MIAS-LCEC-CB70: 15 pairs featuring checkerboards, used to compare the proposed method against traditional "gold standard" offline methods.

Key Insights and Ideas

  • LVMs as the Great Equalizer: The most striking insight is that Large Vision Models like SAM are robust enough to segment "noisy" LiDAR intensity images almost as well as clean RGB photos. This bypasses the need for hand-engineered features.
  • Iterative Refinement: By iteratively updating the virtual camera pose, the system "zooms in" on the correct calibration. The authors found that accuracy improves significantly over the first three iterations before stabilizing.
  • Handling FoV Mismatch: By formulating the problem as 2D-2D mask matching, the system naturally ignores LiDAR points that don't fall within the camera's view, a common failure point for other algorithms.

Key Results

MIAS-LCEC significantly outperformed state-of-the-art (SoTA) methods like CRLF and DVL:

  • Accuracy: On the TF70 dataset, it reduced rotation error by 30–93% and translation error by 39–99% compared to existing methods.
  • Robustness: It maintained high accuracy in "unstructured" environments (like parks) and adverse conditions (rainy nights) where edge-based or semantic-based methods typically fail.
  • Comparison to Offline: In tests against target-based methods (ACSC), MIAS-LCEC achieved comparable results (reprojection error < 2 pixels), proving that targets are no longer strictly necessary for high-precision calibration.

Limitations and Future Work

  • Computational Speed: The entire process takes between 15 to 70 seconds. While "online" in the sense that it happens in the field, it is not yet "real-time" (e.g., sub-second) for high-speed driving corrections.
  • Mask Dependency: The algorithm relies on the presence of distinguishable objects that create clear masks. In a completely featureless environment (like a flat desert or a blank-walled hallway), the matching might struggle.
  • Future Direction: The authors aim to optimize the real-time performance of the algorithm to allow for continuous, instantaneous calibration during high-speed maneuvers.

Summary updated

BibTeX
@article{huang2025online,
  author = {Zhiwei Huang and Yikang Zhang and Qijun Chen and Rui Fan},
  title = {{Online, Target-Free LiDAR-Camera Extrinsic Calibration via Cross-Modal Mask Matching}},
  journal = {IEEE Trans. Intell. Veh.},
  year = {2025},
  doi = {10.1109/tiv.2024.3456299},
}
Figure