Wide field-of-view panorama stitching is important for computational photography and immersive visual applications, but often faces some challenges like severe geometric disparities. The typical "warp-and-blend" stitching technique only works with limited parallax and fails on large-parallax scenes, due to its inherent restriction to 2D geometric transformations that cannot resolve underlying 3D structures. To break this limitation, we present AnyStitch, a generative framework that can merge multiple reference images with large parallax into a seamless panorama. Unlike previous methods, we formulate the stitching problem as a reference-based image generation process, which naturally avoids stitching artifacts. Specifically, we propose a Hierarchical Projected Rotary Positional Encoding (HPRoPE) based on a 3D feed-forward model to establish accurate geometric relationships between the inputs and the panoramic canvas while preserving fidelity. Given that the resolution of the generated image varies with the number of inputs, we design a spatial autoregressive generation strategy to generate visually coherent panoramas at flexible resolutions. Finally, to enable the supervised fine-tuning of the proposed model, we construct a paired dataset utilizing 3D Gaussian Splatting (3DGS) scenes. Experiments demonstrate that AnyStitch can seamlessly stitch a variable number of inputs (like 22 views in teaser) with large camera motion, support flexible control of target view and projection type, and handle simple dynamic scenes. Project page: https://cecret3350.github.io/AnyStitch/.
Key Laboratory of Grain Information Processing(粮食信息处理关键实验室);Control(Henan University of Technology), Ministry of Education(控制(河南工业大学),教育部);College of Information Science(信息科学学院);Engineering, Henan University of Technology(工程,河南工业大学);School of Mathematical Sciences, Shenzhen University(数学科学学院,深圳大学);Guangdong Key Laboratory of Intelligent Information Processing(广东智能信息处理重点实验室)
Parallax-Tolerant Image Stitching with Epipolar Displacement Field
School of Automation, Southeast University(东南大学自动化学院);Key Laboratory of Measurement and Control of Complex Systems of Engineering, Ministry of Education(教育部复杂工程系统测量与控制重点实验室)
Parallax-tolerant Image Stitching via Segmentation-guided Multi-homography Warping
College of Information Science and Engineering, Henan University of Technology(河南工业大学信息科学与工程学院);Hong Kong University of Science and Technology(香港科技大学);School of Mathematical Sciences, Shenzhen University(深圳大学数学科学学院)
Depth-Supervised Fusion Network for Seamless-Free Image Stitching
College of Information Science and Technology, Dalian Maritime University(大连海事大学信息科学与技术学院);School of Software Technology, Dalian University of Technology(大连理工大学软件学院)
High-quality Panorama Stitching based on Asymmetric Bidirectional Optical Flow
The University of Sydney(悉尼大学);Hong Kong University of Science and Technology(香港科技大学)
本文提出了一种基于非对称双向光流的全景图拼接算法。该算法以鱼眼镜头相机拍摄的多幅照片为输入,通过该算法将这些照片融合成高质量的360度球面全景图像。对于从远处拍摄的照片,它们之间的视差相对较小,并且所获得的全景图像可以是几乎无缝且不失真的。对于从近距离视角或具有相对大的视差拍摄的照片,也可以获得无缝但部分失真的全景图像。此外,该算法在图形处理器(GPU)的帮助下,能够以非常快的速度完成整个拼接过程:通常,只需不到30 s即可获得9000 x 4000像素的全景图像,这意味着我们的全景拼接算法在许多实时应用中具有很高的价值。我们的代码可在https://github.com/MungoMeng/Panorama-OpticalFlow上获得。