Methods are provided for operating a medical X-ray device to improve the image quality of an X-ray examination. In one example, the method includes recording at least one first X-ray image of a body region as a mask image; providing a first subsequent image and recording a second X-ray image of the body region, wherein the second X-ray image represents the body region at a later recording time than the first subsequent image; determining a degree of deviation relating to a deviation between the first subsequent image and the second X-ray image; determining an averaging amount in dependence on the degree of deviation; generating a second subsequent image from the second X-ray image or from the first subsequent image together with the second X-ray image, wherein the averaging amount specifies the proportions in which the first subsequent image and the second X-ray image are mixed; and forming an overall image from the mask image and the second subsequent image.