Abstract
StabStitch++ is a real-time, unsupervised video stitching framework designed to eliminate "warping shake"—the jitter introduced when stitching consecutive video frames independently. By projecting input videos onto a virtual midplane and smoothing spatiotemporal stitching trajectories in an online fashion, the framework achieves high-quality spatial alignment and temporal stability. StabStitch++ operates at real-time speeds (~35ms per frame), vastly outperforming traditional offline methods that require extensive processing time.
Introduction
Standard image stitching algorithms, when applied frame-by-frame to overlapping video sequences, often produce outputs plagued by warping shake. Even with stable input footage, the mathematical instability of calculating spatial warps for every frame causes the stitched content to jitter.
Existing video stitching solutions typically rely on complex, offline optimization to jointly stabilize and stitch footage. These methods are slow, often taking hours for short clips, and are fragile in low-texture environments. StabStitch++ addresses these issues by providing a robust, real-time solution that can stitch and stabilize videos online as they are captured.
Methodology
The StabStitch++ framework consists of three core components designed for unsupervised learning:
1. Bidirectional Spatial Warp
To avoid the projective distortion inherent in warping one image to another, StabStitch++ uses a differentiable bidirectional decomposition module. It calculates global homography and local Thin-Plate Spline (TPS) transformations to find a virtual middle plane. Both input images are warped halfway to meet at this midplane, which evenly distributes distortion and reduces "invalid" black areas in the panorama.
2. Temporal Warp & Stitching Trajectories
The network estimates temporal motion between consecutive frames. By mathematically chaining these temporal warps with spatial warps, the system defines "stitching trajectories" that track the movement of mesh control points over time.
3. Online Warp Smoothing
To eliminate jitter, a lightweight 3D CNN processes a sliding window of recent trajectories (e.g., 7 frames) to predict smoothing increments. This allows for online operation with minimal latency (1 frame). The model is trained using a hybrid loss function that balances data fidelity, trajectory smoothness, shape preservation, and online alignment.
Experimental Evaluation
The authors introduced the StabStitch-D dataset, containing over 100 video pairs (100,000+ images) across various challenging scenarios: Regular (RE), Low-Texture (LT), Low-Light (LL), and Fast-Moving (FM).
Key Results
- Real-Time Performance: StabStitch++ achieves an inference speed of 35.3ms per frame on an RTX 4090Ti. In contrast, traditional offline methods can take over 40 minutes for a 26-second video.
- Superior Quality: The method quantitatively outperforms state-of-the-art image (UDIS++) and video stitching baselines in terms of PSNR, SSIM, and stability metrics.
- Robustness: User studies indicate a strong preference for StabStitch++, particularly in low-light or low-texture scenarios where traditional feature-based methods often fail.
Conclusion
StabStitch++ demonstrates that high-quality, stable video stitching can be achieved in real-time without the need for offline optimization. By focusing on the stability of the stitching trajectory itself rather than just camera motion, it solves the "warping shake" problem effectively. Future work will explore improving alignment in feature-sparse environments and maintaining precision for ultra-high-resolution (4K+) video processing.
Summary updated