A multi-dimensional representation of an object is obtained in that first and second pictures of the object illuminated using an X-ray source are created using a sensor that is located, in relation to the X-ray source, behind the object in a preferential direction defined by the relative positions of the object and of the sensor. A distance in the preferential direction between the X-ray source and the object is different in the first picture than in the second picture. The multi-dimensional representation of the object is obtained by combining the first and second pictures.