Simultaneous object illumination scanning and detector scanning in holography