A buffer on detector elements of an X-ray radiation detector can be used, when acquiring a number of 2D X-ray image data records with the aid of an X-ray angiography system, to acquire 2D image data records at a relatively short interval one after the other with the aid of different X-ray spectra, to allow dual-energy imaging, which may be of particularly good quality.