1. A method for determining at least one value of at least one recording parameter for a recording of an X-ray image of a patient positioned on an examination table, comprising: scanning, in a contactless manner, at least part of a surface of the patient using at least one electromagnetic sensor; calculating a three-dimensional contour of the scanned surface; identifying at least one anatomic landmark of the patient using the three-dimensional contour; determining a position of the at least one anatomic landmark in a coordinate system of the examination table; and determining the at least one value of the at least one recording parameter using the determined position of the at least one anatomic landmark.