An endoscope measures the topography of a surface. The endoscope contains a projection unit and an imaging unit. The endoscope is characterized in that an objective unit is provided as a component both of the projection unit and the imaging unit. By the integration of the projection unit and the imaging unit, which both use a common objective unit, the structural volume required by both units is reduced resulting in a smaller endoscope.