The invention relates to a method and optical system for measuring the topography of a test object, having the characteristics disclosed in the generic portion of Patent Claim 1, and an optical system appropriate to said method, having the characteristics cited in the generic portion of Patent Claim 6.
Optical measurement systems, which obtain a number of spatial coordinates of the surface of a test object by parallactically projecting complex patterns onto an object, exist in the state of the art. In general in such cases a regular striped pattern is projected onto the test object. The position of the stripes is recorded with a scanner or a video camera. The measuring is based on a triangulation, so that the projection and image-recording angle and the distance between the camera and projector must be known. Because the stripes are not identifiable individually, there results a modulation uncertainty in determining the spatial coordinates, and said uncertainty must be resolved through multiple recordings, each at various stripe distances.
The projection of regular point patterns, which are produced by laser illumination of a diffractive optical element, is also part of the state of the art in automatic object recognition. A paper in Machine Vision News, Vol. 4, (1999) describes the displacement of the elements of a regular point pattern on projection onto an uneven surface. It is stated in general that new possibilities of object recognition would be opened up as a result, without any more precise description of these possibilities such as an identification of the points of the surface.
To exclude modular uncertainties in the optical measurement of spatial structures, unequivocally identifiable measurement data are mainly used, which are applied on the test object. With the help of image-recording and image-evaluating systems, these measurement data can be individually recognized and measured.
Measurement of three-dimensional structures or of surfaces and lengths is also a matter of significance in endoscopic measurement technology.
In medical applications, for instance, the minimally invasive recognition of shapes and volumes of tumors is important as an aid in decision making for the optimal treatment or for monitoring the growth process.
In technical endoscopy, for instance, on the basis of a quantitatively determined material error, it is possible to avoid or postpone the dismantling of the device until a critical mass is determined.
In these applications it is impossible to apply special measurement data on the test object.
Besides other measurement methods, therefore, in measurement endoscopy as well, use was made of the principle of image evaluation of the parallax, that is, of the apparent lateral displacement of an illuminated pattern, depending on the projection distance. In a 3D measurement endoscope described by K. Armbruster and M. Scheffler, of the Institut für angewandte Forschung in der Automation, in FH Reutlingen, structured light, for example a line pattern is projected into the object space that is to be measured and the setting image is photographed with a camera from a second perspective. In this method the position of the light source is defined with respect to the camera so that the 3D coordinates of an object surface can be calculated by means of triangulation. A method for photographing and measuring bodies was presented by K. Armbruster in the Volume of Proceedings of the 3rd Symposium on Image Processing, Technical Academy, Esslingen (1993).
In U.S. Pat. No. 5,150,254 A1 the principle of shape recognition by evaluation of a projected marker line was described in general terms. Stabilization of the angle of projection and the position of the marker line were cited as a fundamental problem, because both are decisive for the exact determination of the distance to the test object. The angle of projection and the image-recording angle are selected in such a way that the marker line lies in the middle of the image.
U.S. Pat. No. 5,669,871 A1 describes an endoscope with an illuminating system positioned on its distal end, a CCD image-recording system and a projection system for a line of reference. The optical axes of the image-recording system and of the projection system are at a defined distance from one another. A single line of reference is projected onto the object plane, so that the projection system has a means of adjustment in order to produce the straightest possible line of reference. In cylindrically domed object surfaces, the endoscope must be oriented in such a way that the line of reference runs parallel to the cylindrical axis. In addition it is essential in each case to ensure that the line of reference lies on the object part that is to be measured.
Through image evaluation, the spatial coordinates of a straight line are calculated for the lines of reference superimposed on the object image and the straight line is close to the image of the projected line of reference. From the deformations of the line of reference in the object image relative to the calculated straight line, the spatial coordinates of selected object points situated on the straight line of reference can be determined
Patent DE 3516164 C2 descries a system for optical length measurement with an endoscope. On the distal end of the endoscope, a projection system and an image-recording system are positioned at a fixed distance from one another. The optical axes of the two systems are arranged parallel to one another and the angles of aperture of the projection of the projection cone and of the image-recording cone are equal. By means of the projection system, a circular marker, for instance, is projected onto the object and is depicted in the image of the test object. The distance of the circular marker from the uppermost point of the visual field constitutes a reference length whose size is independent of the respective object distance because the parallactic displacement of the boundary of the visual field and of the position of the circular marker run parallel to one another, because of the equal conic angle.
Only one length estimation is possible with this method by means of relative length comparison. The exactitude depends, moreover, on whether the boundary of the visual field and the projection of the circular marker are situated in the same plane. No information can be obtained on heights by means of the test object.
It is therefore the object of the invention to produce a method of measurement and a system of measurement on the basis of illuminated measurement data for parallactic determination of coordinates, so that with the help of an image-evaluation system an unequivocal identification of the measurement data can be achieved entirely from the position of the measurement data in the image of the test object and the measuring system is not required to be situated so that it is adjusted to the shape of the test object.
This object is fulfilled according to the invention through a method of the aforementioned type having the defining characteristics of Patent Claim 1. Advantageous refinements are obtained from the characteristics of related Claims 2 through 5.
An optical system of the aforementioned type, appropriate for fulfilling the object, has, according to the invention, the defining characteristics of Claim 6. Advantageous embodiments are derived from related Claims 7 through 26.
The optical system, according to Claim 27, is particularly appropriate for use in an endoscope. An advantageous embodiment results from the defining characteristics of related Claim 28.
The fundamental concept in the invention consists in the fact that the first axis for positioning the elements of the test pattern is inclined by an angle ac relative to the vertical projection of the base line into a plane of reference. The base line is thus the connecting line between the midpoints of the pupils of the projection and image-recording system. The plane of reference is vertical to the optical axis of the image-recording system in the object space removed from the distal end of the optical system by a reference distance. It is the surface in which the test pattern is defined with the system parameters (x, a, s, t, n, m) explained in further detail hereafter. By establishing the reference distance, the distance-dependent parameters s and t receive a fixed value. The reference distance can be selected to be, for instance, the middle working distance for which the optical system is designed.
In a one-dimensional test pattern, only the inclination at a selected angle of 0 0 degrees ensures that with the parallactic displacement of the elements of the test pattern every element moves on its own line of displacement parallel to the projection of the base line. For an unequivocal proof of every element in the image, however, the size of the element and the dissolution power of the image-recording system must be considered in selecting the angle. At too small an angle oc, otherwise, neighboring elements could partly be covered up because of the resulting strongly differing parallactic displacement, with great local differences of height in the test object. The angle a should therefore be selected so that the distance a between the lines of displacement of every element is great enough so that sufficient space remains to the neighboring element for the surface of every element even with an error value of the position and with a possibly distorted line of displacement.
In a two-dimensional test pattern, the second axis can be inclined for the alignment of the other elements at any desired ankle beta relative to the first axis. Even here, however, care must be exercised so that with the parallactic displacement of the bar elements no mutual covering of the lines of displacement can occur. Depending on the number n and the distance s of the elements along the first axial direction and the distance t of the elements along the second axial direction, the angle a=arc tan 1n˜1s˜1 has proven to be optimal. It corresponds to a distance 1 of the lines of displacement in the size of a=ts(n2s2+t2)˜½ sin β (beta). Hereafter, for simplicity's sake, a right angle is most often assumed between the two axes.
With the regular arrangement of the elements of the test pattern, as defined by the parameters s and t, care must be exercised so that manufacturing tolerances of the generating optical component and illustration errors of the projection system can cause distortions of the test pattern in the plane of reference that can result in slightly distorted connecting lines in the axial directions, rows of lines, and column lines of the elements. In the plane of reference, therefore, the elements of the test pattern can differ from the pre-established regularity by an uncertainty u. To ensure identifiability of the elements of the test pattern according to the invention, the uncertainty u should be less than half the distance a of the lines of displacement of the regular test pattern. Therefore, u<½ts(n2s2+t2)−½ should apply. By respecting this condition, the lines of displacement have no common points despite a distortion.
To produce the test pattern it is useful to use a diffractive optical element (DOE) that is illuminated with a diode laser. A DOE works at relatively low loss rates and is easily handled in installation in the optical system to achieve the necessary orientation of the projected test pattern. With a test pattern with point-shaped elements, they can be produced with high intensity and sharp concentration.
The pre-established limitation of the number of elements along each axial direction ensures that all elements depicted in the image plane can be completely identified. The situation of the identified elements can be compared, in image processing, with the corresponding positions in the calibration images.
Any possible absent elements have no influence on the identifiability of the other elements.
From the image coordinators of the elements in the image of the test object determined through image processing, the related spatial coordinates of the element can be determined in the test pattern on the test object. The elements identified with their spatial coordinates can then be used as supports for calculating a surface adapted to it. Mathematical methods for computing fitted surfaces are known in the state of the art in their own right and in particular also allow a correlation with corresponding data sets from surface shapes acquired elsewhere.
In the illustration, embodiments of the invention are presented schematically and are described in greater detail on the basis of the drawings.
This connecting line forms the base of the measurement system. With a minor change of distance, the parallactic displacement of the point pattern is also minor; as is made clear from the points represented as rings. In this case each ring can be clearly related to its starting position.
The points depicted as rings appear in the image of the test object and are recognizably not related to any particular starting position. An unequivocal determination of the spatial coordinates of the illuminated points is not possible, especially when individual points are still not present in the image.
The depicted lines run parallel to the base of the measurement system.
The axial directions for the point pattern run at an angle to these lines. The result is a distance between the lines, whereby each of the filled-in points, upon its parallactic displacement, runs along its own line on which no additional points lie. The parallactically displaced points depicted as rings are also still separately recognizable despite partial overlapping and can be related to their respective starting position.
Even absent points in the parallactically displaced image do not disturb the evaluation of the additional points.
The related distance a between the lines of displacement 5, 6, 7 is derived from a=ts(n2s2+t2)˜½ sin β. The optimal angle alpha is oc=arc tan t-n-′-s-′, where t/n is the size of the axial segments on the axial direction 3, which derive from the crossing points of the lines of displacement 5, 6, 7 with the axial direction 3. Unequivocal identification of the elements Pij in the image of the test object is thus ensured. The depicted content is based on an ideal system. In practice the projection system 8 can produce distortions of the position of the Pij.
In addition to the point pattern, other forms such as a pattern from crossed coordinate lines can also be appropriate, provided the points of intersection move on independent lines of displacement.
Reasons for selecting the regular point pattern are the commercial availability of the DOE, the clear recognizable quality of the pattern because the light capacity is concentrated on small points, and, even with an optical distortion, the still relatively round shape of the points, which can easily be recognized by an automatic image-processing program. The system can essentially also be used with irregular test patterns, as long as every point has its own line of displacement.
Below the DOE a line system 12 can be positioned which adjusts the angle of illumination of the point pattern to the visual field of an image-recording system.
The measurement system has a head portion 13, which includes a projection system 8, an image-recording system 14, and a light leader cable 15 to illuminate the test object. The head part can also form the distal end of a video endoscope. The connecting line between the pupil midpoints of the projection system 8 and of the image-recording system 14 forms a test basis 17. The projection system 8 projects a point pattern Pij onto the surface 16 of the test object.
The head part 13 is connected with the operating element 18 of the measurement system by means of a shaft 19. The shaft 19 can also be a rigid or flexible endoscope tube. It contains the fibers 9 for illuminating the projection system 8, the electrical transmission lines 20 from and to the image-recording system 14, and a light leader cable 15.
The glass fiber 9 is fed in the operating element 18 by a laser diode 21.
The fiber type can be selected, depending on the demands, to be multimodal, single-modal, or single-modal-polarization-containing. A removable plug-in connection 22 is provided for greater ease of installation.
The function of the DOE contained in the projection system 8 is based on wavelength-dependent bending effects. The size of the test pattern thus changes in immediate proximity proportionally to the wavelength. To eliminate the resulting measurement uncertainty, the wavelength can either be held constant by thermostatizing the laser diode 21 or the wavelength is recorded by means of a temperature measurement on the laser diode 21 in order to compensate numerically the change in size of the test pattern.
The measurement system described so far is associated with several console appliances. A cold light source 23, for instance, supplies light energy to illuminate the test object by means of the light leader cable 15. The image-recording system 14, for instance, is a video camera with CCD chip which is controlled by a camera controller 24. A computer 25 with its software essentially controls the image recording, image management, image processing, calibration of the measurement system, the execution of the measurement, the control of the laser diode 21, and the temperature measurement and stabilization. A first and a second monitor 26, 27 can be linked up to the camera controller 24 and the computer 25. The connection of the console devices to the service element 18 is done by means of a plug-in distributor 28.
To obtain appropriate measurement values, the laser diode 21 is usefully switched on and off image-synchronously in quick succession. This provides the image-processing software, first of all, with state-of-the-art differentiation formation between successive images with and without test pattern. The differentiation then contains mainly just the image information of the test pattern.
In addition, an image without the disturbing test pattern is available for observation purposes.
The laser diode 21, in addition, can be further modulated in intensity with a noise so that a slight variation in the wavelength arid thus, continuing onward, a fluctuation in the speckle structure is caused. This improves the position determination of the elements of the test pattern and thus the measurement exactitude of the system.
The projection system 8 is positioned beside the image-recording system 14 in the illustrated sectional plane. During installation it is easily rotated so that the orientation of the test pattern to the extent previously described lies slightly diagonal to the projection of the base 17. During image depiction, this leads to the optical effect of an inclined test pattern.
It is possible, however, to position the projection system 8 in such a way that the projection 4 of the test basis runs at an inclined angle to one image side. This special case is illustrated in
The parallactically displaced test pattern in the image of the test object can be evaluated basically by two different methods.
The basis of an analytic process consists in determining and storing calibration parameters for every measurement system on the work side with the help of test images. The parameters are: image coordinates of all elements Pij in the selected calibration distance, the basis, the focal distances, the distortion, and the individual centering error of the optics.
In measuring, the measurement system must identify the elements Pij; that is, the indices I, j must be unequivocally determined. With basically familiar mathematical formulas, the spatial coordinates x, y, z are computed from the respective image coordinates u, v on the CCD chip of the video camera.
The basis for an interpolation process is the recording of n calibration images in n calibration distances, where a coordinate grid is used as calibration object. In the calibration image k the elements P(k)jj are identified. For every element P(k)ij the image coordinates u(k)ij and v(k)jj are recorded and determined on the calibration object with the help of the coordinate lines and the spatial coordinates x(k)j, x(k)ij, z(k)ij are determined, where z(k) corresponds to the respective calibration distance which is equal for all elements in the kth calibration plane. For all xij, a polynomial of the (n−1)th degree is formed in Ujj with the calibration values and likewise for y, j, and Zij, so that the calibration process that is to be carried out one time is concluded.
In measuring, for every point the indices I, j and the image coordinates ujj are recognized. With the ujj that are obtained, the spatial coordinates x, y, z are computed from the calibration polynomials for all elements into which a surface can then be fitted which approaches the actual surface of the test object. In this copied surface, by superimposition with the image of the test object, visible characteristics such as for instance damaged areas, tears, or corrosion surfaces, can then be designated and their size measured.
Number | Date | Country | Kind |
---|---|---|---|
103 08 383.9 | Feb 2003 | DE | national |
This application is a continuation of pending international patent application PCT/EP2004/001290 filed on Feb. 12, 2004 which designates the United States and claims priority of German Application No. 103 08 383.9 filed on Feb. 27, 2003.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/EP04/01290 | Feb 2004 | US |
Child | 11212886 | Aug 2005 | US |