1. An ocular imaging system for determining the location of an interface between media having different indices of refraction which comprises: a light source for radiating a beam; a pin hole aperture positioned along said beam; means for focusing said beam confocally with said aperture; and monitoring means responsive to the intensity of light that is specularly reflected through said aperture to indicate when said beam is focused on said interface.