In a non-transitory computer-readable storage medium that stores instructions executable by one or more processors to provide a trained function set for determining a scattered radiation information item defining a scattered radiation contribution in an X-ray image that is two-dimensional and is recorded with an X-ray facility, the instructions comprising:
- providing a first evaluating function that is to be trained, that determines, from input data comprising the X-ray image, an average distribution dataset that defines an average scattered radiation distribution over a variation of at least one image recording parameter, as output data;
- providing a second evaluating function that is to be trained that determines, from input data comprising the at least one image recording parameter during recording of the X-ray image, transformation parameters of a transformation as output data so that the scattered radiation information item is determinable by applying the transformation to the average distribution dataset;
- providing a training dataset for each of a first number of basic scenarios for which only the at least one image recording parameter is changeable, wherein each training dataset for different values of the at least one image recording parameter comprises a second number of subdatasets, each comprising a training X-ray image as input data for the first evaluating function, a training value set of the at least one image recording parameter as input data for the second evaluating function and a training scattered radiation image comprising the scattered radiation distribution as a respective ground truth;
- separate training of the first evaluating function and the second evaluating function, making use of the training datasets;
- and
- providing the trained first evaluating function and the trained second evaluating function.