[Paper Review] A Multiple Source Hourglass Deep Network for Multi-Focus Image Fusion
This paper proposes a multiple source hourglass deep network for multi-focus image fusion, using end-to-end training to jointly learn focus map estimation and fusion rules via a regression-based loss function. The method achieves state-of-the-art performance with a 60× speedup over existing methods on 520×520 images, demonstrating high computational efficiency and generalization across two or more input sources.
Multi-Focus Image Fusion seeks to improve the quality of an acquired burst of images with different focus planes. For solving the task, an activity level measurement and a fusion rule are typically established to select and fuse the most relevant information from the sources. However, the design of this kind of method by hand is really hard and sometimes restricted to solution spaces where the optimal all-in-focus images are not contained. Then, we propose here two fast and straightforward approaches for image fusion based on deep neural networks. Our solution uses a multiple source Hourglass architecture trained in an end-to-end fashion. Models are data-driven and can be easily generalized for other kinds of fusion problems. A segmentation approach is used for recognition of the focus map, while the weighted average rule is used for fusion. We designed a training loss function for our regression-based fusion function, which allows the network to learn both the activity level measurement and the fusion rule. Experimental results show our approach has comparable results to the state-of-the-art methods with a 60X increase of computational efficiency for 520X520 resolution images.
Motivation & Objective
- To address the limitations of handcrafted activity level measurements and fusion rules in multi-focus image fusion.
- To develop a data-driven, end-to-end deep learning framework that jointly learns focus map estimation and fusion strategy.
- To improve computational efficiency while maintaining or exceeding state-of-the-art fusion quality.
- To generalize across multiple input sources (two or more) with commutative fusion independent of source order.
- To enable near real-time fusion for practical applications such as medical imaging and digital photography.
Proposed method
- A multiple source hourglass architecture is used, combining encoder-decoder structures with skip connections to preserve spatial details.
- The network is trained end-to-end using a synthetic multi-focus dataset generated via controlled blurring of high-quality images.
- A regression-based loss function enables joint learning of both activity level measurement (focus map) and fusion rule.
- Two variants are proposed: HF-Reg (regression-based) and HF-Seg (segmentation-based), both using weighted average fusion.
- The model is trained on a synthetic dataset with 100 image pairs, using PyTorch and a GPU for optimization.
- The approach is independent of input image size and source count, enabling flexible application to two or more source images.
Experimental results
Research questions
- RQ1Can a deep neural network jointly learn focus map estimation and fusion rule without handcrafted components?
- RQ2Does an end-to-end hourglass architecture outperform traditional patch-based or Siamese-based fusion networks in speed and accuracy?
- RQ3Can a data-driven, regression-based approach generalize across multiple input sources and maintain high performance?
- RQ4How does the proposed method compare in computational efficiency to existing state-of-the-art MFIF methods?
- RQ5Can the model effectively fuse noisy multi-focus inputs, demonstrating robustness beyond clean data?
Key findings
- The proposed HF-Reg and HF-Seg networks achieve performance comparable to or better than state-of-the-art methods on both synthetic and real datasets.
- The method achieves a 60× speedup in inference time compared to existing methods, with only 0.0023 seconds for 520×520 images on a GPU.
- On the Lytro 3-source real dataset, the HF-Seg variant produced superior visual results, especially in reducing error accumulation during fusion.
- The HF-Reg model demonstrated robustness to noisy inputs, producing filtered, high-quality all-in-focus images even when trained on noisy data.
- The network generalizes well across different image sizes and numbers of input sources, with consistent performance across 130×130, 260×260, and 520×520 resolutions.
- The training protocol using synthetic data with controlled blurring enabled high-quality, infinite training samples at no acquisition cost.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.