The present invention relates to an apparatus for X-ray imaging an object. It is described to provide (20) data relating to the detection of X-rays, wherein an X-ray detector is configured to be positioned relative to an X-ray source such that at least a part of a region between the X-ray source and the X-ray detector is an examination region for accommodating an object. An X-ray interferometer arrangement is configured to be positioned relative to the examination region. At least one X-ray dark field factor and at least one transmission factor are determined for the X-ray radiation transmitted through at least part of the object is determined. An intensity of X-ray radiation to be emitted towards the at least part of the object is controlled as a function of the determined at least one dark field factor and the determined at least one transmission factor.