The embodiments relate to registering a near-infrared spectroscopy map and an anatomical image data record of a target region of the human body. A near-infrared spectroscopy data record of the target region is recorded using a multichannel near-infrared spectroscopy device including a plurality of sensor elements in a sensor arrangement. The near-infrared spectroscopy data record is analyzed to produce a near-infrared spectroscopy map. A three-dimensional anatomical image data record is recorded using an X-ray device without either sensor arrangement or target region being moved in comparison with the recording of the near-infrared spectroscopy data record. The sensor elements are segmented and localized in the anatomical image data record. The near-infrared spectroscopy map and the anatomical image data record are registered on the basis of the known positions of the sensor elements relative to the near-infrared spectroscopy map and in the anatomical image data record.