SGDFuse: SAM-Guided Diffusion Model for High-Fidelity Infrared and Visible Image Fusion

Xiaoyang Zhang, jinjiang Li, Guodong Fan, Yakun Ju, Linwei Fan +2 more
8/7/2025
39 citations
cs.CVcs.AI
diffusion-flow

Official code: boshizhang123/SGDFuse (13 stars, Python, last commit 2026-02-18).

Abstract

Infrared and visible image fusion (IVIF) aims to combine the thermal radiation information from infrared images with the rich texture details from visible images to enhance perceptual capabilities for downstream visual tasks. However, existing methods often fail to preserve key targets due to a lack of deep semantic understanding of the scene, while the fusion process itself can also introduce artifacts and detail loss, severely compromising both image quality and task performance.

Show full abstract

To address these issues, this paper proposes SGDFuse, a conditional diffusion model guided by the Segment Anything Model (SAM), to achieve high-fidelity and semantically-aware image fusion. The core of our method is to utilize high-quality semantic masks generated by SAM as explicit priors to guide the optimization of the fusion process via a conditional diffusion model. Specifically, the framework operates in a two-stage process: it first performs a preliminary fusion of multi-modal features, and then utilizes the semantic masks from SAM jointly with the preliminary fused image as a condition to drive the diffusion model's coarse-to-fine denoising generation. This ensures the fusion process not only has explicit semantic directionality but also guarantees the high fidelity of the final result. Extensive experiments demonstrate that SGDFuse achieves state-of-the-art performance in both subjective and objective evaluations, as well as in its adaptability to downstream tasks, providing a powerful solution to the core challenges in image fusion. The code of SGDFuse is available at https://github.com/boshizhang123/SGDFuse.

View on arXivView PDF

Code Implementations(1)

132PythonJun 12, 20259 months ago

Similar Papers

Cite this paper

@article{zhang2025sgdfuse,
  title  = {SGDFuse: SAM-Guided Diffusion Model for High-Fidelity Infrared and Visible Image Fusion},
  author = {Xiaoyang Zhang and jinjiang Li and Guodong Fan and Yakun Ju and Linwei Fan and Jun Liu and Alex C. Kot},
  year   = {2025},
  eprint = {2508.05264},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.05264v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.05264.svg)](https://codeofpaper.com/paper/2508.05264)

Discussion