In an imaging procedure, sound pressure is generated by applying ultrasound to the region to be imaged in order to cause a deformation of tissue therein from at least one acquired ultrasound image data set, first data are determined that represent, with spatial resolution, the deformation of the tissue as a reaction to the sound pressure. At least one magnetic resonance image data set is acquired, from which second data are determined that represent, with spatial resolution, the deformation of the tissue as a reaction to the sound pressure. The at least one ultrasound image data set and the at least one magnetic resonance image data set are brought into registration with each other by a comparison of the first data and the second data.