A device to set and retrieve a reference point during a surgical procedure. The device (12) has an endoscope (312) which captures several images successively as an image sequence and generates image data corresponding to the image sequence, which data are then processed and output on at least one display unit (44).