All models

DMANet explicit defocus MFF

Merges two photographs focused at different depths into one all-in-focus image with an explicit blur model.

898 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (925 KB)

Open in a new tab

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

Family
DMANet
Parameters
4.1M
Operations
898
Framework
PyTorch
Recurrent
Yes
Published
AAAI 2025
Cited by
12 (as of 24 October 2026)
Authors
Yuhui Quan, Xi Wan, Zitao Tang and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15684
Graph hash
99ed040c178ed624a4078210d3d8744b19f30c89e500d7a804bd49e57c29f92f
Skeleton hash
e02c10b8558a440cb440af5f4cc800e2b458db301548f35779f0704e9586fa26
Architecture hash
cafbb6c4bd395e172c6fe9d588474c5a7ea2ca86953b74d188fa9f8269af1047
Diagram SHA-256
f48eef153cdfcf6e90feda1c89578e0c1c50671337366817a4e3048b4ca843a6
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

DMANet, the Defocus Model Aware Network, merges photographs taken at different focal lengths into a single all-in-focus image. Its authors argue that most deep networks for this task leave out the physics of defocus blur, so they build a parameterized model of that blur into the network.

The blur at each pixel is written as a linear combination of a small set of point spread function atoms, which here are Gaussian kernels with learnable standard deviations. A Defocus Blur Estimator built on ConvLSTM works from coarse to fine scales, producing the mixing coefficients and an initial focused version of each source. A Decision Map Estimator with an encoder-decoder structure then predicts soft maps of how well focused each pixel is.

An Uncertainty-Aware Fuser copies source pixels where the maps are confident and uses the initial focused image elsewhere. Those uncertain pixels are likely to be blurred in every source or to lie on the boundary between focused and defocused regions. The fuser forms one result per source image, and the paper takes the first as its final output because the choice had no noticeable effect on performance.

Key idea. DMANet estimates defocus with an explicit, parameterized blur model and uses the resulting descriptors and initial focused images to guide multi-focus image fusion.

  • DMANet
  • defocus model aware network
  • multi-focus image fusion
  • MFIF
  • defocus blur
  • all-in-focus image
  • decision map
  • focus stacking

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{Quan_2025, title={Multi-Focus Image Fusion via Explicit Defocus Blur Modelling}, volume={39}, ISSN={2159-5399}, url={http://dx.doi.org/10.1609/aaai.v39i6.32714}, DOI={10.1609/aaai.v39i6.32714}, number={6}, journal={Proceedings of the AAAI Conference on Artificial Intelligence}, publisher={Association for the Advancement of Artificial Intelligence (AAAI)}, author={Quan, Yuhui and Wan, Xi and Tang, Zitao and Liang, Jinxiu and Ji, Hui}, year={2025}, month=Apr, pages={6657–6665} }