Three-dimensional geometric shape measuring device and three-dimensional geometric shape measuring method
Patent Information
- Application Number
- CN202110056495.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-01-22
- Filing Date
- 2021-01-15
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-01-15
AI Technical Summary
Existing three-dimensional geometric shape measurement methods are difficult to ensure sufficient accuracy when dealing with complex image distortion, especially image distortion caused by optical defects that affect measurement accuracy.
Using a device including a photographing device, a reference coordinate identification unit, a virtual coordinate identification unit, a correction unit and a geometric shape identification unit, by identifying the feature points of the reference instrument and the geometric characteristic information of the photographing device, correction information is generated to correct the measurement target image. Pixel coordinates to calculate more accurate three-dimensional coordinates.
Achieve higher measurement accuracy when dealing with complex image distortion, and improve the correction accuracy of image distortion through the averaging of multiple error images and correction in the depth direction.
Smart Images

Figure CN113155053B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a three-dimensional geometric shape measuring device and a three-dimensional geometric shape measuring method for measuring the three-dimensional geometric shape of a measurement object. Background Art
[0002] The light pattern projection method utilizes the principle of triangulation and performs three-dimensional (3D) geometry measurement by projecting a fringe pattern from a projector onto a measurement object and then photographing the pattern that changes according to changes in the geometry of the measurement object with a camera. In 3D geometry measurement, the measurement accuracy may be reduced due to the influence of image distortion caused by optical defects of the photographing component or the projection component, etc. Therefore, it is important to obtain image distortion by photographing a reference instrument for distortion correction to correct the image distortion. Japanese Unexamined Patent Application Publication No. 2017-207346 describes correcting the distortion of an image by photographing a calibration pattern on a reference instrument. Summary of the invention
[0003] Problem that the invention aims to solve
[0004] In the method described in Japanese Unexamined Patent Application Publication No. 2017-207346, in order to ensure accuracy, calibration is performed by radiating light having a specific wavelength. However, due to the complexity of image distortion, there is a problem that it is difficult to ensure sufficient accuracy using only this method.
[0005] The present invention focuses on this point, and an object of the present invention is to provide a 3D geometry measuring device and a 3D measuring method which are capable of performing more accurate measurement while dealing with complex image distortion.
[0006] Solutions for solving problems
[0007] A 3D geometry measuring device according to a first aspect includes a photographing device, and measures a three-dimensional geometry of a measurement object based on a measurement target photographed image obtained by photographing the measurement object using the photographing device, the 3D geometry measuring device including: a reference coordinate recognition unit, which recognizes the coordinates of a reference photographed pixel corresponding to a feature point in a reference photographed image generated by photographing a reference instrument having a plurality of feature points using the photographing device; and a virtual coordinate recognition unit, which recognizes the coordinates of a reference photographed pixel corresponding to a feature point by virtually projecting the feature point on the reference instrument onto the reference instrument using (i) geometric characteristic information representing the geometric features of the photographing device and (ii) relative position and posture information between the photographing device and the reference instrument. a correction section which generates correction information for correcting the coordinates of the measurement target photographing pixels included in the measurement target photographing image based on a comparison between the coordinates of the reference photographing pixels and the coordinates of the virtual photographing pixels; and a geometric shape recognition section which corrects the coordinates of a plurality of the measurement target photographing pixels included in the measurement target photographing image generated by photographing the measurement target with the photographing device based on the geometric characteristic information and the correction information, and recognizes the geometric shape of the measurement target based on the measured three-dimensional coordinates calculated from the coordinates of the measurement target photographing pixels.
[0008] The geometric characteristic information of the photographing device may include at least one of a function using a coefficient for distortion in a radial direction of the optical element and a function using a coefficient for distortion in a circumferential direction of the optical element. The correction section may identify an error between the coordinates of the virtual photographing pixel and the coordinates of the reference photographing pixel, the correction section may generate an error image in which the identified error is associated with the coordinates of the pixel corresponding to the identified error, and the geometric shape recognition section may correct the coordinates of the measurement target photographing pixel based on the error associated with the coordinates of the pixel corresponding to the measurement target photographing pixel in the error image, and calculate the measurement three-dimensional coordinates based on the corrected coordinates.
[0009] The correction section may estimate errors with pixels not associated with the error based on a plurality of errors of a plurality of reference captured pixels associated with coordinates different from the coordinates of the pixels not associated with the error, and generate an error image by associating coordinates of pixels corresponding to the estimated errors with the estimated errors.
[0010] The correction unit can generate multiple error images, which correspond to multiple reference captured images generated by capturing a reference instrument with a capturing device when the reference instrument is installed in multiple positions and postures. The device also includes a synthesis unit, which generates one or more average error images by averaging (i) errors associated with measurement target captured pixels in one error image and (ii) errors associated with the same measurement target captured pixels in another error image.
[0011] The correction unit may generate an error image corresponding to a plurality of reference captured images of a reference instrument gradually rotated around an axis in a depth direction. The geometry recognition unit may obtain an approximate value of a measurement 3D coordinate corresponding to a measurement target captured pixel included in the measurement target captured image, and calculate the measurement 3D coordinate based on the error recognized by using (i) a plurality of error images, (ii) the coordinates in the depth direction of the position of the reference instrument corresponding to the error image, and (iii) the coordinates in the depth direction of the approximate value. The 3D geometry measurement apparatus may further include a projection device that projects a projection image, wherein the image capturing device may generate the measurement target captured image by capturing a measurement object on which the projection image is projected.
[0012] A 3D geometry measurement method of a second aspect is a 3D geometry measurement method for measuring a 3D geometry of a measurement object based on a measurement target captured image obtained by capturing the measurement object with a capturing device, comprising the steps of: identifying coordinates of a reference captured pixel corresponding to a feature point in a reference captured image generated by capturing a reference instrument having a plurality of feature points with a capturing device; virtually projecting the feature point on the reference instrument onto an image plane of the capturing device by using (i) geometric characteristic information representing a geometric feature of the capturing device and (ii) relative position and posture information between the capturing device and the reference instrument, thereby identifying coordinates of a virtual captured pixel corresponding to the feature point in the image plane; generating correction information for correcting coordinates of measurement target captured pixels included in the measurement target captured image based on a comparison between the coordinates of the reference captured pixels and the coordinates of the virtual captured pixels; and correcting the coordinates of a plurality of measurement target captured pixels included in the measurement target captured image generated by capturing the measurement object with the capturing device based on the geometric characteristic information and the correction information, so as to identify the geometry of the measurement object based on measurement 3D coordinates calculated from the coordinates of the measurement target captured pixels.
[0013] Effects of the Invention
[0014] According to the present disclosure, an effect of performing measurement with higher accuracy while dealing with complex image distortion is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figures 1A to 1C An outline of a 3D geometry measuring device according to an embodiment is shown.
[0016] Figure 2 The configuration of the 3D geometry measuring device is shown.
[0017] Figure 3A and 3B Examples of characteristic points of the reference instruments are respectively shown.
[0018] Figure 4 Shows how to measure a reference instrument.
[0019] Figure 5 A method of identifying the coordinates of virtual photographing pixels is shown.
[0020] Figure 6 An example of an error between a reference photographing pixel (actually measured photographing pixel) and a virtual photographing pixel is shown.
[0021] Figure 7 A to Figure 7 F each shows an example of the type of projection image projected by the geometric shape recognition section.
[0022] Figure 8 A to Figure 8 D respectively show examples of gradient stripe patterns with sinusoidal brightness distribution.
[0023] Fig. 9 An example of Gray codes corresponding to a binary stripe pattern is shown.
[0024] Fig.10 Shows the relationship between absolute projection coordinates and relative projection coordinates.
[0025] Fig.11 The corresponding relationship between the first measurement target photographing pixels and the second measurement target photographing pixels is shown.
[0026] Fig.12 is a flowchart showing a process of generating an error image performed by a 3D geometry measuring device.
[0027] Fig.13 Detailed description is a flowchart showing a process of recognizing the geometric shape of a measurement object performed by a 3D geometric shape measuring device.
[0028] Fig.14 The relationship between (i) the coordinates in the depth direction and (ii) the lateral component of the error in the coordinates of a specific reference captured pixel is shown. DETAILED DESCRIPTION
[0029] [Overview of Three-Dimensional (3D) Geometry Measurement Device 100]
[0030] Figures 1A to 1C An outline of a 3D geometry measuring device 100 according to an embodiment is shown. Figure 1A The configuration of a 3D geometry measuring device 100 is shown. The 3D geometry measuring device 100 measures the 3D geometry of a measurement object based on a measurement target captured image (measurement captured image), wherein the measurement object is captured by one or more capturing devices. The 3D geometry measuring device 100 includes a first capturing device 1, a second capturing device 2, and a projection device 3 as optical devices. The 3D geometry measuring device 100 includes a control unit 4 that controls various operations of the optical device.
[0031] The projection device 3 is a projection device having a light source (e.g., a light emitting diode, a laser, etc.). The projection device 3 projects a projection image (including a pattern, etc.) for identifying projection coordinates onto the measurement surface of the measurement object. The projection coordinates represent the positions of the projection pixels constituting the projection image projected by the projection device 3. The projection coordinates may be one-dimensional coordinates representing the longitudinal position or the lateral position of the projection image, or two-dimensional coordinates representing both the longitudinal position and the lateral position of the projection image. The pattern is, for example, a stripe pattern. In addition, the number of projection devices 3 is not limited to one, and the 3D geometry measuring device 100 may include any number of projection devices.
[0032] The first photographing device 1 includes an optical element 11 and an imaging element 12. The optical element 11 is, for example, a lens. The optical element 11 may include a plurality of lenses or reflectors. In response to the projection device 3 projecting a projection image onto the measurement object, the first photographing device 1 generates a first photographed image by photographing the projection image projected on the measurement object. The first photographing device 1 is placed so that the optical axis of the first photographing device 1 forms a predetermined angle with the optical axis of the projection device 3.
[0033] The second shooting device 2 has an optical element 21 and an imaging element 22. The optical element 21 is, for example, a lens. The optical element 21 may include a plurality of lenses or reflectors. In response to the projection device 3 projecting a projection image onto the measurement object, the first shooting device 2 generates a second shot image by shooting the projection image projected on the measurement object. The second shooting device 2 is placed so that the optical axis of the second shooting device 2 forms a predetermined angle with the optical axis of the projection device 3. The optical axis of the second shooting device 2 may be in the same plane as the optical axis of the first shooting device 1 and the optical axis of the projection device 3, but is not limited thereto. The control unit 4 is implemented, for example, by a computer. Based on a plurality of shot images shot by the first shooting device 1 and the second shooting device 2, the control unit 4 measures the 3D geometry of the measurement object. In addition, the number of shooting devices is not limited to two, and the 3D geometry measuring device 100 may include any number of shooting devices.
[0034] Figure 1B and Figure 1C 1 and 2 respectively show examples of measurement target captured images generated by the first capturing device 1 when the projection device 3 projects the projection image onto the measurement object. Figure 1B and 1C As shown, the projection device 3 projects a projection image including a binary fringe pattern onto the measurement object. The binary fringe pattern is composed of a light projection area where light is projected and a non-projection area where no light is projected. Figure 1B The figure shows the measurement target captured image generated by the first capturing device 1 and the second capturing device 2 when the projection device 3 projects the projection image including the binary fringe pattern onto the flat measurement surface. The white area represents the light projection area, and the black area represents the non-projection area. When the measurement surface has no concave-convex, the binary fringe pattern of the measurement target captured image generated by the first capturing device 1 and the second capturing device 2 approximately matches the binary fringe pattern of the projection image in shape.
[0035] Figure 1C is a measurement target captured image generated by the first capturing device 1 or the second capturing device 2 when a binary fringe pattern is projected onto a measurement surface having a convex portion. Figure 1C In the measurement target captured image, the image of a part of the binary fringe pattern is deformed. In the measurement target captured image, the image of the binary fringe pattern is deformed by a certain amount according to the height of the protrusion. Therefore, the 3D geometry measuring device 100 can measure the geometry of the measurement object by identifying the height of each position of the protrusion based on the deformation amount in the image of the binary fringe pattern in the measurement target captured image.
[0036] The 3D geometry measuring device 100 stores in a storage unit: (i) geometry characteristic information indicating parameters such as the focal length and the image center representing the geometry characteristics of the first photographing device 1 and the second photographing device 2, as well as a function of lens distortion, and the like; and (ii) information on the relative position and posture between each photographing device and a reference instrument. By referring to this information, the geometry of the measured object is identified while correcting the distortion of the captured image. By photographing the feature points of the reference instrument (whose two-dimensional coordinates or 3D coordinates are known in advance), the 3D geometry measuring device 100 handles errors in the measurement of 3D coordinates, which are difficult to handle using only the geometry characteristic information representing the geometry characteristics. Since the 3D geometry measuring device 100 measures the 3D coordinates of the measurement points of the measured object by referring to the identified errors, the 3D geometry measuring device 100 can correct the influence of image distortion more accurately.
[0037] [Configuration of 3D Geometry Measurement Device 100]
[0038] Figure 2 1 shows a configuration of a 3D geometry measuring device 100. In addition to the first imaging device 1, the second imaging device 2, the projection device 3, and the control unit 4 shown in FIG. 1, the 3D geometry measuring device 100 further includes a storage unit 5.
[0039] The storage unit 5 includes a storage medium including a read-only memory (ROM), a random access memory (RAM), a hard disk, etc. The storage unit 5 stores a program to be executed by the control unit 4. The control unit 4 is, for example, a central processing unit (CPU). By executing the program stored in the storage unit 5, the control unit 4 functions as a reference coordinate recognition unit 401 (actual measurement coordinate recognition unit 401), a virtual coordinate recognition unit 402, a correction unit 403, a synthesis unit 404, and a geometric shape recognition unit 405.
[0040] [Measurement by reference instrument]
[0041] The reference coordinate recognition unit 401 generates a reference captured image (actual measurement captured image) by causing the first capturing device 1 or the second capturing device 2 to capture a reference instrument having a plurality of feature points. The reference coordinate recognition unit 401 recognizes the coordinates of pixels (hereinafter referred to as reference captured pixels (actual measurement captured pixels)) corresponding to the feature points of the reference instrument in the generated reference captured image.
[0042] Figure 3A and 3B Examples of reference points of the reference instruments are respectively shown. Figure 3A and 3B A reference instrument is shown in each case as viewed from above. Figure 3A A reference instrument is shown in which a plurality of black circles are arranged in the longitudinal direction and the transverse direction. Figure 3B A checkerboard reference instrument is shown. When using Figure 3A When using the reference instrument shown in FIG. 1 , the reference coordinate recognition unit 401 determines the center of the black circle as a feature point and recognizes the coordinates of the reference photographing pixel corresponding to the feature point. Figure 3B When the reference device is shown, the reference coordinate recognition unit 401 determines each vertex of the white squares and black squares constituting the checkerboard pattern as a feature point, and recognizes the coordinates of the reference captured pixels corresponding to the determined feature points.
[0043] It is assumed that the positions of the feature points of the reference instrument are measured in advance by another measuring instrument (not shown). For example, when any one of the plurality of feature points included in the reference instrument is an origin, relative coordinate information indicating the relative coordinates of the feature points other than the origin is stored in the storage unit 5. Information indicating the coordinates of the plurality of feature points included in the reference instrument may be stored in the storage unit 5.
[0044] Figure 4It shows how to measure the reference instrument 51. Figure 4 In the example of FIG. 4 , the reference instrument 51 is a flat plate-shaped member, but is not limited thereto, and any shape can be used as the reference instrument. The reference coordinate recognition unit 401 captures the reference instrument 51 more than once. In this measurement, the reference instrument 51 is sequentially installed at a plurality of positions, which are located in the depth direction (e.g., Figure 4 In addition, the reference instrument 51 can be installed in a variety of different postures.
[0045] In addition, a plurality of positions at which the reference instrument 51 is installed, or the postures of the reference instrument 51 when the reference instrument 51 is installed at the corresponding positions may be predetermined. In these cases, such positions and postures may be schematic. When photographing the reference instrument 51, the reference coordinate recognition unit 401 also acquires position and posture information indicating the relative position and posture between the photographing device and the reference instrument 51 to acquire geometric characteristic information indicating the geometric features of the photographing device. In addition, the reference coordinate recognition unit 401 may acquire position and posture information indicating the position and posture of the reference instrument 51 by measuring the 3D coordinates of each feature point on the reference instrument 51 by triangulation (for example, by combining photographing devices with each other or using a photographing device in combination with a projection device).
[0046] The reference coordinate recognition unit 401 generates a plurality of reference captured images by capturing the reference instrument 51 while the reference instrument 51 is installed at a corresponding position and posture. Based on the plurality of reference captured images, the reference coordinate recognition unit 401 recognizes the coordinates of reference captured pixels of feature points of the reference instrument 51 at a plurality of positions, etc.
[0047] Assume that the position and posture information corresponding to the position and posture of the reference instrument 51 is g (=1, ..., G). Assume that the feature point information corresponding to the feature point of the reference instrument 51 is h (=1, ..., H). Assume that the position of the reference captured pixel on the captured image is expressed by homogeneous coordinates, then the reference coordinate recognition unit 401 uses the following formula 1 to recognize the coordinates of the reference captured pixel corresponding to the feature point h of the reference instrument 51
[0048]
[0049] In formula 1, u g,h represents the lateral component of the homogeneous coordinate in the image plane of the captured image, v g,h represents the longitudinal component of the homogeneous coordinate in the image plane, and “T” represents the transpose of the matrix.
[0050] [Identify the coordinates of the virtual captured image]
[0051] The virtual coordinate identification unit 402 reads from the storage unit 5: (i) geometric characteristic information representing the geometric features of the first shooting device 1 or the second shooting device 2, and (ii) position and posture information representing the relative position and posture of the reference instrument 51 viewed from the first shooting device 1 or the second shooting device 2.
[0052] The virtual coordinate identification unit 402 uses the parameters and functions included in the read geometric characteristic information and the position and posture of the reference instrument 51 included in the position and posture information to identify the coordinates of the capturing pixels (hereinafter also referred to as virtual capturing pixels) corresponding to the feature points in the image plane when it is assumed that the feature points on the reference instrument 51 are virtually projected onto the image plane of the first capturing device 1 or the second capturing device 2.
[0053] Figure 5 A method of identifying the coordinates of virtual photographing pixels is shown. Figure 5 The camera coordinate system with the optical center C of the first photographing device 1 as the origin and the world coordinate system with the feature point O on the reference instrument 51 as the origin are shown. The X-axis, Y-axis, and Z-axis of the camera coordinate system and the Xw-axis, Yw-axis, and Zw-axis of the world coordinate system are shown. The Xw-axis and the Yw-axis are coordinate axes showing a plane on which a plurality of feature points are arranged on the reference instrument 51. The Zw-axis is a coordinate axis orthogonal to the plane on which a plurality of feature points are arranged, and corresponds to the coordinate axis in the example of the embodiment. Figure 4 Depth direction shown. Figure 5 "f" in represents the focal length of the optical element 11. It should be noted that, according to convention, the image plane is shown so that it is arranged on the side where the photographic object is located.
[0054] Using the world coordinate system, the characteristic point M of the reference instrument 51 is expressed as:
[0055] M=[X W Y W Z W ] T ...(2)
[0056] The virtual photographing pixel m (ie, the characteristic point M projected on the image plane of the first photographing device 1) is expressed as:
[0057] m=[uv] T ...(3)
[0058] The virtual photographing pixel m includes a lateral component u and a longitudinal component v of the image plane.
[0059] When the feature point M and the virtual photographed pixel m are represented by homogeneous coordinates, they are expressed as the following formulas 4 and 5, respectively:
[0060]
[0061]
[0062] Assume that the three-dimensional coordinate of feature point M in the camera coordinate system is x. x can be expressed as follows:
[0063]
[0064] In Formula 6, R is a rotation matrix. T is a translation vector. The rotation matrix R and the translation vector T can be used as relative position and posture information between the photographing device and the reference instrument. If A is a matrix including information such as the focal length of the first photographing device 1, x can be represented as follows using a scale factor s representing the size.
[0065]
[0066] In Equation 7, the components of matrix A are:
[0067]
[0068] In the components of the matrix A shown in Formula 8, u0 represents the horizontal component of the center of the captured image. v0 represents the vertical component of the center of the captured image. Using the focal length f and the number of pixels per horizontal unit length k u , α can be expressed as:
[0069] α=fk u ...(9)
[0070] Using focal length f and number of pixels per vertical unit length k v , β can be expressed as:
[0071] β=fk v ...(10)
[0072] Additionally, the shear coefficient omitted in Equation 8 may be included.
[0073] When both sides of Formula 7 are normalized, it will be expressed as Formula 11 shown below.
[0074]
[0075] In formula 11 Each component of is expressed as Formula 12 shown below.
[0076]
[0077] When Formulas 5, 11, and 12 are rewritten in consideration of the distortion of the image in the first photographing device 1 , the following Formulas 13 to 15 are obtained.
[0078]
[0079]
[0080]
[0081] The subscript d of each variable in the formula indicates that image distortion has been taken into account. The image distortion can be expressed as shown in the following formula 16 using a function included in the geometric characteristic information of the first capturing device 1 or the second capturing device 2 in the normalized camera coordinate system. The content of the geometric characteristic information is, for example, a function of the parameters of the focal length and the image center representing the geometric features of the first capturing device 1 or the second capturing device 2 and lens distortion.
[0082]
[0083] In Formula 16, r n It is expressed as:
[0084] r n 2 =x n 2 +y n 2 ...(17)
[0085] Moreover, k i (i=1, 2) is the coefficient for the distortion in the radial direction of the optical element. i (i=1, 2) is a coefficient for distortion in the circumferential direction. Using a predetermined function f a , x d The homogeneous coordinates of are expressed by the following formula 18.
[0086]
[0087] Similarly, using the predetermined function f b , modify Formula 12 to Formula 19 shown below:
[0088]
[0089] Furthermore, the geometric characteristic information representing the geometric features of the first photographing device 1, etc. is not limited to the example including a function using both a coefficient for distortion in the radial direction of the optical element and a coefficient for distortion in the circumferential direction of the optical element. For example, the geometric characteristic information representing the geometric features of the first photographing device 1, etc. may include at least one of the following: a function using a coefficient for distortion in the radial direction of the optical element, or a function using a coefficient for distortion in the circumferential direction of the optical element. It should be noted that the function of lens distortion shown here is an example, and any form thereof may be processed. Furthermore, depending on the degree of lens distortion, it is not necessary to use a function of the lens distortion itself.
[0090] The virtual coordinate recognition unit 402 uses the rotation matrix R g and the translation vector T g , the homogeneous coordinates of the virtual captured pixel m corresponding to the feature point M having the position and posture information g are identified using the following formula 20:
[0091]
[0092] The virtual coordinate recognition unit 402 obtains the variables A, k, p, and R in formula 20. g , T g , so that the homogeneous coordinates of the reference captured pixels The error from the coordinates of the virtual photographed pixel m is minimized, and each obtained variable is stored in the storage section 5 .
[0093] [Error Identification]
[0094] The correction part 403 compares the coordinates of the reference photographic pixel identified by the reference coordinate identification part 401 with the coordinates of the virtual photographic pixel obtained by Formula 20. The correction part 403 generates correction information for correcting the coordinates of the photographic pixel based on the comparison result.
[0095] Figure 6 An example of the error between the reference photographing pixel and the virtual photographing pixel is shown. Figure 6 In , "i" represents the horizontal coordinate in the reference captured image, and "j" represents the vertical coordinate in the reference captured image. The reference captured pixel is represented by a circle, and the virtual captured pixel is represented by a triangle. The correction unit 403 determines each variable of Formula 20, and then identifies the error between the coordinate of the virtual captured pixel and the coordinate of the reference captured pixel. The error e between the reference captured pixel and the virtual captured pixel is g,h Depend on Figure 6 The arrow in the figure shows the coordinates of the reference pixel shown in Formula 1. The coordinates of the virtual captured pixel shown in Equation 20 are The error between g,h It is expressed by the following formula 21.
[0096]
[0097] Error e g,h Includes component e along the i direction of the captured image 1,g,h and the component e along the j direction of the captured image 2,g,h The correction unit 403 converts the error e g,h and corresponds to the error e g,h The coordinates of the reference captured pixels are associated with each other and stored in the storage unit 5 .
[0098] [Generate error image]
[0099] The correction unit 403 also estimates errors for the captured pixels not associated with the errors in the storage unit 5 by interpolation processing. First, the correction unit 403 acquires a plurality of errors of a plurality of reference captured pixels associated with coordinates different from the coordinates of the captured pixels not associated with the errors from the storage unit 5. For example, the correction unit 403 acquires a plurality of errors in the storage unit 5 associated with coordinates within a predetermined distance from the captured pixels not associated with the errors.
[0100] Based on the acquired plurality of errors, the correction section 403 estimates errors of coordinates of captured pixels not associated with the errors using interpolation processing such as linear interpolation processing. The correction section 403 generates an error image in which the estimated errors and the coordinates of captured pixels corresponding to the errors are associated. The correction section 403 combines, in the error image, a combination in which the coordinates of the reference captured pixels and the errors corresponding to the coordinates of the reference captured pixels are associated with each other.
[0101] The error image can be expressed as:
[0102] E g =(E 1,g ,E 2,g )...(twenty two)
[0103] In Formula 22, E 1,g represents the lateral error component along the coordinates of the reference captured pixel, and E 2,g Represents an error component along the longitudinal direction of the coordinates of the reference captured pixel. When the reference coordinate identification unit 401 generates a plurality of reference captured images, the correction unit 403 generates a plurality of error images corresponding to the plurality of reference captured images. The correction unit 403 stores the generated error images in the storage unit 5 as correction information for correcting the coordinates of the captured pixels. The error image may include errors that may be difficult to represent using the function of Formula 16. Therefore, by referring to the function of Formula 16 and the error image, the correction unit 403 can improve the correction accuracy of image distortion by correcting the measurement result of the object to be measured.
[0104] [Generate a single error image]
[0105] The synthesis unit 404 acquires the error associated with the captured pixel in one error image and the error associated with the same captured pixel in another error image from the storage unit 5. The synthesis unit 404 calculates a new error associated with the captured pixel by averaging a plurality of acquired errors. The synthesis unit 404 generates a single error image by repeating the same process for other captured pixels. For example, the synthesis unit 404 generates a single error image by averaging the error components corresponding to a plurality of error images as shown in the following formula 23.
[0106]
[0107] In Formula 23, G x Represents the number of error images.
[0108] The synthesis section 404 is not limited to the example in which a plurality of error images are averaged to generate a single error image. For example, the synthesis section 404 may generate a plurality of error images by averaging a plurality of error images whose coordinates in the depth direction are relatively close to each other. For example, the synthesis section 404 may generate a plurality of average error images by averaging error images No. 1 to No. 3 among a plurality of error images No. 1 to No. 8 to generate one error image, and averaging error images No. 2 to No. 4 to generate another error image. By doing so, the number of error images stored in the storage section 5 can be reduced to reduce the processing load or the required storage capacity, and conversely, the number of error images can be increased to improve the correction accuracy. It should be noted that the acquired relative position and posture information of the photographing device and the reference instrument can be used as the coordinates of the reference instrument in the depth direction. It is also possible to use: information on the installation position of a pre-specified reference instrument, measurement results of 3D coordinates of feature points of the reference instrument obtained by a plurality of photographing devices or a combination of a photographing device and a projection device, and the like.
[0109] [Correction using geometric characteristic information]
[0110] The geometric shape recognition unit 405 projects the projection image onto the measurement surface of the measurement object using the projection device 3. The geometric shape recognition unit 405 controls the first photographing device 1 and the second photographing device 2 to photograph the measurement object when projecting the projection image to generate a measurement target photographed image. Hereinafter, the measurement target photographed image generated by the first photographing device 1 may be referred to as a first measurement target photographed image, and the measurement target photographed image generated by the second photographing device 2 may be referred to as a second measurement target photographed image.
[0111] The geometric shape recognition section 405 corrects the coordinates of a plurality of measurement target photographing pixels (measurement photographing pixels) included in the measurement target photographing image based on (i) the function included in the geometric characteristic information that is stored in the storage section 5 and represents the geometric features of the first photographing device 1 or the second photographing device 2 as shown in Formula 16, and (ii) the error image as correction information generated by the correction section 403. The geometric shape recognition section 405 corrects the overall distortion for the coordinates of each measurement target photographing pixel included in the measurement target photographing image using the function included in the geometric characteristic information of the first photographing device 1 or the second photographing device as shown in Formula 16.
[0112] [Correction using a single error image]
[0113] The geometric shape recognition unit 405 reads the single error image synthesized by the synthesis unit 404 from the storage unit 5. The geometric shape recognition unit 405 recognizes the coordinates of the pixels in the error image corresponding to the coordinates of the measurement target captured pixels. For example, the geometric shape recognition unit 405 recognizes the coordinates of the pixels in the error image that are closest to the coordinates of the measurement target captured pixels. The geometric shape recognition unit 405 recognizes the error associated with the coordinates of the pixels recognized in the error image.
[0114] Based on the identified error, the geometric shape recognition unit 405 corrects the coordinates of the measurement target captured pixel. For example, the geometric shape recognition unit 405 corrects the coordinates of the measurement target captured pixel by using the error component E 1,g (i, j) changes the coordinates in the horizontal direction, and the error component E 2,g (i, j) changes the coordinates in the longitudinal direction to correct the local distortion of the coordinates (i, j) of the measurement target captured pixel included in the measurement target captured image. 1,g (i,j) and E 2,g (i,j) is represented by the error image.
[0115] [Identification of projection coordinates]
[0116] Based on the corrected coordinates of the measurement target photographed pixels, the geometric shape recognition section 405 calculates the measured 3D coordinates of the measurement point of the measurement object. In the present embodiment, an example will be described in which the geometric shape recognition section 405 calculates the measured 3D coordinates of the measurement point by recognizing the correspondence between the first measurement target photographed pixels of the first measurement target photographed image and the second measurement target photographed pixels of the second measurement target photographed image.
[0117] Figure 7 A to Figure 7 F each shows an example of the type of projection image projected by the geometric shape recognition section 405 . Figure 7 A to Figure 7 The black area in F indicates a non-projection area where the geometric shape recognition unit 405 does not project light, and the white area indicates a light projection area where the geometric shape recognition unit 405 projects light.
[0118] Figure 7 A shows a standard pattern whereby light is not projected onto any part of the measurement object (ie, a completely black pattern). Figure 7 B shows a standard pattern whereby light is projected onto the entire object to be measured (ie, an all-white pattern). Figure 7 C to Figure 7 F shows a binary fringe pattern, which is composed of a light projection area and a non-projection area, and in which stripes having different widths for each projection image are arranged in the same direction. Figure 7 C to Figure 7The fringe pattern shown in F corresponds to a Gray code and is used to identify projection coordinates indicating the position of a projection pixel of a projection image corresponding to a measurement target captured pixel in a measurement target captured image. The details will be described below.
[0119] The geometric shape recognition section 405 projects a projection image including a gradational fringe pattern having a sinusoidal brightness distribution onto the measurement object. Figure 8 A to Figure 8 D respectively show examples of gradient stripe patterns with sinusoidal brightness distribution. Figure 7 C to Figure 7 The binary stripe pattern shown in F is a binary image consisting of black areas and white areas. Figure 8 A to Figure 8 In the gradient stripe pattern shown in D, the shade changes in a sinusoidal manner from the white area to the black area along the width direction of the stripe. Figure 8 A to Figure 8 The intervals between the stripes in the gradient stripe pattern of D are constant, and the spatial frequency of the stripes in the gradient stripe pattern is, for example, Figure 7 F is four times the spatial frequency of the binary fringe pattern.
[0120] Figure 8 A to Figure 8 The gradient stripe patterns of D are different from each other in that the phases of the sine waves representing the brightness distribution are 90 degrees different from each other, but their brightness distributions are the same. In this embodiment, the geometric shape recognition unit 405 projects a total of ten projection images: Figure 7 The two standard patterns shown in A and 7B, Figure 7 The four binary fringe patterns shown in C to 7F, and Figure 8 The four gradient stripe patterns shown in A to 8D. Figure 8 A to Figure 8 The gradient stripe pattern shown in D is Figure 7 A to Figure 7 The fringe pattern shown in F is used together to identify the projection coordinates. The geometric shape recognition section 405 may also project a plurality of projection images including patterns in which the widths of the fringe differ depending on the directions in which the fringe extends onto the measurement object.
[0121] As mentioned above, Figure 7 The binary stripe patterns shown in C to 7F correspond to Gray codes. Fig. 9 Shown with Figure 7 Examples of Gray codes corresponding to the binary fringe patterns shown in C to 7F. By associating 0 in the Gray code with the non-projection area and 1 with the light projection area, Figure 7 C to Figure 7 The binary fringe pattern shown in F.
[0122] Figure 7 A to 7F and Fig. 9 Each position in the x direction in is represented by a code value, which is a combination of the numbers 0 and 1 at the corresponding position in the Gray code. Fig. 9 Position 0 in corresponds to the code value "0000", position 1 corresponds to the code value "0001", and position 15 corresponds to the code value "1000".
[0123] The geometric shape recognition section 405 generates a measurement target captured image in which a projection image projected onto the measurement target is captured by the first capturing device 1 and a measurement target captured image in which a projection image projected onto the measurement target is captured by the second capturing device 2. Based on a pattern included in the measurement target captured image, the geometric shape recognition section 405 recognizes projection coordinates indicating positions of projection pixels corresponding to the measurement target captured pixels included in the measurement target captured image. By analyzing changes in shades in the pattern included in the measurement target captured image, the geometric shape recognition section 405 recognizes projection coordinates corresponding to the measurement target captured pixels included in the measurement target captured image.
[0124] For each pixel, the geometric shape recognition unit 405 calculates the projection Figure 7 The brightness value of the all-black pattern shown in A is the same as that when projecting Figure 7 The average value of the brightness value when the full white pattern is shown in B is taken as the median value. Figure 7 C to Figure 7 The geometric shape recognition unit 405 compares the brightness value of each measurement target captured pixel in the four measurement target captured images with the corresponding intermediate value to identify the code value of each measurement target captured pixel. By identifying the code value, the geometric shape recognition unit 405 can identify which binary stripe is reflected at each pixel position of the measurement target captured pixel among the binary stripes projected to different positions. The geometric shape recognition unit 405 Fig. 9 Position 1 to position 15 shown in FIG. 1 identify positions, which include each captured pixel included in the measurement target captured image.
[0125] In addition, when a gradient stripe pattern with a sinusoidal brightness distribution is projected onto the measurement object, the geometric shape recognition unit 405 recognizes the phase of the sine wave corresponding to the measurement target captured pixel in the measurement target captured image as the projection coordinate. Because the gradient stripe pattern of the projection image has periodicity, multiple projection pixels in the projection image have the same projection coordinate. In the following, the projection coordinate with periodicity in the projection image is also referred to as the relative projection coordinate. In addition, the projection coordinate uniquely determined in the projection image is also referred to as the absolute projection coordinate.
[0126] Fig.10 Shows the relationship between absolute projection coordinates and relative projection coordinates. Fig.10 The vertical axis represents the projection coordinates. Fig.10 The horizontal axis of represents the position of the projection pixel in the width direction of the stripes included in the projection image. The width direction is a direction orthogonal to the direction in which the stripes extend. Fig.10 As shown by the solid line in , the relative projection coordinates have periodicity. For each period of repetition of the gradient fringe pattern with a sinusoidal brightness distribution, the relative projection coordinates show the same value. On the other hand, Fig.10 As shown by the dotted line in , the absolute projection coordinates are uniquely determined in the projection image.
[0127] The geometric shape recognition unit 405 recognizes the relative projection coordinates corresponding to the measurement target captured pixel by analyzing the shade of the gradient stripe pattern. The geometric shape recognition unit 405 recognizes which position of the measurement target captured pixel from position 0 to position 15 the measurement target captured pixel corresponds to based on the Gray code represented by the binary stripe pattern, thereby recognizing the absolute projection coordinates corresponding to the measurement target captured pixel.
[0128] [Identification of correspondence between measured 3D coordinates]
[0129] The correspondence relationship between the first measurement target photographing pixels included in the first measurement target photographing image generated by the first photographing device 1 and the second measurement target photographing pixels included in the second measurement target photographing image generated by the second photographing device 2 can be obtained by using an epipolar line. Fig.11 The corresponding relationship between the first measurement target photographing pixels and the second measurement target photographing pixels is shown. Fig.11 The left side of shows the image plane of the first measurement target captured image, Fig.11 The right side of shows the image plane of the second measurement target captured image.
[0130] In the image plane of the second measurement target captured image, the epipolar line E corresponding to the first measurement target captured pixel A is shown. BA Assuming that the first measurement target photographing pixel A and the second measurement target photographing pixel B correspond to the same measurement point M of the measurement object, the second measurement target photographing pixel B is located on the epipolar line E in the image plane of the second measurement target photographing image. BA superior.
[0131] The geometric shape recognition unit 405 recognizes the second measurement target photographing pixel B corresponding to the same measurement point M as the first measurement target photographing pixel A on the measurement object. Specifically, the geometric shape recognition unit 405 recognizes the second measurement target photographing pixel B corresponding to the measurement point M on the measurement object. BAThe second measurement target photographing pixel B on the image sensor 1 corresponds to the first measurement target photographing pixel A and has the same absolute projection coordinates as the first measurement target photographing pixel A. When the subscript representing the first photographing device 1 is α, Formula 19 can be rewritten as the following Formula 24:
[0132]
[0133] When the subscript representing the second photographing device 2 is β, Formula 19 can be rewritten as the following Formula 25:
[0134]
[0135] The first measurement target photographing pixel A and the second measurement target photographing pixel B corresponding to the same measurement point M of the measurement object are used for the calculation of the coordinates. The geometric shape recognition unit 405 reads the variable A obtained by the virtual coordinate recognition unit 402 from the storage unit 5. α , k α 、p α , R α,1 , T α,1 , A β , k β 、p β , R β,1 and T β,1 And the error image. Using the read A α , k α 、p α , R α,1 , T α,1 , A β , k β 、p β , R β,1 , T β,1 and the error image, the geometric shape recognition unit 405 can calculate the measured 3D coordinates of the measurement point M And correct the distortion of the captured image.
[0136] The geometric shape recognition unit 405 similarly calculates the measured 3D coordinates of other measurement points of the measurement object. Based on the 3D coordinates of the plurality of calculated measurement points, the geometric shape recognition unit 405 recognizes the geometric shape of the measurement object. In addition, the geometric shape recognition unit 405 is not limited to the example of calculating the measured 3D coordinates of the measurement point by recognizing the correspondence between the first measurement target photographing pixel A and the second measurement target photographing pixel B. For example, the geometric shape recognition unit 405 can calculate the measured 3D coordinates of the measurement point by recognizing a combination of the first measurement target photographing pixel A and the projection pixel included in the projection image.
[0137] [Variation Example of Selecting Error Image to be Corrected]
[0138] In addition, the geometric shape recognition unit 405 may select an error image for correction for each measurement target photographing pixel. The correction unit 403 generates an error table in which the coordinates in the depth direction where the reference instrument 51 is installed are associated with the error image and stores the error table in the storage unit 5 .
[0139] The geometric shape recognition unit 405 obtains the approximate value of the measured 3D coordinates corresponding to the measurement target captured pixels included in the measurement target captured image. For example, the geometric shape recognition unit 405 obtains the approximate value of the measured 3D coordinates of the measurement point of the measurement object without using the error image. The geometric shape recognition unit 405 can obtain the approximate value of the measured 3D coordinates by reducing the number of significant digits of the data. The geometric shape recognition unit 405 obtains the error table from the storage unit 5.
[0140] The geometric shape recognition section 405 refers to an error table including a plurality of error images, and compares (i) the coordinates of the position of the reference instrument corresponding to the error image in the depth direction with (ii) the coordinates of the obtained approximate value in the depth direction. The geometric shape recognition section 405 selects an error image based on the comparison result. For example, the geometric shape recognition section 405 selects an error image associated with a coordinate in the depth direction that is closest to the coordinate in the depth direction of the obtained approximate value.
[0141] By referring to the selected error image, the geometric shape recognition unit 405 calculates the measured 3D coordinates. For example, the geometric shape recognition unit 405 identifies the error associated with the coordinates of the photographing pixel closest to the approximate value of the measured 3D coordinates. Based on the identified error, the geometric shape recognition unit 405 corrects the coordinates of the measurement target photographing pixel. Based on the corrected coordinates of the measurement target photographing pixel, the geometric shape recognition unit 405 calculates the measured 3D coordinates of the measurement point.
[0142] In addition, regarding the depth direction, the geometric shape recognition unit 405 may select a plurality of error images near the coordinates in the depth direction of the approximation value, and obtain the value of the error image corresponding to the coordinates in the depth direction of the approximation value by interpolation. As an example, by using a plurality of selected error images, the geometric shape recognition unit 405 may obtain the value of the error image corresponding to the coordinates in the depth direction of the approximation value by linear interpolation. This method can perform correction with higher accuracy.
[0143] The following method can be used to obtain an approximate value. For example, using the measurement system of FIG. 1, measurement can be performed by combining multiple devices, such as calculating 3D coordinates by combining a shooting device and a projection device, using two shooting devices and a projection device to calculate 3D coordinates, etc. The result of a certain measurement system among the multiple measurement systems obtained in this way can be used as an approximate value. For example, the 3D coordinates of a combination of a shooting device and a projection device can be used as an approximate value of a measurement using two shooting devices and a projection device. In this way, the measurement efficiency can be improved.
[0144] The geometry recognition unit 405 is not limited to the example in which the error image is used to correct the image distortion. For example, the geometry recognition unit 405 can use the error image to correct the distortion of the image of the projection device 3. Since the projection device 3 is the same as the first capture device 1 except that the traveling direction of light is opposite to that of the first capture device 1, the geometry recognition unit 405 can correct the image distortion of the projection device 3 in a similar manner to the first capture device 1.
[0145] [Processing process of generating error image]
[0146] Fig.12 1 is a flowchart showing a process of generating an error image performed by the 3D geometry measuring apparatus 100. For example, when an operation receiving section (not shown) receives a user operation instructing to calibrate a function included in the geometric characteristic information of the first imaging device 1 stored in the storage section 5 in a state where the reference instrument 51 is installed, the process starts.
[0147] First, the reference coordinate recognition unit 401 generates a reference captured image by capturing a reference instrument 51 having a plurality of feature points with the first capturing device 1. By analyzing the generated reference captured image, the reference coordinate recognition unit 401 recognizes the coordinates of the reference captured pixels corresponding to the feature points of the reference instrument 51 (S101). The virtual coordinate recognition unit 402 reads geometric characteristic information including parameters and functions representing geometric characteristics of the first capturing device 1, and position and posture information identifying the position and posture of the reference instrument 51 from the storage unit 5. Using the read geometric characteristic information and position and posture information, the virtual coordinate recognition unit 402 recognizes the coordinates of the virtual captured pixels (S102).
[0148] The correction section 403 identifies an error between the coordinates of the virtual photographic pixel and the coordinates of the reference photographic pixel (S103). The reference coordinate identification section 401 determines whether errors corresponding to all reference photographic pixels have been identified (S104). When it is determined that errors corresponding to all reference photographic pixels have been identified in the determination of step S104 ("Yes" in S104), the reference coordinate identification section 401 performs interpolation processing based on the acquired plurality of errors (S105), and estimates errors corresponding to photographic pixels that are not associated with errors.
[0149] By associating the estimated error with the coordinates of the captured pixel corresponding to the error, the correction section 403 generates an error image (S106), and ends the process. When it is determined that errors corresponding to all reference captured pixels are not identified in the determination of step S104 (No in S104), the reference coordinate identification section 401 returns to the process of step S101.
[0150] [Processing of geometric shape recognition of the measured object]
[0151] Fig.13 1 is a flowchart showing a process of recognizing the geometric shape of the measurement object executed by the 3D geometry measuring device 100. The process starts when the operation receiving section receives an operation of a user instructing to recognize the geometric shape of the measurement object.
[0152] First, the geometric shape recognition unit 405 generates a measurement target captured image based on a projection image projected onto the measurement target captured by the first capturing device 1 and a measurement target captured image based on a projection image projected onto the measurement target captured by the second capturing device 2 (S201). The geometric shape recognition unit 405 corrects the coordinates of the measurement target captured pixels included in the measurement target captured image using a function representing the geometric features of the first capturing device 1, etc. The geometric shape recognition unit 405 refers to the single error image synthesized by the synthesis unit 404 and corrects the coordinates of the measurement target captured pixels included in the measurement target captured image (S202).
[0153] The geometric shape recognition unit 405 recognizes the projection coordinates indicating the positions of the projection pixels corresponding to the measurement target photographed pixels by analyzing the changes in the shades in the pattern included in the corrected measurement target photographed image (S203). The geometric shape recognition unit 405 calculates the measured 3D coordinates of the same measurement point of the measurement target by recognizing the combination of the first measurement target photographed pixels and the second measurement target photographed pixels corresponding to the measurement point of the measurement target (S204).
[0154] The geometric shape recognition section 405 determines whether there is another measurement target photographing pixel that is not used for calculating the measurement 3D coordinates (S205). When there is no other measurement target photographing pixel that is not used for calculating the measurement 3D coordinates in the determination process of step S205 (No in S205), the geometric shape recognition section 405 recognizes the geometric shape of the measurement object based on the measurement 3D coordinates of the plurality of measurement points (S206). When there is another measurement target photographing pixel that is not used for calculating the measurement 3D coordinates in step S205 (Yes in S205), the geometric shape recognition section 405 returns to the process of step S202.
[0155] [Effects of the Invention]
[0156] In the 3D geometry measuring device 100 of the present embodiment, the geometry recognition unit 405 corrects the coordinates of a plurality of measurement target photographing pixels included in the measurement target photographing image based on (i) the function representing the geometric features of the first photographing device 1 and (ii) the correction information for correcting the coordinates of the measurement target photographing pixels. Therefore, the geometry recognition unit 405 can highly accurately correct image distortion that is difficult to represent by the function representing the geometric features.
[0157] [Modification of Shooting a Reference Instrument Rotating About an Axis in the Depth Direction]
[0158] The reference coordinate recognition unit 401 may generate a plurality of reference captured images of the reference instrument 51 gradually rotating around an axis in the depth direction. The correction unit 403 may generate error images corresponding to these reference captured images. The synthesis unit 404 may generate an error image which is an error image obtained by averaging the generated plurality of error images. In this way, since the synthesis unit 404 averages the changes in the coordinates of the feature points of the reference instrument 51 in the depth direction, the measurement accuracy may be further improved.
[0159] [Modification Example for Obtaining Correction Function]
[0160] Using the plurality of error images, the correction unit 403 may generate a correction function for correction for each captured pixel. Fig.14 The relationship between (i) the coordinates in the depth direction and (ii) the lateral component of the error in the coordinates of a specific reference captured pixel is shown. Fig.14 The horizontal axis in represents the coordinate in the depth direction where the reference instrument 51 is installed. Fig.14 The vertical axis in represents the lateral component of the error in the coordinates of a specific captured pixel. Fig.14 The multiple black circles in show the distribution of the lateral component of the error in the coordinates of a specific captured pixel.
[0161] The lateral component of the error in the coordinates of the captured pixels varies according to the coordinates in the depth direction. The correction unit 403 may generate a correction function that matches the black circle distribution of the lateral component of the error in the coordinates of the captured pixels, such as Fig.14 For example, using a known technique such as the least squares method, the correction unit 403 generates Fig.14 The correction unit 403 associates (i) the generated correction function, (ii) the longitudinal coordinates of the captured pixels, and (iii) the lateral coordinates of the captured pixels with each other and stores them in the storage unit 5. The correction unit 403 generates a similar correction function for the longitudinal component of the error in the coordinates of the captured pixels.
[0162] Instead of the error image, the geometric shape recognition section 405 refers to the correction function generated by the correction section 403 to correct the coordinates of the measurement target photographing pixel. Since the geometric shape recognition section 405 can obtain the error of the coordinates of the measurement target photographing pixel corresponding to any coordinates in the depth direction by referring to the correction function, the image distortion can be corrected with higher accuracy.
[0163] The present invention is explained based on the example embodiments. The technical scope of the present invention is not limited to the scope described in the above embodiments, and various changes and modifications can be made within the scope of the present invention. For example, the specific implementation of the distribution and integration of the device is not limited to the above-mentioned embodiments, and all or part of it can be configured with any unit that is functionally or physically dispersed or integrated. In addition, new example embodiments generated by any combination of them are included in the example embodiments of the present invention. In addition, the effect of the new example embodiment brought about by the combination also has the effect of the original example embodiment.
[0164] [Description of Reference Signs]
[0165] 1 First Shooting Device
[0166] 2 Second camera
[0167] 3 Projection devices
[0168] 4 Control Unit
[0169] 5 Storage
[0170] 11 Optical Components
[0171] 12 Imaging element
[0172] 21 Optical Components
[0173] 22 Imaging element
[0174] 51 Reference Instruments
[0175] 100 Three-dimensional geometry measuring device
[0176] 401 Reference coordinate identification unit
[0177] 402 Virtual coordinate recognition unit
[0178] 403 Correction Department
[0179] 404 Synthesis Department
[0180] 405 Geometric Shape Recognition Unit
Claims
1. A three-dimensional geometric shape measuring device, comprising a photographing device, and measuring the three-dimensional geometric shape of a measurement object based on a measurement target photographed image obtained by photographing the measurement object using the photographing device, wherein the three-dimensional geometric shape measuring device include: a reference coordinate recognition section that recognizes coordinates of a reference captured pixel corresponding to a feature point in a reference captured image generated by capturing a reference instrument having a plurality of feature points using the capturing device; a virtual coordinate recognition unit for recognizing coordinates of virtual imaging pixels corresponding to the feature points in the image plane by virtually projecting the feature points on the reference instrument onto the image plane of the imaging device using (i) geometric characteristic information indicating geometric features of the imaging device and (ii) relative position and posture information between the imaging device and the reference instrument, wherein the geometric characteristic information includes at least one of a function using coefficients related to distortion in a radial direction of an optical element or a function using coefficients related to distortion in a circumferential direction of the optical element; a correction section that generates correction information for correcting the coordinates of the measurement target photographic pixels included in the measurement target photographic image based on a comparison between the coordinates of the reference photographic pixels and the coordinates of the virtual photographic pixels; and a geometric shape recognition section that corrects, based on the geometric characteristic information and the correction information, coordinates of a plurality of measurement target photographing pixels included in the measurement target photographing image generated by photographing the measurement target with the photographing device, and recognizes a geometric shape of the measurement target based on measurement three-dimensional coordinates calculated from the coordinates of the measurement target photographing pixels.
2. A three-dimensional geometric shape measuring device, comprising a photographing device, and measuring the three-dimensional geometric shape of the measuring object based on a measurement target photographed image obtained by photographing the measuring object using the photographing device, the three-dimensional geometric shape measuring device include: a reference coordinate recognition section that recognizes coordinates of a reference captured pixel corresponding to a feature point in a reference captured image generated by capturing a reference instrument having a plurality of feature points using the capturing device; a virtual coordinate recognition unit for recognizing coordinates of virtual captured pixels corresponding to the feature points in the image plane by virtually projecting the feature points on the reference instrument onto the image plane of the captured device using (i) geometric characteristic information representing geometric features of the captured device and (ii) relative position and posture information between the captured device and the reference instrument; a correction section that identifies an error between the coordinates of the virtual captured pixel and the coordinates of the reference captured pixel to generate an error image as correction information for correcting the coordinates of the measurement target captured pixel included in the measurement target captured image, in which the identified error is associated with the coordinates of a pixel corresponding to the error; and a geometric shape recognition section that corrects the coordinates of a plurality of measurement target photographing pixels included in a measurement target photographing image generated by photographing the measurement object with the photographing device, based on the error associated with the coordinates of pixels corresponding to the measurement target photographing pixels in the error image and the geometric characteristic information, and recognizes the geometric shape of the measurement object based on the measured three-dimensional coordinates calculated from the corrected coordinates of the measurement target photographing pixels.
3. The three-dimensional geometric shape measuring device according to claim 2, in, The correction section estimates errors of the pixels not associated with the errors based on a plurality of errors of the plurality of reference captured pixels associated with coordinates different from the coordinates of the pixels not associated with the errors, and generates the error image by associating coordinates of pixels corresponding to the estimated errors with the estimated errors.
4. The three-dimensional geometric shape measuring device according to claim 2, in, The correction section generates a plurality of the error images corresponding to a plurality of the reference captured images generated by capturing the reference instrument with the capturing device in a state where the reference instrument is installed at a plurality of positions and postures, and the apparatus further includes: A synthesis section generates one or more average error images by averaging (i) errors associated with the measurement target captured pixels in one error image and (ii) errors associated with the same measurement target captured pixels in another error image.
5. The three-dimensional geometric shape measuring device according to claim 4, in, The correction section generates an error image corresponding to the plurality of reference captured images of the reference instrument gradually rotated around an axis in a depth direction.
6. The three-dimensional geometric shape measuring device according to claim 2, in, The geometric shape recognition unit obtains an approximate value of the measurement three-dimensional coordinates corresponding to the measurement target captured pixels included in the measurement target captured image, and calculates the measurement three-dimensional coordinates based on errors recognized by using (i) a plurality of the error images, (ii) coordinates in the depth direction of the position of the reference instrument corresponding to the error images, and (iii) coordinates in the depth direction of the approximate value.
7. The three-dimensional geometric shape measuring device according to claim 1 or 2, further comprising: include: A projection device, which projects a projection image, wherein The image capturing device generates the measurement target captured image by capturing the measurement object onto which the projection image is projected.
8. A three-dimensional geometric shape measuring method for measuring the three-dimensional geometric shape of a measurement object based on a measurement target captured image obtained by capturing the measurement object with a capturing device, the method The following steps are involved: identifying coordinates of a reference photographed pixel corresponding to a feature point in a reference photographed image generated by photographing a reference instrument having a plurality of feature points with the photographing device; identifying coordinates of virtual photographing pixels corresponding to the feature points in the image plane by virtually projecting the feature points on the reference instrument onto an image plane of the photographing device using (i) geometric feature information representing geometric features of the photographing device and (ii) relative position and posture information between the photographing device and the reference instrument, wherein the geometric feature information includes at least one of a function using coefficients related to distortion in a radial direction of an optical element or a function using coefficients related to distortion in a circumferential direction of the optical element; generating correction information for correcting the coordinates of the measurement target photographic pixels included in the measurement target photographic image based on a comparison between the coordinates of the reference photographic pixels and the coordinates of the virtual photographic pixels; and Based on the geometric characteristic information and the correction information, coordinates of a plurality of measurement target photographing pixels included in the measurement target photographing image generated by photographing the measurement target with the photographing device are corrected to identify a geometric shape of the measurement target based on measurement three-dimensional coordinates calculated from the coordinates of the measurement target photographing pixels.
9. A three-dimensional geometric shape measuring method for measuring the three-dimensional geometric shape of a measurement object based on a measurement target captured image obtained by capturing the measurement object with a capturing device, the method The following steps are involved: identifying coordinates of a reference photographed pixel corresponding to a feature point in a reference photographed image generated by photographing a reference instrument having a plurality of feature points with the photographing device; By virtually projecting the feature point on the reference instrument onto an image plane of the imaging device using (i) geometric characteristic information representing a geometric feature of the imaging device and (ii) relative position and posture information between the imaging device and the reference instrument, the coordinates of a virtual imaging pixel in the image plane corresponding to the feature point are identified; identifying an error between the coordinates of the virtual photographic pixel and the coordinates of the reference photographic pixel to generate an error image as correction information for correcting the coordinates of the measurement target photographic pixel included in the measurement target photographic image, in which the identified error is associated with the coordinates of a pixel corresponding to the error; and Based on the error associated with the coordinates of the pixels corresponding to the measurement target photographing pixels in the error image and the geometric characteristic information, the coordinates of a plurality of the measurement target photographing pixels included in the measurement target photographing image generated by photographing the measurement object with the photographing device are corrected, and based on the measured three-dimensional coordinates calculated based on the corrected coordinates of the measurement target photographing pixels, the geometric shape of the measurement object is identified.
Citation Information
Patent Citations
Calibration method of three-dimensional shape measuring device
JP2017207346A
Full-field three-dimensional measurement method
CA2528791A1
Fast calibration method of active projection three dimensional measuring system based on two-dimension multi-color target
CN101576379A
Texture camera calibration device, texture camera calibration method and geometry correction method of texture image of texture camera
CN102750698A
Three-dimensional-shape measurement apparatus, and three-dimensional-shape measurement method
CN104792277A
