If you use these codes, please cite the paper: @Article{zhan2015novel, author = {Zhan, Kun and Teng, Jicai and Li, Qiaoqiao and Shi, Jinhui}, title = {A novel explicit multi-focus image fusion method}, journal = {Journal of Information Hiding and Multimedia Signal Processing}, year = {2015}, volume = {6}, number = {3}, pages = {600--612} } If you have any questions, Feel free to contact with me. (Email: kzhan#lzu.edu.cn) http://www.escience.cn/people/kzhan