1. A method for correcting an image comprising: providing a first mask digital image deformed with respect to a sequence of second digital contrast images in which information is represented by pixels with a lower or higher brightness level compared with a background; detecting the information pixels in the second digital contrast images from which the first mask digital image was subtracted to obtain a binary mapping image, wherein the binary mapping image has information bits at a first determined level that correspond to information pixels of at least one of the second digital contrast images and other information bits at levels that do not correspond to information pixels in the second digital contrast images; calculating coordinates of a region of interest having dimensions at least partly covering the information bits in the binary mapping image; searching, for each second digital contrast image, in the first mask digital image for the position of a mobile region, wherein the position of the mobile region maximizes a similarity criterion calculated between the pixels in the region of interest fixed at coordinates in the second digital contrast image and the pixels in the mobile region displaced by shift affine transformation in the first mask digital image; estimating, for each second digital contrast image, the correction to be made to the first mask digital image compared with each second digital contrast image, wherein the correction is the calculated shift affine transformation that makes the mobile region move from its found position at which the similarity criterion is maximized to the coordinates of the region of interest, calculating, for each second digital contrast image, a first value and a second value of the similarity criterion; and obtaining a second corrected image, wherein the first value is calculated between the pixels located in the region of interest in the first mask digital image transformed by the calculated shift affine transformation and the pixels located in the region of interest in the second digital contrast image, wherein the second value is calculated between the pixels located outside the region of interest in the first mask digital image transformed by the calculated shift affine transformation and the pixels located outside the region of interest in the second digital contrast image, wherein, if the first value is greater than or equal to the second value, the first mask digital image transformed by the calculated shift affine transformation is subtracted from the second digital contrast image to obtain the second corrected image, and wherein, if the first value is less than the second value, the first mask digital image is subtracted from the second digital contrast image to obtain the second corrected image.