TL;DR
This paper introduces CamPVG, the first diffusion model capable of generating high-quality panoramic videos with precise camera control. By novelly encoding panoramic camera poses using "panoramic Plücker embeddings" and enforcing geometric consistency with a "spherical epipolar module," CamPVG achieves unprecedented control over viewpoint transitions in 360-degree video generation.
What Problem Does This Paper Address?
The increasing demand for immersive experiences in VR and the metaverse has fueled interest in panoramic video content. While diffusion models have revolutionized video generation, controlling camera movement in panoramic videos remains a significant challenge. Existing methods often struggle with the complex geometric representations and spherical projections inherent to panoramas, leading to inconsistent viewpoints and distorted visuals. This paper aims to bridge this gap by enabling precise camera-controlled panoramic video generation that maintains geometric consistency across the entire 360-degree space.
Methods
CamPVG builds upon diffusion models for video generation but introduces two key innovations for panoramic control:
- Panoramic Plücker Embedding: Traditional Plücker embeddings, used to represent camera poses, are adapted for panoramic images. This involves projecting camera rays onto a spherical coordinate system and then deriving Plücker coordinates. This method captures panoramic geometry more effectively than standard approaches.
- Spherical Epipolar Module: This module enforces geometric consistency across different viewpoints. It calculates "spherical epipolar lines" (analogous to epipolar lines in perspective projection but adapted for spherical geometry) and uses them to create "epipolar masks." These masks guide an "epipolar attention" mechanism, ensuring that features from different views are aggregated in a geometrically coherent manner.
The framework integrates these components into a diffusion model's U-Net architecture, allowing the model to learn from camera trajectory information and generate spatially coherent panoramic videos.
Datasets
The authors created a panoramic video dataset by rendering sequences from the 3D-FRONT dataset. They generated camera trajectories and rendered cubemaps, which were then converted into equirectangular panoramas. This dataset consists of 5,616 scenes, with each sequence containing 40 frames at a resolution of 256x512. They also performed a user study using real-world panoramic images as conditional inputs to evaluate generalization.
Key Insights and Ideas
- Panoramic geometry is fundamentally different: Simply adapting perspective-based methods to panoramic data leads to significant limitations. A dedicated approach to encoding panoramic camera poses is crucial.
- Epipolar geometry is key for consistency: Extending epipolar constraints to the spherical domain is vital for ensuring geometric coherence in panoramic videos, especially during viewpoint transitions.
- Ablation studies highlight component importance: The panoramic Plücker embedding is foundational for global camera pose awareness, while the spherical epipolar module refines cross-view consistency. Randomly sampling conditional frames during training significantly improves robustness.
- Sampling density matters: There's an optimal number of sampling points for spherical epipolar lines (K=250 in their experiments) to balance capturing geometric details and avoiding noise from irrelevant correspondences.
Key Results
CamPVG demonstrates state-of-the-art performance across several metrics:
- Quantitative: It achieves superior scores in camera view consistency (higher PSNR, SSIM, and lower LPIPS) and overall video quality (lower FVD and FAED) compared to adapted baseline methods like MotionCtrl, CameraCtrl, and CamI2V. For instance, CamPVG achieved an LPIPS of 0.1480, SSIM of 0.6544, PSNR of 30.05, and FAED of 0.1066, outperforming baselines.
- Qualitative: Visual comparisons show that CamPVG generates more spatially coherent and visually realistic panoramic videos with accurate camera trajectory following. The qualitative results in Figure 5 and Figure 7 showcase the method's ability to maintain scene structure and detail even during complex camera movements.
- User Study: Human evaluators consistently preferred CamPVG's generated videos over baselines, rating them higher for camera consistency, conditional image consistency, and overall video quality, even when using real-world inputs.
Limitations and Future Work
- Limitations: The current method is limited by the availability of panoramic datasets with accurate camera pose annotations, particularly for complex outdoor environments. This restricts the generated videos primarily to static scenes.
- Future Work: The authors plan to incorporate dynamic-scene panoramic data to enhance motion realism and improve the framework's generalization capabilities.
Summary updated