Versatile Ultrafast Single-Shot Imaging