Gradient-SDF: A Semi-Implicit Surface Representation for 3D Reconstruction

Christiane Sommer, Lu Sang, David Schubert, Daniel Cremers

Abstract

Gradient-SDF is a hybrid 3D representation that stores both signed distance values and their gradient vectors within a sparse voxel grid. This "semi-implicit" approach enables high-speed camera tracking using single-voxel lookups and allows for photometric bundle adjustment directly on the implicit geometry, resulting in significantly sharper and more accurate 3D reconstructions.

Introduction: Bridging Explicit and Implicit Representations

In 3D computer vision, researchers typically choose between explicit representations (like point clouds or meshes) and implicit representations (like Signed Distance Fields or SDFs). Explicit models are well-suited for Bundle Adjustment (BA)—the joint optimization of camera poses and geometry—because surface points can be easily projected into images. However, they struggle with topological changes, such as closing loops or filling holes. Implicit models handle these changes and sensor noise gracefully but are computationally expensive to optimize.

Standard SDFs require trilinear interpolation, accessing eight neighboring voxels for a single sample. This becomes a significant bottleneck when using efficient sparse storage like hash maps. Gradient-SDF aims to bridge this gap, offering the topological flexibility of an SDF with the optimization efficiency of an explicit surfel model.

The Gradient-SDF Representation

The core innovation is the Gradient-SDF. Instead of storing only a distance value ($\psi$) and a weight ($W$) in each voxel, the authors also store a scaled gradient vector ($g$). This creates a "semi-implicit" model where each voxel contains enough local information to approximate the surface without querying its neighbors.

The Gradient-SDF representation stores both distance values (colors) and gradient vectors (arrows), enabling first-order Taylor interpolation.

By storing the gradient, the system can approximate the distance at any point near a voxel using a first-order Taylor expansion. This allows for a single-voxel lookup instead of the standard eight-voxel trilinear interpolation, drastically reducing the overhead of hash map lookups and making real-time CPU tracking viable.

Optimization and Tracking

Gradient-SDF leverages its unique structure for two primary tasks:

  1. Direct SDF Tracking: The Taylor expansion enables fast, direct camera tracking from depth images.
  2. Implicit Photometric Bundle Adjustment: By using the stored gradient to define a "virtual" surface point for every voxel, the authors formulate a photometric BA cost function. This allows for the simultaneous optimization of SDF geometry and camera poses to minimize the difference between reprojected pixel intensities.

This approach effectively allows a voxel to "act" like a surfel, enabling high-end refinement without the need to convert between voxels and point clouds. To handle large scenes, the authors also propose a "layered" Marching Cubes algorithm that processes the volume in 2D slices to manage memory demands.

Accuracy of Stored Gradients

A key insight of the paper is that a running average of gradients derived from input depth maps is significantly more accurate and less noisy than calculating gradients on-the-fly using finite differences from SDF values.

Quantitative comparison showing that stored gradients in Gradient-SDF are significantly more accurate than those computed via central differences.

Quantitative evaluation using synthetic data proves that stored gradients maintain lower error rates across various distances from the surface compared to central difference methods. This accuracy is fundamental to the success of the photometric BA phase, which aligns the 3D surface to image edges, resulting in sharper visual results than standard fusion methods.

Results and Conclusion

Experimental results demonstrate that Gradient-SDF achieves camera tracking speeds of 30–40 ms per frame on a CPU, a significant improvement over the 100–120 ms required for baseline sparse SDF trackers using trilinear interpolation. On the TUM RGB-D benchmark, the system achieved Absolute Trajectory Error (ATE) comparable to or better than state-of-the-art methods like KinFu and SDF-Fusion.

While storing a 3D vector increases the memory footprint per voxel, the use of a sparse hash map ensures the system remains 20x more memory-efficient than dense volumetric methods. Future work may involve parameterizing unit-norm gradients to further reduce memory usage or integrating Gradient-SDF into neural geometry representations like NeRFs.

Summary updated

BibTeX
@misc{sommer2021gradient,
  author = {Christiane Sommer and Lu Sang and David Schubert and Daniel Cremers},
  title = {{Gradient-SDF: A Semi-Implicit Surface Representation for 3D Reconstruction}},
  year = {2021},
  eprint = {2111.13652},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.13652},
}
Figure