NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Five Shades of Grey for Fast and Reliable Camera Pose Estimation

Adam Herout, István Szentandrási, Michal Zachariás, Markéta Dubská, Rudolf KajanCVPR 2013

In the world of Augmented Reality (AR), precise camera pose estimation—knowing exactly where a camera is relative to the environment—is fundamental. While markerless tracking has advanced significantly, fiduciary markers (like square black-and-white tags) remain the gold standard for high-precision industrial applications. However, traditional binary markers often fail under real-world conditions such as motion blur, poor lighting, or partial occlusion.

Researchers from the Brno University of Technology have introduced Uniform Marker Fields (UMF), a greyscale marker system designed to overcome these limitations. By utilizing five shades of grey and a high-speed statistical detection algorithm, UMF provides a robust and significantly faster alternative to traditional binary systems.

The Greyscale "De Bruijn" Design

Traditional markers like ARTag or ALVAR rely on binary black-and-white patterns. UMF instead uses a grid of squares in five distinct shades of grey. This design leverages a mathematical construct known as a De Bruijn torus (or $n^2$-window array).

The UMF design uses greyscale gradients and a De Bruijn property to ensure every small window of the marker is unique, allowing for localization from fragments.

This property ensures that any small $n \times n$ window within the larger field is unique. Consequently, the system can determine the camera's exact position even if only a tiny fragment of the marker is visible. Furthermore, by focusing on the gradients between adjacent squares rather than absolute brightness, the system remains invariant to lighting changes and shadows.

A "Small Footprint" Detection Pipeline

To achieve real-time performance on mobile hardware, the authors developed a "lazy" detection algorithm that processes only about 5.3% of the image pixels. The pipeline consists of several key stages:

  • Sparse Scanlines: The algorithm uses a sparse grid of horizontal and vertical lines to detect edge elements ("edgels"), avoiding a full-frame scan.
  • Vanishing Point Geometry: Using RANSAC and hyperplane fitting, the system identifies the two dominant vanishing points of the grid, allowing it to reconstruct the perspective of the marker field even under distortion.
  • Statistical Edge Classification: To identify the specific shades of grey, the system employs Wald’s Sequential Probability Ratio Test (SPRT). This allows the detector to classify an edge by sampling only a few pixels across the boundary, stopping as soon as statistical certainty is reached.
  • Decision Trees: Local edge patterns are mapped to specific coordinates on the marker field using pre-computed decision trees for near-instant lookup.

Performance and Robustness

The UMF system was rigorously tested against industry standards like ALVAR and Random Dot Markers (RDM) using 1080p video sequences at 50 FPS. The tests included severe motion blur, perspective distortion, and significant occlusion from real-world objects.

The UMF system maintains accurate pose estimation and AR overlays even under heavy motion blur (right) and significant occlusion by physical objects (left).

The results highlight the system's efficiency and reliability:

  • Speed: On a 2013-era Intel i5, UMF processed 1080p frames in just 8.8 ms—over 3x faster than ALVAR (30.1 ms).
  • Reliability: UMF achieved a 97.8% success rate, outperforming ALVAR (97.1%) and significantly surpassing RDM (61.8%).
  • Occlusion Handling: The overlapping window property allows the system to maintain a stable coordinate frame even when large portions of the marker are covered by clutter, such as mugs or toys.

Conclusion

Uniform Marker Fields represent a significant step forward for fiduciary markers in AR. By moving from binary to greyscale and employing statistical sampling, the authors have created a system that is both faster and more resilient to environmental noise. While currently limited to planar surfaces, future work aims to adapt the algorithm for non-planar and deformable surfaces, potentially incorporating color to further increase information density.

Summary updated

BibTeX
@inproceedings{herout2013five,
  author = {Adam Herout and István Szentandrási and Michal Zachariás and Markéta Dubská and Rudolf Kajan},
  title = {{Five Shades of Grey for Fast and Reliable Camera Pose Estimation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2013},
  doi = {10.1109/cvpr.2013.182},
}
Figure