An endoscope configured to measure a specimen using a pattern projection image of the specimen on which a light and shade pattern of light is projected, the endoscope may include: an insertion unit an image capturing unit installed at a tip section of the insertion unit and configured to acquire an image of the specimen an illumination unit having a first light source configured to emit illumination light to illuminate an observation field of vision of the image capturing unit a pattern projection unit having a second light source configured to emit projection light to project the light and shade pattern on the specimen and a control unit configured to control an operation of acquiring the image by the image capturing unit, an operation of emitting the illumination light from the illumination unit, and an operation of emitting the projection light from the pattern projection unit.