The three dimensional endoscope by compound optics is presented. The system consists of a micro-lens array, a signal separator and a photo-detector array. Digital processing of the captured multiple images is used to extract the surface profile. Preliminary experiments were executed on an evaluation system to verify the principles of the system and to clarify the issues related to its implementation.