Abstract
This paper introduces an end-to-end convolutional neural network (CNN) architecture designed to estimate the relative pose—comprising both rotation and translation—between two camera views directly from RGB images. By utilizing a Siamese network structure and Spatial Pyramid Pooling (SPP), the authors demonstrate that deep learning can outperform traditional feature-matching methods like SURF and ORB, particularly in challenging scenarios involving textureless objects or extreme viewpoint changes.
Introduction
Estimating the relative pose between two cameras is a fundamental building block for computer vision tasks such as Structure from Motion (SfM), SLAM, and visual odometry. Traditionally, this is solved by detecting discrete "keypoints" (e.g., SIFT or SURF), matching them across images, and using geometry to calculate the transformation.
However, these hand-crafted methods often fail in real-world conditions where objects are textureless, structures are repetitive, or viewpoints change drastically. The authors propose a "dense" approach that leverages the global context of the image rather than sparse points, aiming to make pose estimation more robust to these nuisance factors.
Methods
The researchers designed a Siamese Network architecture consisting of two identical branches with shared weights. Each branch processes one image from the pair to extract high-level features. These features are then fed into a regression head that outputs a 7-dimensional vector representing a 4D quaternion (relative rotation) and a 3D vector (relative translation).
Key Innovations
- Spatial Pyramid Pooling (SPP): Standard CNNs require fixed-size inputs. The addition of an SPP layer allows the network to accept images of any resolution while maintaining spatial information by pooling features into multiple scales (e.g., 1x1, 2x2, 3x3, 6x6).
- Transfer Learning: The network was initialized with weights from a "Hybrid-CNN" trained on ImageNet and Places, then fine-tuned for pose regression.
- Multi-task Loss: A weighted Euclidean loss function was used to train rotation and translation simultaneously, balanced by a scale factor ($\beta$).
Experimental Setup
The model was trained on a massive crowd-sourced collection of landmark images containing roughly 581,000 pairs. For evaluation, the authors utilized the DTU Robot Image Dataset, which provides high-quality images captured by a precise industrial robot arm, offering extremely accurate ground truth.
Key Results and Insights
The authors compared their best model (cnn-spp) against traditional SURF and ORB baselines with the following findings:
- Orientation (Rotation): The CNN approach consistently outperformed SURF and ORB across the DTU dataset.
- Translation: While slightly less accurate than traditional methods in feature-rich scenes, the CNN was much more reliable in "hard" cases (textureless or reflective surfaces) where traditional methods often failed entirely.
- Feature Map Resolution: Removing the final max-pooling layer to keep a 13x13 feature map significantly improved results, suggesting that pose estimation requires finer spatial detail than image classification.
- Robustness: The CNN approach proved more reliable for smooth or featureless surfaces where traditional matchers find zero correspondences.
Limitations and Future Work
Despite its strengths, the network still struggles to match the precision of geometric methods for translation in ideal conditions, and recovering absolute scale remains difficult. The authors suggest a future coarse-to-fine approach: using a CNN for an initial pose estimate, followed by a specialized network or geometric refinement to tighten the result.
Summary updated