The present invention relates to a device (100) for signal compensation in medical X ray images. The device (100) comprises a generation module (10) configured to generate an X ray ghosting image based on an X ray detector read out subsequent to a last X ray exposure of a plurality of X ray exposures a scaling module (20) configured to scale the X ray ghosting image into a scaled X ray ghosting image and a subtraction module (30) configured to subtract the scaled X ray ghosting image from any subsequent X ray image recorded during a respective subsequent X ray exposure of the plurality of X ray exposures.