TL;DR
This paper introduces PanoDiff, a novel framework for generating high-quality 360-degree panoramas from a few unregistered Narrow Field-of-View (NFoV) images and text prompts. It addresses limitations in existing methods by enabling flexible input configurations and offering fine-grained control over the generated panoramas, making them suitable for applications like content editing and 3D asset lighting.
What Problem Does This Paper Address?
Creating 360-degree panoramas, essential for applications like environmental lighting in computer graphics, VR/AR, and autonomous driving, is often a complex and costly process. It typically requires specialized equipment and significant human effort for capturing and stitching images. Existing generative methods for synthesizing panoramas from single NFoV images are limited by their inability to handle varying input patterns, achieve high generation quality, and offer sufficient controllability. Specifically, most prior work relies on single input regions and GAN-based approaches, which struggle with complex distributions and offer less flexibility. This paper aims to bridge this gap by developing a method that can generate complete 360° panoramas from one or more unregistered NFoV images captured at arbitrary angles, with enhanced quality and controllability.
Methods
PanoDiff tackles the panorama generation problem with a two-pronged approach:
- Two-Stage Angle Prediction: To handle unregistered NFoV images captured from arbitrary angles, the authors propose a robust two-stage angle prediction pipeline. This pipeline first classifies image pairs as either "overlap" or "wide baseline" to determine if their fields of view intersect on the panorama. Based on this classification, a specialized regression network then predicts the precise relative rotation angles (longitude and latitude) between the images. This two-stage approach is crucial for accurately handling wide baseline scenarios where images have little to no overlap, preventing artifacts that plague single-stage regression methods.
- Latent Diffusion-Based Panorama Generation: The core of the generation process utilizes a novel latent diffusion model (LDM). This model takes an incomplete panorama (formed by projecting the input NFoV images based on predicted angles) and a visibility mask as control signals, alongside text prompts. To ensure geometric consistency and high-quality output, several geometric augmentation schemes are employed during training and inference. This includes a rotation equivariance loss to maintain spherical consistency and a circular padding technique to prevent discontinuities at the panorama's edges. The model leverages a pre-trained Stable Diffusion model, enhanced with a hypernetwork to control its generation process with the partial panorama and text inputs.
Datasets
The authors conducted experiments and evaluations using two publicly available 360-degree panoramic image datasets:
- SUN360: This dataset contains both indoor and outdoor scenes. The authors used 2000 panoramas for training and 500 for testing.
- Laval Indoor: This dataset exclusively features indoor scenes. The authors used 289 images for testing, noting that their model was not trained on this dataset but rather on SUN360, which already includes indoor scenes.
Key Insights and Ideas
- The importance of accurate pose estimation for arbitrary inputs: The paper highlights that simply assuming overlapping views or using a single input is insufficient for robust panorama generation. Their two-stage angle prediction, which explicitly handles overlap vs. wide baseline scenarios, is critical for correctly aligning input images.
- Diffusion models are powerful for panorama outpainting: By adapting latent diffusion models, PanoDiff achieves superior generation quality and controllability compared to GAN-based methods, especially when dealing with incomplete inputs and text guidance.
- Geometric consistency is paramount for 360° images: The authors emphasize the need for specific techniques like rotation equivariance loss and circular padding to ensure that generated panoramas maintain their spherical nature and avoid edge artifacts, which are crucial for their intended applications.
- Text prompts offer fine-grained control: Integrating text prompts alongside partial panoramas allows for flexible content editing and customization of the generated panoramas, going beyond simple image completion.
Key Results
- Rotation Estimation: The proposed two-stage angle prediction method significantly outperforms a single-stage approach, achieving lower average geodesic errors for both overlap and wide baseline scenarios on the SUN360 dataset. For instance, on the "All" pair type, the two-stage method achieved an average error of 15.31° with 72.77% of pairs under 10°, compared to 24.29° and 65.54% for the one-stage method.
- Panorama Generation: PanoDiff achieved state-of-the-art results in terms of Fréchet Inception Distance (FID) on both SUN360 and Laval Indoor datasets. For example, on SUN360 with predicted rotations, PanoDiff achieved an FID of 6.96, outperforming other methods like ImmerseGAN (24.23) and SIG-SS (16.50). Notably, PanoDiff performed competitively even on the Laval Indoor dataset without specific training.
- Qualitative Results: Visual comparisons in Figures 8 and 9 demonstrate that PanoDiff generates more consistent, realistic, and texture-rich panoramas compared to existing methods, especially when handling paired inputs. The method also shows strong capabilities in text-controlled generation (Figure 10) and producing plausible environment textures (Figure 12).
Limitations and Future Work
- Limitations:
- The paper acknowledges that while their method is trained on SUN360, it is evaluated on Laval Indoor without specific fine-tuning, which might limit its performance on highly specialized indoor datasets compared to models trained on them.
- The FID metric, while widely used, has known limitations in fully capturing perceptual quality.
- The current method assumes no camera translation, focusing solely on rotation estimation.
- Future Work:
- The authors suggest extending their work to include style control, direct High Dynamic Range (HDR) panorama generation, and other advanced applications.
- Incorporating camera translation estimation would further enhance the robustness of the pose prediction module.
- Exploring more sophisticated text-to-image generation techniques within the diffusion framework could lead to even more nuanced control over panorama content.
Summary updated