1. A method of producing an image for use in detecting the structure of moving objects, the method including: (a) irradiating an object with X-ray radiation as the object moves along a direction of travel; (b) for each of multiple sampling positions of the object in the direction of travel, detecting the radiation along a detection line extending transverse to the direction of travel, where a plurality of discrete first detection positions along the detection line detect a first spectral segment of the radiation and a plurality of discrete second detection positions along the detection line detect a second spectral segment of the radiation different from the first spectral segment of the radiation, the first and second detection positions being interleaved with each other along the detection line; (c) detecting the radiation along at least one additional detection line extending transverse to the direction of travel and having a specified spacing with respect to the detection line in the direction of travel, where a plurality of discrete first detection positions along the at least one additional detection line detect the first spectral segment of the radiation and a plurality of discrete second detection positions along the at least one additional detection line detect the second spectral segment of the radiation, the first and second detection positions of the at least one additional detection line being arranged in the same configuration as the first and second detection positions of the detection line, and wherein the detecting the radiation along the detection line and the at least one additional detection line is performed in a time-shifted manner; (d) converting the detected radiation to image data and adding together the image data from the detection line and the at least one additional detection line to produce, for each sampling position, a first partial image for the first spectral segment of the radiation and a second partial image for the second spectral segment of the radiation, the first partial image being produced based on the radiation detected at the first detection positions of the detection line and the at least one additional detection line, and the second partial image being produced based on the radiation detected at the second detection positions of the detection line and the at least one additional detection line; and (e) arithmetically combining the first partial image and the second partial image into a partial output image in order to improve detectability of predetermined characteristics of the structure of the object.