A novel multi-focus image fusion algorithm is proposed based on depth extraction.
Adaptive depth estimation improves the solution of inhomogeneous diffusion equation.
The images are divided into three regions according to the depth map.
The multi-focus images are fused with different weights in different regions.
The proposed method outperforms the state-of-the-art methods in most cases.