1. A method of rectifying an image representing a surface of a tire, the method comprising steps of: detecting, in an image of a tire, a circumferential marking present on the tire, the image of the tire being formed of a plurality of lines; determining, based on the marking and for each of the lines of the image, a reference position on the tire; determining, for each of the lines of the image, a difference between the reference position on the line under analysis and a minimum value of the reference positions for all of the lines of the image; and, producing a rectified tire image by, for each of the lines of the image, radially offsetting pixels of the line under analysis by a value representing the difference.