The invention relates to a computed tomography apparatus for imaging an object. The computed tomography apparatus comprises a radiation source (2) for generating modulated radiation (4) traversing the object and a detector (6) for generating detection values depending on the radiation (4) after having traversed the object while the radiation source (2) and the object are moved relative to each other. A weight providing unit (14) provides modulation weights for weighting the detection values depending on the modulation of the radiation (4) and a reconstruction unit (15) reconstructs an image of the object wherein the detection values are weighted based on the provided modulation weights and an image of the object is reconstructed from the weighted detection values. This can allow to optimize the dose application to the object by modulating the radiation accordingly wherein the reconstructed images still have a high quality.