FusionDiff
A conditional diffusion model that fuses two differently focused images with a lightweight U-Net noise predictor.
Diffusion and generative · 266 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 26.9M
- Operations
- 266
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2023, Expert Systems with Applications
- Cited by
- 83 (as of 27 October 2026)
- Authors
- Mining Li, Ronghao Pei, Tianyou Zheng and others
- Source
- GitHub: lmn-ning/ImageFusion
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16774
- Graph hash
- d3ab29fcc8c735c21f4b05b28252ad400dd88fa3d5fffd64700161f200a0b58a
- Skeleton hash
- 7689381287df28de2ac77771707347290ae7025bf32bbfec2b2364cede061557
- Architecture hash
- 3aa35bcee2747bccd3a2522b90761711d8b7730079e122e79bcea65d8e6b7b2e
- Diagram SHA-256
- 0785887da539088057078ee607904e76498446cb2612b58a67f45a94b0079fb6
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
FusionDiff is a multi-focus image fusion (MFIF) method based on denoising diffusion probabilistic models (DDPM). MFIF is an image enhancement technology that can effectively extend the depth-of-field of optical lenses. FusionDiff first uses a series of Gaussian noise to convert a clear image into a pure noise image, and then uses two source images as guidance to denoise a random noise image over several iterations into a fused image.
The network on this page is the conditional noise predictor, with a U-Net as its backbone. The two source images and the noisy image are spliced in the channel dimension to form its input. Down-sampling is a two-dimensional convolution with a step size of 2. The time step is converted to a time embedding with the position embedding of the Transformer, and that embedding is added to each residual block. The paper describes this predictor as lightweight compared to that in the DDPM, which reduces the training cost, and sets the total diffusion step to 2000.
According to the paper, FusionDiff does not depend on any specific activity level measurement method, fusion rule or complex feature extraction network, and uses less than 2% of the training data of existing MFIF algorithms. On the Lytro and MFFW datasets the paper reports better visual perception and quantitative metrics than the methods it compares against. FusionDiff can theoretically fuse any number of images simultaneously, and the paper uses the fusion of two images as an example.
Key idea. FusionDiff fuses multi-focus images with a denoising diffusion probabilistic model, using a lightweight U-Net as a noise predictor conditioned on the source images.
- fusiondiff
- multi-focus image fusion
- mfif
- image fusion
- denoising diffusion probabilistic model
- depth of field extension
- few-shot image fusion
- conditional diffusion
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Li_2024, title={FusionDiff: Multi-focus image fusion using denoising diffusion probabilistic models}, volume={238}, ISSN={0957-4174}, url={http://dx.doi.org/10.1016/j.eswa.2023.121664}, DOI={10.1016/j.eswa.2023.121664}, journal={Expert Systems with Applications}, publisher={Elsevier BV}, author={Li, Mining and Pei, Ronghao and Zheng, Tianyou and Zhang, Yang and Fu, Weiwei}, year={2024}, month=Mar, pages={121664} }