A method is for generating a result image using a tomosynthesis device including a plurality of stationary X-ray sources. In an embodiment, the method includes detecting at least one faulty X-ray source among the plurality of stationary X-ray sources; adapting a reconstruction to compensate for the faulty X-ray source; and generating the result image using the reconstruction adapted.