RecDiffusion: Rectangling for Image Stitching with Diffusion Models
Tianhao Zhou, Haipeng Li, Ziyi Wang, Ao Luo, Chen-Lin Zhang, Jiajun Li, Bing Zeng, Shuaicheng Liu
Abstract
Image stitching from different captures often results in non-rectangular boundaries, which is often considered un-appealing. To solve non-rectangular boundaries, current solutions involve cropping, which discards image content, inpainting, which can introduce unrelated content, or warping, which can distort non-linear features and introduce artifacts. To overcome these issues, we introduce a novel diffusion-based learning framework, RecDiffusion, for image stitching rectangling. This framework combines Motion Diffusion Models (MDM) to generate motion fields, ef-fectively transitioning from the stitched image's irregular borders to a geometrically corrected intermediary. Fol-lowed by Content Diffusion Models (CDM) for image de-tail refinement. Notably, our sampling process utilizes a weighted map to identify regions needing correction during each iteration of CDM. Our RecDiffusion ensures geomet-ric accuracy and overall visual appeal, surpassing all pre-vious methods in both quantitative and qualitative measures when evaluated on public benchmarks. Code is released at https://github.com/haippp/RecDiffusion.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e4b1ebf8-0d2b-44dc-9041-edc7c1cee8a4Cited by top-tier papers8
- Reconstructing the Image Stitching Pipeline: Integrating Fusion and Rectangling into a Unified Inpainting ModelZiqi Xie, Weidong Zhao, Xianhui Liu, Jian Zhao et al.NeurIPS 2024 · 11 citations
- ISPDiffuser: Learning RAW-to-sRGB Mappings with Texture-Aware Diffusion Models and Histogram-Guided Color ConsistencyYang Ren, Hai Jiang, Menglong Yang, Wei Li et al.AAAI 2025 · 7 citations
- Lifting the Structural Morphing for Wide-Angle Images Rectification: Unified Content and Boundary ModelingWenting Luan, Siqi Lu, Yongbin Zheng, Wanying Xu et al.ICCV 2025 · 1 citation
- ExpoCM: Exposure-Aware One-Step Generative Single-Image HDR ReconstructionAoyu Liu, Zhen Liu, Ziyi Wang, Dian Chen et al.CVPR 2026 · 1 citation
- DMAligner: Enhancing Image Alignment via Diffusion Model Based View SynthesisXinglong Luo, Ao Luo, Zhengning Wang, Yueqi Yang et al.CVPR 2026 · 1 citation
Builds on19
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
- Palette: Image-to-Image Diffusion ModelsChitwan Saharia, William Chan, Huiwen Chang, Chris A. Lee et al.SIGGRAPH 2022 · 1,638 citations
- RePaint: Inpainting using Denoising Diffusion Probabilistic ModelsAndreas Lugmayr, Martin Danelljan, Andrés Romero, Fisher Yu et al.CVPR 2022 · 1,425 citations
Related papers
- Deep Rectangling for Image Stitching: A Learning BaselineLang Nie, Chunyu Lin, Kang Liao, Shuaicheng Liu et al.CVPR 2022 · 68 citations
- Deblurring via Stochastic RefinementJay Whang, Mauricio Delbracio, Hossein Talebi, Chitwan Saharia et al.CVPR 2022
- High-Fidelity Diffusion-Based Image EditingChen Hou, Guoqiang Wei, Zhibo ChenAAAI 2024 · 9 citations
- DiffRetouch: Using Diffusion to Retouch on the Shoulder of ExpertsZheng-Peng Duan, Jiawei Zhang, Zheng Lin, Xin Jin et al.AAAI 2025
- Aligned Novel View Image and Geometry Synthesis via Cross-modal Attention InstillationMinseop Kwak, Junho Kim, Sangdoo Yun, Dongyoon Han et al.ICLR 2026 · 5 citations
