Disclosed herein is an MRI machine for measuring at least a portion of a head of a patient, having at least one primary magnetic field unit and at least one patient opening. The MRI machine has a patient seat, where the patient seat has adjusting means, which are driven by at least one drive means controlled by a control unit to move the patient seat into the patient opening along a travel curve as far as an imaging position, in which the head of the patient is arranged at least partially in an imaging area of the MRI machine, wherein an adjustable element is attached to the patient seat relative to the patient seat and wherein, by means of a detector apparatus, the position of the adjustable element relative to the primary magnetic field unit and/or relative to the patient seat is automatically determined on the MRI machine.