MFF-SSIM
A residual network that detects the focus map for MFF-SSIM multi-focus image fusion.
Segmentation · 186 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
- Task
- Segmentation
- Parameters
- 2.4M
- Operations
- 186
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- IEEE Transactions on Computational Imaging (arXiv 2020)
- Cited by
- 51 (as of 24 October 2026)
- Authors
- Shuang Xu, Lizhen Ji, Zhe Wang and others
- Source
- GitHub: shuangxu96/MFF-SSIM
- 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
- m18101
- Graph hash
- de90e9b0d63427ad629b4e8b93bf67de93ef65bb121f50bdaa10e885d6a7461c
- Skeleton hash
- 6ad98c19310e306f35fd0d1db04703d0d0eb59ecc0747457d6970740b4a1c55b
- Architecture hash
- 95be9974eec0225f78fcee72a59ee111c92d9cf3d9a861bd8600f21586d81480
- Diagram SHA-256
- 188542fb0d2f21ec7b18125848fe497e6e8b21ad050f8041fe98bf26c25c80fc
- 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
MFF-SSIM is an optimization-based method for multi-focus image fusion, which builds an all-in-focus image from source images of the same scene taken at different focus distances. It targets defocus spread effects, in which objects not in focus tend to expand. The idea is to abandon pixel-wise fusion and make each local patch of the fused image similar to the corresponding region of the sharpest source image.
The paper defines the MFF-SSIM index by combining detected focus maps with the principle of structural similarity (SSIM), and turns fusion into maximizing that index. Because the index is a highly nonlinear and non-convex function, the maximization is solved by gradient ascent. The algorithm needs a pre-detected focus map, and the paper provides two detectors: the Laplacian energy and a residual network.
The residual network converts the two source images to gray scale and passes each through a convolution, batch normalization and ReLU unit and 8 residual blocks, with weights shared between the two images. The two feature maps are concatenated along channels and go through a convolutional unit and a sigmoid function to produce the focus map. It was trained on multi-focus pairs simulated from PASCAL VOC 2012, with the segmentation map taken as the ground truth focus map. On the MFFW dataset of 13 real-world image pairs, the paper reports that its residual network version, MS-ResNet, achieves the highest PSNR, SSIM and FSIM values.
Key idea. The paper proposes the MFF-SSIM index, a patch-wise structural similarity metric built on detected focus maps, and casts multi-focus image fusion as maximizing it by gradient ascent.
- mff-ssim
- multi-focus image fusion
- defocus spread effect
- focus map detection
- structural similarity
- all-in-focus image
- gradient ascent fusion
- patch-wise fusion
- ms-resnet
- mffw
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{xu2020reducingseveredefocusspread,
title={Towards Reducing Severe Defocus Spread Effects for Multi-Focus Image Fusion via an Optimization Based Strategy},
author={Shuang Xu and Lizhen Ji and Zhe Wang and Pengfei Li and Kai Sun and Chunxia Zhang and Jiangshe Zhang},
year={2020},
eprint={2012.14678},
archivePrefix={arXiv},
primaryClass={cs.CV},
doi={https://doi.org/10.1109/TCI.2020.3039564},
url={https://arxiv.org/abs/2012.14678},
}