Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

RecDiffusion: Rectangling for Image Stitching with Diffusion Models

About

Image stitching from different captures often results in non-rectangular boundaries, which is often considered unappealing. 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, \textbf{RecDiffusion}, for image stitching rectangling. This framework combines Motion Diffusion Models (MDM) to generate motion fields, effectively transitioning from the stitched image's irregular borders to a geometrically corrected intermediary. Followed by Content Diffusion Models (CDM) for image detail refinement. Notably, our sampling process utilizes a weighted map to identify regions needing correction during each iteration of CDM. Our RecDiffusion ensures geometric accuracy and overall visual appeal, surpassing all previous methods in both quantitative and qualitative measures when evaluated on public benchmarks. Code is released at https://github.com/lhaippp/RecDiffusion.

Tianhao Zhou, Haipeng Li, Ziyi Wang, Ao Luo, Chen-Lin Zhang, Jiajun Li, Bing Zeng, Shuaicheng Liu• 2024

Related benchmarks

TaskDatasetResultRank
Stitched image rectanglingDIR-D (test)
PSNR22.21
5
Image RectanglingDIR-D (train)
FID3.63
3
Stitched image rectanglingSIR-OOD ROPSTITCH
Overall Score6.31
2
Showing 3 of 3 rows

Other info

Code

Follow for update