Microscopy using source and detector arrays