Learning Geodesic-Aware Local Features from RGB-D Images

Guilherme Potje, Renato Martins, Felipe Cadar, Erickson R. NascimentoarXiv 2022 · DOI

TL;DR

This paper introduces two new RGB-D local descriptors, GeoBit and GeoPatch, designed to remain invariant under non-rigid, isometric (length-preserving) surface deformations like the bending of cloth or paper. By leveraging depth data to compute local surface geodesics, the proposed methods rectify distorted image patches into an invariant representation, significantly outperforming state-of-the-art descriptors in matching accuracy and tracking stability.

What Problem Does This Paper Address?

Most classic local feature descriptors (like SIFT or ORB) and modern deep-learning-based alternatives (like HardNet or TFeat) assume the world is rigid. They handle affine transformations—such as scale changes, rotations, and perspective shifts—reasonably well. However, when faced with non-rigidly deforming surfaces (e.g., a crumpled shirt, a bending piece of paper, or a flexing plastic bag), their performance plummets.

While RGB-D sensors provide valuable 3D geometric cues, existing multimodal descriptors typically treat the underlying geometry as rigid. This paper addresses the challenge of extracting local features from RGB-D images that are explicitly invariant to isometric non-rigid deformations, ensuring reliable feature matching even when an object is severely bent or folded.

Fig. 2: RGB-D patch rectified by the geodesic mapping function f. The deformation is represented by the color changes in the surface normals from the depth (normal vectors orientations are encoded by color). The image intensity is sampled from a geodesic polar grid extracted from the mesh. The resulting intensities and gradients of the sampled geodesic patch maintains features of the original texture.

Methods

The core innovation lies in "undoing" surface deformation before extracting features. The authors achieve this through a two-step pipeline:

  1. Geodesic Patch Rectification: Instead of sampling pixels in a standard square Cartesian grid, the authors model the depth data as a 2D manifold and use a geodesic walking strategy. Starting from a keypoint, they cast rays along the surface mesh to sample points that are geodesically equidistant. Because geodesic distances are intrinsic properties that do not change when a surface bends without stretching, this polar sampling strategy effectively "flattens" the deformed local patch back into its canonical state.
  2. Feature Description: The authors propose two complementary strategies to describe these rectified patches:
  3. GeoBit (Handcrafted): An efficient binary descriptor that performs pairwise intensity comparison tests across the geodesic polar grid. To handle rotation, it evaluates 16 uniformly rotated candidate patterns and selects the best match via Hamming distance.
  4. GeoPatch (Learned): A shallow Convolutional Neural Network (CNN) trained using a triple siamese architecture and a margin ranking loss.

To achieve rotation invariance without explicit orientation estimation, GeoPatch cleverly leverages the properties of polar coordinates: a rotation in image space corresponds to a simple horizontal shift in a polar grid. By applying circular padding and max-pooling along the angular axis, the network naturally becomes rotation-invariant.

Fig. 5: Triple siamese architecture of GeoPatch descriptor. During the train- ing, we fed a siamese ConvNet with the patch triplets (a, p, n). The margin ranking loss is computed and the errors are back-propagated. After the training stage, one branch is used to extract a 128-dimensional descriptor df .

Datasets

To train and evaluate their methods, the authors utilized three main datasets:

  • A New Deformable RGB-D Benchmark: The authors introduced a dataset featuring 11 real-world deformable objects (cloth, shirts, bags, paintings) captured via Kinect v1 and v2. Ground-truth correspondences were established using manual annotations and a high-precision OptiTrack motion capture system.
  • Synthetic Dataset: A large-scale physics simulation of cloth deformation built in OpenGL to generate thousands of diverse RGB-D images with perfect ground-truth correspondences for training the GeoPatch network.
  • DeSurT Dataset: An existing public benchmark containing challenging, textureless, and repetitive deforming surfaces.
Fig. 6: Examples of real-world and simulated (sim.) data in our dataset. The objects are subjected to deformations while frames are acquired with an RGB-D camera. For each object, we provide ground-truth keypoint correspon- dences that can be used to evaluate the performance of local descriptors.

Key Insights and Ideas

  • Intrinsic Geometry is Key: Deformations look chaotic in 2D pixel space, but in the intrinsic geometry of the surface (geodesic space), length-preserving deformations disappear. Rectifying patches based on geodesic distance strips away the deformation artifact entirely.
  • Exploiting Polar Equivariance: Transforming the patch into a polar geodesic grid changes the complex problem of 2D rotation into a 1D translation problem. This allows standard CNN operations (like max-pooling) to handle rotation invariance elegantly.
  • Local vs. Global Geodesics: Rather than using computationally heavy global methods like Heatflow to compute geodesics across the entire mesh, the authors' local "geodesic walking" approach restricts computation to the keypoint's immediate neighborhood, making the pipeline practical for real-time applications.

Key Results

  • Matching Accuracy: GeoPatch and GeoBit consistently outperformed state-of-the-art descriptors (including DaLI, BRAND, SIFT, and Log-Polar) across all datasets. GeoPatch achieved the highest overall mean matching score (0.33 vs. DaLI's 0.24).
  • Speedup: The proposed local geodesic walking strategy achieved a ~60x speedup over the traditional global Heatflow method, allowing the pipeline to run at nearly 2 frames per second for 250 keypoints on a standard desktop CPU.
  • Robustness: In rotation and scale stress tests, the learning-based GeoPatch demonstrated the lowest variance and highest stability, proving highly effective for downstream tasks like object retrieval and non-rigid surface tracking.

Limitations and Future Work

The primary limitation of this approach is its strict dependency on depth data. If the depth map is unavailable, highly incomplete, or excessively noisy, the geodesic walking strategy degrades. Additionally, extreme surface deformations can hit the physical limits of the camera sensor, causing severe self-occlusions and sampling artifacts that interpolation cannot fully resolve.

For future work, the authors point toward leveraging rapid advancements in monocular depth estimation, which could eventually allow these geodesic-aware descriptors to run directly on standard monocular RGB video streams.

Summary updated

BibTeX
@misc{potje2022learning,
  author = {Guilherme Potje and Renato Martins and Felipe Cadar and Erickson R. Nascimento},
  title = {{Learning Geodesic-Aware Local Features from RGB-D Images}},
  year = {2022},
  eprint = {2203.12016},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.12016},
}
Figure