1. A method for correcting at least one image of an object obtained with a mammography system comprising an X-ray emitting source arranged facing a detector, the object being positioned between the source and the detector, the acquisition conditions of the images being determined by using the characteristics of a pre-exposure image of the object, the method comprising: acquiring a pre-exposure image of an object to determine the acquisition conditions for main images, the pre-exposure image comprising regions corresponding to the projection of radio-opaque elements, wherein a mask comprising radio-opaque elements is in an acquisition position, the acquisition position being when the mask is in the X-ray pathway leading from the source to the object; acquiring the main images resulting from the passing through the object of X-rays at higher doses than the dose used for acquisition of the pre-exposure image, wherein the mask comprising radio-opaque elements is in a retracted position, the retracted position being when the mask is outside of the X-ray pathway leading from the source to the object; extracting regions from the pre-exposure image which correspond to the projection of radio-opaque elements; and determining the contribution of X-ray scatter at every point of the at least one image of the object, on the basis of the regions extracted from the pre-exposure image.