An endoscope for quantitatively determining dimensions of an object in a cavity is provided. The endoscope has a projector connected to a light guide that can be introduced through the instrument channel. In the introduced position the projector projects a pattern at a defined illumination angle onto the object to be examined. The endoscope has a camera that captures the projected pattern at a fixed viewing angle in a distorted from corresponding to the object. The distorted form is used for quantitatively determining dimensions of the object by a triangulation method.