Optical sectioning microscopy with spatial modulated excitation laser