The following Matlab project contains the source code and Matlab examples used for multi focus image fusion using a bilateral gradient based sharpness criterion. This is a demo program of the paper J. Tian, L. Chen, L. Ma and W. Yu, "Multi-focus image fusion using a bilateral gradient-based sharpness criterion," Optics Communications, Vol. 284, Jan. 2011, pp. 80-87.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.