Die Erfindung betrifft ein Verfahren zur Erzeugung einer Röntgenaufnahme (1) eines Objekts (2) mittels einer Röntgenvorrichtung (3), wobei während eines zumindest teilweisen Umlaufs (8, 9) eine Röntgenquelle (4) und ein Röntgendetektor (5) um ein Objekt (2) bewegt werden, wobei die von der Röntgenquelle (4) erzeugte und das Objekt (2) durchlaufende Röntgenstrahlen (10) aus mehreren verschiedenen Richtungen mittels des Röntgendetektors (5) erfasst werden. Dabei nimmt mindestens eine optische Kamera (13, 14) während des Umlaufs das Objekt (2) auf, wobei eine optische Aufnahme (15, 17) erzeugt wird. Die optische Kamera (13, 14) weist eine fest definierte Lagebeziehung zur Röntgenquelle (4) und/oder zum Röntgendetektor (5) auf. Die optische Aufnahme (15, 17) wird dann verwendet, um eine Bewegungstrajektorie des Objekts (2) relativ zur Röntgenquelle (4) und/oder zum Röntgendetektor (5) zu bestimmen.The invention relates to a method for producing an x-ray exposure (1) of an object (2) by means of an x-ray device (3), wherein during an at least partial rotation (8, 9) is an x-ray source (4) and an x-ray detector (5) an object (2) are moved, wherein the of the x-ray source (4) which is produced and the object (2) passing x-rays (10) of a plurality of different directions by means of the x-ray detector (5) are detected. In this case, at least one optical camera (13, 14) during the rotation the object (2), wherein an optical receiving device (15, 17) is generated. The optical camera (13, 14) has a fixedly defined positional relationship to the x-ray source (4) and / or to the x-ray detector (5) on. The optical receiving device (15, 17) is then, in order to achieve a motion trajectory of the object (2) relative to the x-ray source (4) and / or to the x-ray detector (5) to determine.