E-Calib: A Fast, Robust and Accurate Calibration Toolbox for Event Cameras

Mohammed Salah, Abdulla Ayyad, Muhammad Humais, Daniel Gehrig, Abdelqader Abusafieh, Lakmal Seneviratne, Davide Scaramuzza, Yahya Zweiri · DOI

TL;DR

E-Calib is an open-source, direct event-driven calibration toolbox for event cameras that utilizes an asymmetric circle grid. By fitting spatiotemporal cylinders to raw event streams using an efficient reweighted least squares method, it achieves sub-pixel accuracy and high robustness to noise without requiring specialized blinking patterns or artifact-prone image reconstruction.

What Problem Does This Paper Address?

Event cameras sense changes in light intensity asynchronously per pixel, offering high dynamic range and sub-millisecond latency. However, because they do not output standard image frames, traditional calibration methods (like OpenCV's checkerboard detection) are completely unusable. For instance, standard checkerboard edges parallel to the camera's motion do not trigger events, leading to massive amounts of missing data.

Current workarounds either require expensive, hard-to-deploy blinking screens or rely on deep learning to reconstruct grayscale frames from events, which introduces artificial noise and artifacts. Direct event-based methods exist but often lack sub-pixel localization accuracy and struggle to separate the calibration target from background clutter. E-Calib bridges these gaps by providing a fast, accurate calibration tool that works directly on raw event data.

Methods

E-Calib introduces a multi-step pipeline that processes raw event streams directly to estimate camera intrinsics and lens distortion parameters:

  1. Resolution-Agnostic Spatiotemporal Clustering: Raw event coordinates and timestamps are normalized relative to the sensor resolution and time-step size. This allows a fixed search radius in Spatiotemporal DBSCAN (ST-DBSCAN) to reliably group events into clusters across different sensor models.
  2. Efficient Reweighted Least Squares (eRWLS): Because a moving circle creates a dense, slanted cylinder in 3D space-time (X, Y, Time), the authors fit cylinders to these event clusters. The eRWLS algorithm dynamically reweights residuals assuming a Gaussian distribution, heavily penalizing noisy outliers and extracting circle centers with sub-pixel accuracy.
  3. Modified Hierarchical Clustering: To isolate the calibration target from background noise, this step leverages the uniform geometric spacing and identical radii of the asymmetric circle grid to filter out chaotic background clusters.

The entire pipeline is illustrated in the block diagram below:

E-Calib Pipeline Overview

Datasets

The authors introduce ECam_ACircles, a comprehensive evaluation dataset containing calibration sequences across two different event camera models: the DAVIS346 ($346 \times 260$) and the high-resolution DVXplorer ($640 \times 480$).

The dataset includes:

  • Three asymmetric circle grid variants (different dimensions and diagonal spacings).
  • Varying illumination levels, ranging from a well-lit environment (93.21 Lux) down to a poorly-lit environment (8.72 Lux).
  • Three distinct camera trajectories (cone, square, spiral) at varying speeds.
  • Millimeter-accurate ground truth poses captured via an OptiTrack motion capture system.

Key Insights and Ideas

  • Motion Invariance of Circles: Circular targets ensure that events are fired regardless of the direction of camera motion, solving the "missed edge" problem inherent to checkerboards in event vision.
Fig. 2: Events generated for an event camera observing a) asymmetric circles pattern and b) checkerboard. Notice that the checkerboard edges parallel to camera motion do not fire events, while events for circular features are motion invariant.
  • Spatiotemporal Cylinders: Treating time as a third spatial dimension transforms the 2D circle tracking problem into a 3D cylinder-fitting problem, unlocking sub-pixel accuracy directly from raw, asynchronous data.
Spatiotemporal cylinders formed by circles over time
  • Robustness Through Reweighting: Standard ordinary least squares (OLS) fails when noisy events linger near the circle boundaries. By iteratively reweighting the residuals to converge toward a normal distribution, eRWLS successfully ignores these outliers.
Clustered events showing inliers and outliers

Key Results

  • Superior Accuracy: E-Calib achieves an exceptionally low mean reprojection error of 0.13–0.16 pixels for the DAVIS346 sensor, outperforming state-of-the-art frame-reconstruction methods (E2VID, FireNet) and direct optimization methods (Huang et al.).
  • Robustness to Low Light: Even in challenging 8.72 Lux environments where sensor noise drastically increases, E-Calib maintains a detection success rate above 80%.
  • High Speed: The average execution time per spatiotemporal window is roughly 0.06 seconds for the DAVIS346 and 0.09 seconds for the DVXplorer, demonstrating strong potential for online calibration without requiring heavy GPU resources.
  • Better Pose Estimation: It achieves a mean absolute translation error of under 1 cm (0.952 cm), significantly lower than competing methods which often drift due to sub-optimal lens distortion optimization.

Limitations and Future Work

  • Language and Optimization: The current implementation is written in Python and MATLAB; porting the pipeline to C++ would further optimize it for real-time, on-sensor applications.
  • Algorithmic Overhead: The eRWLS algorithm relies on an exponential fitting function, which could be replaced by a polynomial approximation to reduce computational overhead.
  • System Expansion: The authors plan to extend E-Calib to support stereo event camera setups and full extrinsic calibration within broader robotic systems.

Summary updated

BibTeX
@article{salah2023e,
  author = {Mohammed Salah and Abdulla Ayyad and Muhammad Humais and Daniel Gehrig and Abdelqader Abusafieh and Lakmal Seneviratne and Davide Scaramuzza and Yahya Zweiri},
  title = {{E-Calib: A Fast, Robust and Accurate Calibration Toolbox for Event Cameras}},
  journal = {IEEE Trans. Image Process.},
  year = {2023},
}
Figure