All models

MMF-Net alpha-matte boundary MFF

Cascaded CNN that fuses two differently focused photos and refines the result near the focus boundary.

112 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 (87 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

Parameters
5.2M
Operations
112
Framework
PyTorch
Recurrent
No
Published
IEEE Transactions on Image Processing (arXiv 2019)
Cited by
83 (as of 31 October 2026)
Authors
Haoyu Ma, Qingmin Liao, Juncheng Zhang and others
License
MIT
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
m18168
Graph hash
b3fe7ae43131b2b404128319ee24d946003b8cfb2f489d0fb17f409f01511bd4
Skeleton hash
dabf85acacfebbfb4995cd915dab32406ccfaa5a08f32024e38cf9c6eec3fc96
Architecture hash
8e7f9f178302117ff60059f8d38046e400b6e0b302897f18cd2df625a33371d3
Diagram SHA-256
63de27693fc2c4525913856fcbe2922cece14e811b82d7aac64652c75e847706
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

MMF-Net fuses images of one scene focused at different depths into a single all-in-focus image. Its target is the area near the focused/defocused boundary (FDB), where the paper says existing multi-focus fusion methods cannot obtain clear results.

The network is two cascaded sub-nets. The Initial Fusion sub-net takes the two source images and generates a guidance map. In that map a pixel is 1 where source image A is the focused one, 0 where source image B is, and 0.5 near the boundary. The Boundary Fusion sub-net then takes the two source images concatenated with the guidance map. Its output is masked and weighted by a boundary map and added to the initial fusion result, so only pixels in boundary areas are revised. In the paper's implementation the Initial Fusion sub-net has 4 residual blocks and the Boundary Fusion sub-net has 12.

The training data is generated with a new α-matte boundary defocus model that simulates the defocus spread near the FDB. The paper compares MMF-Net with 7 other multi-focus fusion methods. The experiments are run on the Lytro dataset, which the paper describes as commonly used for multi-focus image fusion.

Key idea. The paper pairs an α-matte boundary defocus model for generating training data with MMF-Net, a cascaded network that refines fusion near the focused/defocused boundary.

  • MMF-Net
  • multi-focus image fusion
  • MFIF
  • alpha-matte boundary defocus model
  • all-in-focus image
  • focused/defocused boundary
  • cascaded boundary aware network
  • image fusion

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

Cite the paper

@article{mmfnetalphamatteboundarymff2019,
  title = {An α-Matte Boundary Defocus Model Based Cascaded Network for Multi-focus Image Fusion},
  author = {Haoyu Ma and Qingmin Liao and Juncheng Zhang and Shaojun Liu and Jing-Hao Xue},
  year = {2019},
  journal = {IEEE Transactions on Image Processing},
  eprint = {1910.13136}
}