Rigidity Preserving Image Transformations and Equivariance in Perspective

Lucas Brynte, Georg Bökman, Axel Flinth, Fredrik Kahl

TL;DR

This paper reveals a fundamental mismatch between the "translation equivariance" of standard CNNs and the actual geometry of 3D perspective images. The authors prove that only rotational homographies (not 2D translations) truly preserve the rigidity of a scene, and they introduce a novel "Pitch-Yaw" (PY) warping and data augmentation strategy to bake this geometric reality into neural networks, significantly boosting performance in 3D tasks like 6D pose estimation.

What Problem Does This Paper Address?

Most Convolutional Neural Networks (CNNs) are built on the inductive bias of translation equivariance. This means if an object moves 10 pixels to the right in an image, the network's internal features move 10 pixels to the right as well. While this is perfect for 2D tasks like "is there a cat in this photo?", it fails for 3D inference.

In a pinhole camera, if you move the camera (a rigid motion), the resulting change in the image is almost never a simple 2D translation. Perspective effects cause objects to distort, scale, and warp depending on their position relative to the optical axis. The authors argue that by forcing networks to be equivariant to translations, we are giving them the wrong "rules of physics" for understanding the 3D world.

Methods

The authors tackle this by characterizing a class of "rigidity preserving" transformations. They mathematically prove that if the depth of a scene is unknown, the only image transformations that correspond to valid rigid camera motions are rotational homographies (rotations of the camera around its center).

To integrate this into deep learning, they propose two approaches:

  1. The PY-Transformation (Pitch-Yaw): A novel image warping technique. By resampling the image using an azimuthal equidistant map projection, they create a "PY-domain." In this domain, rotations around the camera's X and Y axes (pitch and yaw) behave more like translations, allowing standard CNNs to handle them more naturally.
  2. Rotational Homography Augmentation (RH-aug): Instead of standard random cropping or shifting, they use the precise math of rotational homographies to warp training images. This simulates realistic camera rotations, providing the network with geometrically sound training samples.

Datasets

The researchers evaluated their methods across several standard benchmarks for 3D vision:

  • LINEMOD & Occlusion LINEMOD: The gold standard for 6D object pose estimation (predicting an object's 3D location and orientation).
  • 7-Scenes: Used for visual localization experiments with the DSAC* Tiny architecture.
  • CMU Seasons: A challenging dataset for visual localization involving varying weather and seasonal conditions, used to test the Pixloc model.

Key Insights and Ideas

  • The "Sweet Area": The authors demonstrate that their PY-group approximation has a "sweet area" (a region of minimal distortion) that follows a great circle on the sphere. In contrast, standard translations only have a "sweet spot" at a single point, making them much poorer approximations of 3D reality.
  • Equivariance as a Regularizer: A major "aha moment" occurs in the limited data study. The researchers found that the performance boost from PY-equivariance actually increases as the amount of training data decreases. This suggests that proper geometric equivariance acts as a powerful inductive bias that prevents overfitting when data is scarce.
  • Depth Matters: The paper highlights that if you don't know the depth of a scene, you cannot unambiguously simulate camera translation. You can, however, perfectly simulate camera rotation. This is why they focus on rotational homographies as the fundamental building block for 3D-aware image transformations.

Key Results

The proposed methods were tested on top of EfficientPose, a competitive baseline for 6D pose estimation.

  • Occlusion LINEMOD: The RH-augmentation improved the baseline score from 77.44% to 85.20% (using the ADD(-S)-0.1d metric).
  • Low-Data Performance: In experiments where training data was artificially limited to just 20–130 images, the PY-equivariant models consistently and significantly outperformed standard CNNs.
  • LINEMOD: The authors achieved a median score of 97.43%, outperforming several other specialized 3D coordinate and voting-based methods.

Limitations and Future Work

  • Field of View (FOV): The benefits of this approach are most pronounced for cameras with a wide field of view. For narrow-angle lenses, standard 2D translation is often a "good enough" approximation of camera motion near the center of the image.
  • Distortion at the Poles: While the PY-transformation is better than perspective projection in many ways, it still introduces its own distortions far from the projection center (the "north pole").
  • Generalization: While they focused on the azimuthal equidistant projection, the authors note that other map projections (like those used in cartography) might offer different advantages for specific camera setups, leaving a wide door open for future resampling research.

Summary updated

BibTeX
@inproceedings{brynte2023rigidity,
  author = {Lucas Brynte and Georg Bökman and Axel Flinth and Fredrik Kahl},
  title = {{Rigidity Preserving Image Transformations and Equivariance in Perspective}},
  booktitle = {SCIA},
  year = {2023},
  doi = {10.1007/978-3-031-31438-4\_5},
}
Figure