The disclosed method encompasses registering an augmented reality device such as augmented reality glasses with a tracking coordinate system associated with a position tracking system. This may be effected by different approaches, for example by using a distance measurement unit (depth sensor) of the augmented reality device to determine a position of the augmented reality device relative to an object in a medical environment such as in surgery or radiotherapy/radiosurgery. The object may additionally be tracked by the position tracking system so that on the basis of the distance measurement, a relative position between the augmented reality device and the tracking coordinate system can be determined in order to register the augmented reality device with the position tracking system. This registration allows displaying augmentation information in a desired context and/or at a desired location in the image of the medical environment captured by the augmented reality device.