Abstract
Training deep learning models for image stitching typically requires ground-truth panoramic images, which are nearly impossible to capture in dynamic real-world environments. This paper introduces a Weakly-Supervised Stitching Network (WSSN) that utilizes interleaved camera views from a multi-lens rig as supervision. By leveraging hardware-software co-design, the framework learns high-quality 360° stitching and color correction without the need for "gold standard" labels. Our approach significantly reduces ghosting artifacts and color inconsistencies compared to traditional and commercial baselines.
Introduction: The Ground Truth Gap
Traditional image stitching techniques, such as those based on SIFT and RANSAC, frequently fail in scenarios with low-overlap areas, repetitive patterns, or significant parallax. While deep learning models can potentially address these issues, they face a significant "Ground Truth Gap." Creating perfectly stitched outputs for real-world training is a circular problem: if perfect stitching were already possible, the model would be redundant. Consequently, researchers often rely on synthetic data or "pseudo-ground truth" generated by existing algorithms, both of which limit model performance in real-world applications.
Proposed Methodology
The authors propose the Weakly-Supervised Stitching Network (WSSN), which circumvents the need for external ground truth through a clever interleaved supervision strategy.
Interleaved Weak Supervision
The system utilizes a professional VR camera (Kandao Obsidian R) equipped with six lenses. Three lenses (positioned at 0°, 120°, and 240°) serve as the primary inputs, while the remaining three (at 60°, 180°, and 300°) provide weak supervision. Since the supervision images overlap with the boundaries of the input images, the network learns to align the inputs to match the perspective of these reference views.
Network Architecture
The WSSN architecture consists of three main modules:
- Encoder: Extracts shared features from the fisheye inputs.
- Regressor: Estimates global affine transformation matrices to handle coarse alignment (global homography).
- Decoder: Generates four critical components: a pre-color correction map, a local adjustment map (to resolve parallax errors), weight maps for blending, and a post-color correction map.
Dual-Stage Color Correction and Loss Functions
To address exposure and white balance variations across sensors, the model applies color correction both before warping and after blending. The training process employs Perceptual Loss (using VGG16 feature maps) and SSIM Loss to ensure structural and tonal consistency, rather than standard pixel-wise loss which is sensitive to parallax.
Datasets and Evaluation
The study introduces a large-scale Real-World Dataset comprising 47,063 image sets captured with the Kandao Obsidian R. The model was also validated on the CROSS Dataset, an existing benchmark for omnidirectional images.
Key Results
- Quantitative Performance: The WSSN achieved a Perceptual Distance ($P_d$) of 2.731, outperforming traditional methods like APAP (6.498) and commercial solutions like Kandao Studio (5.308).
- Efficiency: The network processes a set of images in approximately 0.036 seconds on a GPU, making it significantly faster than APAP (8.5s) or LLC (16.5s).
- Qualitative Quality: Visual results demonstrate fewer ghosting artifacts in high-parallax regions and smoother color transitions across seam lines.
Conclusion and Future Work
The WSSN framework provides a robust solution for real-world panoramic stitching by turning hardware constraints into a supervisory signal. While highly effective for static setups, future work will focus on extending the model to handle "view-free" stitching with arbitrary camera placements and improving temporal consistency for video applications.
Summary updated