1. A method for correction of an x-ray image recorded with an x-ray device, the x-ray device including an anti-scatter grid, wherein the anti-scatter grid includes a spatially periodically repeating geometrical configuration, the method comprising: transforming a calibration image and the x-ray image by a transformation in a position frequency space, the calibration image being recorded without an imaging object; establishing, in the position frequency space, adaptation parameters describing changes to the calibration image optimizing a measure of matching between the x-ray image and the calibration image; and correcting the x-ray image, the correcting of the x-ray image comprising subtracting the adapted calibration image from the x-ray image and transforming the x-ray image back into the position space using an inverse of the transformation.