This is the code of the following paper for multi-focus image fusion:
@article{xu2020deep,
title={A Deep Model for Multi-Focus Image Fusion Based on Gradients and Connected Regions},
author={Xu, Han and Fan, Fan and Zhang, Hao and Le, Zhuliang and Huang, Jun},
journal={IEEE Access},
volume={8},
pages={26316--26327},
year={2020},
publisher={IEEE}
}
The training dataset can be downloaded here (password: zaiz).
The code to create your own training dataset can be found here.
If you have any question, please email to me (xu_han@whu.edu.cn).