Attached is the simulation of following multi-focus image fusion methods:
M.B.A. Haghighat, A. Aghagolzadeh, H. Seyedarabi, "Multi-Focus Image Fusion for Visual Sensor Networks in DCT Domain," Computers and Electrical Engineering, vol. 37, no. 5, pp. 789-797, Sep. 2011.
M.B.A. Haghighat, A. Aghagolzadeh, H. Seyedarabi, "Real-time fusion of multi-focus images for visual sensor networks," 6th Iranian Machine Vision and Image Processing (MVIP), pp. 1-6, IEEE, 2010.
If you are using this code in your work, please cite the above papers.