A system for establishing a reference datum inside the eye of a patient includes an imaging unit for generating and directing imaging beams along respective beam paths into the eye. A detector is connected with the imaging unit and is used to identify the location(s) of marked responses on each beam path where the imaging beam intersects a selected interface surface. A computer then organizes the plurality of marked responses into a predetermined subset according to their common intersection with a same interface surface. This predetermined subset is then fitted with a topology of a surface to establish the reference datum.