1. A method for correcting artifacts in an X-ray projection of an object, comprising: generating X-rays from a primary X-ray source with a repeating pattern of regions with different X-ray signal strengths to obtain amplitude modulated X-rays with temporal alterations; detecting, by a detector as a complete signal, the amplitude-modulated X-rays after passing through the object to be imaged; and calculating a scattered image, separated from an original, amplitude-modulated projection, from the complete signal, such that a number (j=1. .. NMod) is generated from modulation projections allocated to a respective point in time.