Photographing atoms using four-dimensional microscopy