Abstract
Image outpainting, the task of extending an image beyond its original boundaries, often suffers from structural inconsistency and blurry textures due to unidirectional context. We propose a novel framework that treats outpainting as an inpainting task by rearranging the image such that the "outside" regions are moved to the center. By leveraging bidirectional context, structural edge guidance, and a horizontally progressive step learning strategy, our model generates high-quality, structurally coherent extensions. Experimental results on the SUN and Beach datasets demonstrate that our method significantly outperforms existing state-of-the-art approaches in both quantitative metrics and human evaluation.
Introduction
Image completion is generally categorized into two tasks: inpainting (filling internal holes) and outpainting (extending boundaries). While inpainting has seen significant success due to the availability of surrounding context from all sides, outpainting remains a formidable challenge. Standard outpainting methods typically extend images in a single direction, providing the model with adjacent information from only one side. This limitation frequently results in blurry textures, repetitive patterns, and a lack of structural continuity. Our work aims to bridge this gap by providing outpainting with the same contextual advantages enjoyed by inpainting.
Methodology
We propose a three-pronged approach to stabilize and improve the outpainting process:
1. Bidirectional Boundary Region Rearrangement
The core innovation of our method is the rearrangement of the input image. We move the areas to be filled to the center of the frame, flanked by the original image content on both sides. This transformation effectively converts the outpainting task into an inpainting task, allowing the model to utilize bidirectional information to maintain global consistency.
2. Structural Edge Map Generator
To ensure structural integrity, the model predicts an edge map for the missing regions before generating pixels. This "skeleton" provides essential guidance, ensuring that prominent lines and shapes—such as horizons or architectural edges—continue naturally into the newly generated space.
3. Horizontally Progressive Step Learning
Training Generative Adversarial Networks (GANs) on large missing regions is inherently unstable. We employ a curriculum learning strategy where the size of the mask (the area to be filled) starts at 3.125% of the image and gradually increases to 50% over 32 steps. This progressive approach allows the model to master small extensions before attempting larger, more complex ones.
Evaluation and Results
The proposed model was evaluated on the SUN and Beach datasets against state-of-the-art models, including Pix2Pix, StructureFlow, and NS-OUT.
Quantitative Performance
On the SUN dataset, our model achieved a superior Inception Score (IS) of 3.20 and the lowest BRISQUE score (21.61), indicating higher naturalness. On the Beach dataset, it demonstrated a significantly higher Structural Similarity (SSIM) of 0.810 compared to the next best score of 0.646.
Qualitative Analysis and User Study
Visual results indicate sharper transitions and better perspective maintenance compared to baseline methods, which often suffer from "ghosting" or blurred edges. A user study involving 27 experts found that our method was ranked as the most superior in over 75% of cases.
Conclusion and Future Work
While our method excels at maintaining structural flow, it faces limitations when the information at opposite ends of the horizontal axis is radically different, as the rearrangement relies on a degree of contextual relationship between the two sides. Future research will explore simultaneous horizontal and vertical outpainting and the development of intelligent context-selection mechanisms for inconsistent image boundaries.
Summary updated