referring now to fig3 and 4 , there is shown one embodiment of an endoscope according to the present invention . the endoscope of this embodiment is comprised of a laser 3 for generating projection lights ; a light source 7 for generating illumination lights , a scope 10 including a diffraction grating 1 for producing patterned beams , an imaging device 8 for taking images of objects , and a light guide 9 for illustrating objects by the illumination lights ; a camera control unit ( ccu ) 11 for extracting image signals from output signals of the imaging device 5 ; a decoder 12 for converting image signals into rgb signals ; an a / d converter 13 ; a frame memory 14 for storing image signals ; a d / a converter 15 ; a display 16 for displaying images of the objects ; a discriminator 17 for binarizing image signals ; a threshold indicator 18 for indicating threshold brightness to the discriminator 17 ; a spot position finder 19 for thinning the binarized image signals ; a spot indicator 20 for indicating positions of spots ; a spot corrector 21 for correcting the positions of the spots ; a keyboard 22 for selecting a mode of correction ; a cursor position finder 23 for indicating coordinates of a cursor on the display 16 ; and a cursor controller 24 for moving the cursor on the display 16 . the details of the spot indicator 20 and the spot corrector 21 are shown in fig4 where the spot indicator 20 includes a spot center indicator 30 for indicating coordinates of centers of the spots , a marking indicator 31 for attaching markings to the centers of the spots , a common degree ( c . d .) curve drawer 32 for determining c . d . curves , and a c . d . curve indicator 33 for indicating c . d . curves , while the spot corrector 21 includes an operation mode indicator 40 for indicating mode of correction selected at the keyboard 22 , and a correction controller 41 for making corrections . a detailed view of the top portion of the endoscope 10 is shown in fig5 . as in the prior art , the patterned beams 4 produced from laser beams 2 from the laser 3 by the diffraction grating 1 are projected on the object 6 to be imaged . the diffraction grating 1 is mounted at the distance pa away from the imaging device 8 . a forceps insertion aperture may be utilized as the location to mount the diffraction grating 1 . spots on the object 6 resulting from those beams whose directions make 90 ° from the direction of the length of the endoscope 10 are called 0 degree spots , as indicated in fig5 . spots adjacent to the right of 0 degree spots are called + 1 degree spots , while spots adjacent to the left of 0 degree spots are called - 1 degree spots , and so on . the center of the view of the imaging device 8 is indicated by the line labeled as m . such spots when viewed from the imaging device 8 at the distance pa from the diffraction grating 1 appear to be in a pattern deviated from the original pattern of the patterned beams , the deviation reflecting the shape of the object 6 , due to parallax . zn exmaple of an image taken by the imaging device 8 appearing on the display 16 is shown in fig6 where the horizontal direction corresponds to the direction of the length of the endoscope 10 , and different letters of labels given to the spots designate rows in the original pattern from which the spots originate while subscripts indicate degrees assigned to the spots which correspond to columns in the original pattern from which the spots originate . also , the 0 degree spots are shown by dots larger than those for the spots of other degrees to assist recognition . in addition , the spots of the same degree will be joint together by a curve which will be called a common degree ( c . d .) curve . it can easily be seen that in this exemplary view , the deviation is only in the horizontal direction . the system operates as follows . illumination lights produced by the light source 7 are shone on the object 6 to be imaged from the light guide 9 . meanwhile the laser beams 2 produced by the laser 3 are shone through the diffraction grating 1 to produce the patterned beams 4 which are projected on the object 6 . reflections of these illumination lights and the patterned beams 4 by the object 6 are captured by the imaging device 8 in the form of electric signals . at the ccu 11 these electric signals are converted into image signals representing the tristimulus values ey , ey - er , and ey - eb . these image signals on one hand are transmitted to the decoder 12 where they are converted into rgb signals . rgb signals are converted into digital rgb signals at the a / d converter 13 , and then stored separately in the frame memory 14 . to display images , image signals stored in the frame memory 14 are taken out , through the d / a converter 15 where they are converted into analog signals , to the display 16 where images will be shown for observations . on the other hand , image signals from the ccu 11 are also transmitted to the discriminator 17 where they are binarized with respect to the brightness according to a particular threshold brightness set by the threshold indicator 18 . the binary image signals from the discriminator 17 are subjected to the thinning at the spot position finder 19 in order to identify the positions of the centers of the spots . the coordinates on a view of the display 16 of these identified spot centers are obtained at the spot center indicator 30 , on the bases of which a marking x will be marked on each point identified as a spot center by the marking indicator 31 , and also common degree curves are determined by the c . d . curve drawer 32 and marked by the c . d . curve indicator 33 . these markings and common degree curves are superimposed for the sake of inspection on the view on the display 16 of the imaged object with the spot pattern coming from the frame memory 14 through the d / a converter 15 to the display 16 . an example of such a view having the markings and the common degree curves superimposed is shown in fig7 . in this exemplary view , there is one false marking due to some kind of false identification of an empty point as a spot , and also there is one missing spot due to some kind of misidentification of a spot as an empty point . as a result , the common degree curves shown by dotted lines which are supposed to join the markings corresponding to the spots of the same degree are incorrectly drawn , and the view indicates the shape of the object 6 inaccurately . when such an error was found upon inspection , the correction can be made by operating the keyboard 22 and the cursor controller 24 . at the keyboard 22 , whether the desired correction is an insertion or a deletion is specified , while at the cursor controller 24 , the cursor on the displayed view is moved to the point where the correction is to be made . the coordinate of the cursor on the displayed view is then obtained by the cursor position finder 23 and then transmitted to the correction controller 41 . the choice made at the keyboard 22 is given to the operation mode indicator 40 which identifies the chosen mode and transmit it to the correction controller 41 . the correction controller 41 makes the correction of the chosen type at the chosen point to the spot indicator 20 according to the informations given by the cursor position finder 23 and the operation mode indicator 40 . the spot indicator 20 then marks corrected markings by the marking indicator 31 and new common degree curves according to these corrected markings by the common curve drawer 32 and the common curve indicator 33 , and the corrected view will be shown at the display 16 from which the accurate shape of the object 6 can be recognized . as described , in this embodiment the shape recognition is facilitated with considerably less demands made upon a user because of the way of displaying identified spots which render the simple and quick inspection possible and the way of correcting any error found upon inspection which render the simple and quick correction possible . thus according to the present invention the shape recognition in the endoscope becomes remarkably maneuverable compared with the conventional systems . it is obvious that many modifications and variations of this embodiment may be made without departing from the novel and advantageous features of the present invention . accordingly , all such modifications and variations are intended to be included within the scope of the appended claims .
an endoscope is disclosed which incorporates an easily maneuverable device for recognizing the shapes of imaged objects . the endoscope includes device to project patterned beams on the objects , device to identify positions of spots made on the objects by the patterned beams , device to indicate the identified positions of the spots on a displayed image of the objects , device to correct errors found in the identified positions of the spots , and device to adjust the indications on the displayed image of the objects according to the corrections made .