The invention relates to a computed tomography system (30). Several sets of spectral projections, which correspond to different positions of a radiation source (2) along a rotation axis (R), are decomposed into first projections being indicative of a contrast agent and second projections being not indicative of the contrast agent. An image is generated by a) determining for each first projection a contrast value being indicative of a total amount of contrast agent and scaling the first projections such that for different first projections of a same set the same contrast value is determined, and reconstructing an image based on the scaled first projections, and/or b) reconstructing for the different sets first images, scaling the first images such that they have a same intensity in overlap regions and combining the scaled first images. Thus, different contrast agent amounts can be balanced, thereby allowing for an improved image quality.