Bioscan Optimas package from Bioscan, Incorporated ofEdmonds, running under Microsoft Windows was used for acquiring and analysis of endoscopic images. The fiberoscopic endoscope was used for imaging of the tissue of the cat stomach and for imaging of the known reference plane. The illumination system of the gastroscope was substituted by the special ordered fiber bundle, allowing the projection ofthe Ronchi ruling onto the surface of the investigated objects. The intensity distribution in the image of the reference grating and deformed grating were analyzed in order to determine the shift between the two gratings for corresponding fringes. The deviation from the reference plane was calculated, thus providing a three dimensional (3-D) representation ofthe two dimensional (2-D) endoscopic images.