The method for unfolding the distribution of a radiation field with a complex energy spectrum from the whole-energy spectrum image is suggested. The reconstruction is applicable in situations where the relative contribution of energy fractions in the photon beams, incident in the scanning directions is known.