A method and corresponding arrangement for reconstructing an image based on spectral image data acquired for at least two different effective energies includes: obtaining a first set of spectral image data related to an object to be imaged and a second set of spectral image data related to a calibration phantom including at least one reference material; performing basis decomposition based on the first set of spectral image data, providing estimated basis images of the object to be imaged with respect to associated basis functions; performing basis decomposition based on the second set of spectral image data, providing calibrated estimates of reference basis coefficients corresponding to the at least one reference material; and determining image values representing the object based on a system model of an imaging system to be emulated, the estimated basis images and their associated basis functions, and the calibrated estimates of reference basis coefficients.