The present invention relates to a modulation of X-ray radiation for the purposes of imaging an object of interest. For the modulation, the X-ray radiation provided by an X-ray source (12) is in part totally reflected by a mirror (20). Thus, an X-ray radiation at an object receiving space (16) is formed by an unreflected X-ray radiation (24) and a reflected X-ray radiation (26). The mirror (20) is displaceable by an actuator (28), such that the intensity of the reflected X-ray radiation (26) can be adjusted, in particular to a density of the object to be imaged.