Abstract
Generating complete 360-degree panoramas from narrow field of view images is ongoing research as omnidirectional RGB data is not readily available. Existing GAN-based approaches face some barriers to achieving higher quality output, and have poor generalization performance over different mask types. In this paper, we present our 360-degree indoor RGB-D panorama outpainting model using latent diffusion models (LDM), called PanoDiffusion. We introduce a new bi-modal latent diffusion structure that utilizes both RGB and depth panoramic data during training, which works surprisingly well to outpaint depth-free RGB images during inference. We further propose a novel technique of introducing progressive camera rotations during each diffusion denoising step, which leads to substantial improvement in achieving panorama wraparound consistency. Results show that our PanoDiffusion not only significantly outperforms state-of-the-art methods on RGB-D panorama outpainting by producing diverse well-structured results for different types of masks, but can also synthesize high-quality depth panoramas to provide realistic 3D indoor models.
Introduction
Creating immersive 360° panoramas typically requires specialized hardware or complex manual stitching. AI-driven "outpainting"—the process of predicting pixels outside a given image's boundaries—offers a promising alternative. However, current state-of-the-art methods, primarily based on Generative Adversarial Networks (GANs), suffer from significant drawbacks including mode collapse (repetitive textures), structural inconsistency (warped geometry), and the "wraparound problem," where the edges of the panorama fail to meet seamlessly.
Methodology: PanoDiffusion
PanoDiffusion addresses these challenges by leveraging Latent Diffusion Models (LDMs) with two key innovations:
Bi-modal Latent Diffusion
Unlike previous models that rely solely on RGB data, PanoDiffusion is trained on both color (RGB) and depth information. This bi-modal approach allows the model to learn the underlying 3D geometry of indoor scenes. Crucially, while depth is used during training to ground the model in physical reality, it is not required during inference. The model can take a standard RGB image and generate both a high-fidelity panorama and its corresponding depth map.
Progressive Camera Rotation
To solve the topological challenge of creating a seamless 360° image, the researchers introduced a progressive camera rotation technique. During the iterative denoising process, the latent representation is rotated by 90 degrees at each step. This ensures that every part of the panorama, including the traditional "seams" at the edges, is processed in the center of the frame, naturally enforcing wraparound consistency without complex loss functions.
Results and Discussion
Evaluated on the Structured3D dataset, PanoDiffusion demonstrates a significant leap in performance. It achieved a 67% relative improvement in Fréchet Inception Distance (FID) compared to previous methods.
Qualitatively, PanoDiffusion avoids the blurry, repetitive textures common in GAN-based outputs. Instead, it synthesizes complex, semantically appropriate objects like furniture and windows that respect the room's lighting and layout. Furthermore, the generated depth maps allow for the creation of realistic 3D indoor models directly from a single 2D snapshot.
Conclusion
PanoDiffusion represents a significant advancement in omnidirectional image generation. By combining bi-modal training with a novel rotation-based denoising strategy, it overcomes the structural and seam-related issues that have hindered previous outpainting models. While currently focused on indoor environments, the framework provides a robust foundation for future work in general 360° scene synthesis.
Citation: Tianhao Wu, Chuanxia Zheng, and Tat-Jen Cham. "PanoDiffusion: 360-degree Panorama Outpainting via Diffusion." ICLR 2024.
Summary updated