Multi-focus image fusion with alternating guided filtering