Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
UPDATING CALIBRATION OF A THREE-DIMENSIONAL MEASUREMENT SYSTEM
Document Type and Number:
WIPO Patent Application WO/2016/106196
Kind Code:
A1
Abstract:
A method of calibrating a three-dimensional measurement system having a plurality of cameras and at least one projector is provided. The method includes performing a full calibration (100) for each camera (118, 120, 122, 124) /projector (128) pair where the full calibration generates at least two sets of correction matrices. Subsequently, an updated calibration (200) is performed for each camera(118, 120, 122, 124)/projector (128) pair. The updated calibration (200) changes less than all of the sets of correction matrices.

Inventors:
ZHOU GUANGYU (US)
RUDD ERIC P (US)
HAUGAN CARL E (US)
Application Number:
PCT/US2015/067051
Publication Date:
June 30, 2016
Filing Date:
December 21, 2015
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
CYBEROPTICS CORP (US)
International Classes:
H04N13/02; H04N5/74; H04N13/00
Foreign References:
US20130076789A12013-03-28
US20030202691A12003-10-30
US20120120372A12012-05-17
JP2003219324A2003-07-31
US20080246781A12008-10-09
Other References:
See also references of EP 3238447A4
Attorney, Agent or Firm:
CHRISTENSON, Christopher, R. et al. (Holt & Christenson PLLC113 West Main Stree, Waconia MN, US)
Download PDF:
Claims:
WHAT IS CLAIMED IS:

1. A method of calibrating a three-dimensional measurement system having a plurality of cameras and at least one projector, the method comprising:

performing a full calibration for each camera/projector pair, the full calibration generating at least two sets of correction matrices; and

subsequently performing an updated calibration for each camera/projector pair, wherein the updated calibration changes less than all of the sets of correction matrices.

2. The method of claim 1, wherein the updated calibration is performed more frequently than the full calibration.

3. The method of claim 1, wherein the full calibration generates a first set of correction matrices and a second set of correction matrices, and wherein the updated calibration changes the first set of correction matrices while leaving the second set of correction matrices unchanged.

4. The method of claim 3, wherein the first set of correction matrices includes calibration corrections that drift over relatively short time intervals.

5. The method of claim 4, wherein the short time intervals are less than two days.

6. The method of claim 3, wherein the second set of correction matrices includes calibration corrections that drift over periods of at least several months.

7. The method of claim 1, wherein a set of correction matrices includes corrections in three orthogonal directions.

8. The method of claim 1, wherein performing a full calibration includes performing a camera calibration where each of the cameras acquires images of a well-characterized calibration target at a number of different, known elevations.

9. The method of claim 8, wherein the images acquired by the cameras are analyzed to establish a geometrical transformation between camera pixel space and physical space.

10. The method of claim 1, wherein performing a full calibration includes performing a projector calibration where a pattern is projected onto a target and each camera acquires images of the projected pattern as the target is positioned at a plurality of different heights.

11. The method of claim 10, wherein the images acquired during the projector calibration are analyzed to establish a geometrical transformation between camera pixel space and source-pattern space.

12. The method of claim 1, wherein the full calibration includes a combination of camera and projector transformations to produce an overall calibration for each camera/projector pair.

13. A method of calibrating a three-dimensional measurement system having a plurality of projectors and at least one camera, the method comprising:

performing a full calibration for each camera/projector pair, the full calibration having at least two sets of correction matrices; and

subsequently performing an updated calibration for each camera/projector pair, wherein the updated calibration changes less than all of the sets of correction matrices.

14. A method of obtaining calibration data for a three-dimensional optical image acquisition system, the method comprising:

defining a sextuplet as a set of six items of information, the items of information comprising coordinates in one of physical space and image space;

obtaining a sufficient number of sextuplets in order to fit a plurality of polynomials to the sextuplet information;

using the plurality of polynomials to obtain at least one of corrected phase, corrected lateral X position, and corrected lateral Y position.

15. The method of claim 14, wherein the plurality of polynomials are used to obtain a corrected phase, corrected lateral X position, and a corrected lateral Y position.

16. The method of claim 14, wherein one of the plurality of polynomials is used to obtain the corrected phase, a second of the plurality of polynomials is used to obtain the corrected lateral X position, and a third of the plurality of polynomials is used to obtain the corrected lateral Y position.

17. A three-dimensional optical image acquisition system comprising:

a plurality of cameras each configured to view a measurement space from a different point of view;

at least one projector configured to project a pattern onto the measurement space;

a controller configured to perform a full calibration of the plurality of cameras and the at least one projector to generate at least a first set of correction values and a second set of correction values; and

wherein the controller is configured to perform a calibration update relative to each

camera/projector pair, wherein the calibration update affects the first set of correction values while leaving the second set of correction values unchanged.

18. The system of claim 17, wherein the first and second sets of correction values are stored in system memory.

19. The system of claim 18, wherein the first and second sets of correction values are accessed to correct a three-dimensional measurement obtained after completion of the calibration update.

20. The system of claim 18, wherein the first and second sets of correction values are first and second correction matrices, respectively.

Description:
UPDATING CALIBRATION OF A THREE-DIMENSIONAL

MEASUREMENT SYSTEM

COPYRIGHT RESERVATION

[0001] A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.

BACKGROUND

[0002] Automatically obtaining precision three dimensional information relative to a surface or object is vital to many industries and processes. For example, in the electronics assembly industry, precision three-dimensional information relative to an electrical component on a circuit board can be used to determine whether the component is placed properly. Further, three-dimensional information is also useful in the inspection of solder paste deposits on a circuit board prior to component mounting in order to ensure that a proper amount of solder paste is deposited in the proper location on the circuit board. Further still, three-dimensional information is also useful in the inspection of semiconductor wafers and flat panel display. Finally, as the precision of such three-dimensional information improves, it is becoming useful for a variety of additional industries and applications. However, as the precision of the three- dimensional information acquisition improves, it becomes more and more important to compensate for the various causes of minor system disturbances. Calibration of systems for obtaining three-dimensional is thus becoming increasingly important.

[0003] The calibration process for a three-dimensional structured light measurement sensor should compensate the projectors and cameras for the usual optical non-idealities, including lens geometric distortion, obliquity/keystone effects, rotation errors, and line of sight errors. Some of these non-idealities will not change appreciably over time to affect the measurement accuracy. However, following a sensor calibration, other non-idealities may drift appreciably over the time period of minutes to days and will affect measurement performance. For example, line of sight may change appreciably due to thermal expansion from environmental changes.

[0004] Sophisticated, methods exist to accurately calibrate three-dimensional sensors and typically require precision equipment such as motion systems and calibration artifacts. It is also relatively time-consuming to acquire the necessary images of calibration artifacts and analyze them.

SUMMARY

[0005] A method of calibrating a three-dimensional measurement system having a plurality of cameras and at least one projector is provided. The method includes performing a full calibration for each camera/projector pair where the full calibration generates at least two sets of correction matrices. Subsequently, an updated calibration is performed for each camera/projector pair. The updated calibration changes less than all of the sets of correction matrices.

BRIEF DESCRIPTION OF THE DRAWINGS

[0006] FIG. 1 is a flow diagram of a method for performing a full calibration in accordance with an embodiment of the present invention.

[0007] FIG. 2 is a diagrammatic view illustrating a full calibration process in accordance with an embodiment of the present invention.

[0008] FIG. 3A shows a camera calibration target that includes a checkerboard pattern and two half-toned circles in accordance with an embodiment of the present invention.

[0009] FIG. 3B shows a detailed portion of Fig, 3A.

[0010] FIG. 4 is a diagrammatic view of several discrete Z locations of the camera calibration target within the measurement volume at which the Z location is recorded in accordance with embodiments of the present invention.

[0011] FIG. 5 is a projection calibration target in accordance with an embodiment of the present invention.

[0012] FIG. 6 is a diagrammatic view of a plurality of Z locations at which a series of sinusoidal fringe patterns are projected in accordance with an embodiment of the present invention. [0013] FIG. 7 is a diagrammatic view of a reference pattern projected onto a projector calibration target in accordance with an embodiment of the present invention.

[0014] FIG. 8 is a flow diagram of a method of updating a calibration in accordance with an embodiment of the present invention.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

[0015] In accordance with the various embodiments described herein, a precise, full calibration process is provided that compensates for the usual non-idealities, facilitates fast run-time processing, and generates a set of reference data that can be subsequently applied to measure calibration drift. This full calibration, while time-consuming, need only be performed once, or at least, infrequently, since it will compensate for non-idealities that will not change appreciably over time. Also in accordance with embodiments described herein, a calibration update process is provided that measures the amount of calibration drift, and, if required, updates only those portions of the full calibration that are expected to drift over time. The calibration update process is a relatively quick process to perform and requires only a relatively simple calibration artifact.

[0016] For each camera and projector pair, the full calibration process generates two sets of corrections for each X, Y, and Z direction that are then applied during the measurement process. The first set of corrections includes calibration corrections that may drift over shorter time intervals, for example, on the order of minutes or a couple of days. The second set of corrections includes calibration corrections that may drift over longer time intervals, for example, on the order of several months, or never. These first set of corrections are those that are updated by the calibration update process and the second set of corrections are only updated during subsequent full calibrations.

[0017] FIG. 1 is a flow diagram of a method for performing a full calibration of the three-dimensional measurement system shown in FIG. 2. Note, while subsequent figures depicting the three-dimensional measurement system may not show all components indicated in FIG. 2, such omission is not indicative of the absence of such components. Instead, such figures are simplified for clarity of description.

[0018] Method 100 begins at block 102 where a camera calibration is performed.

Calibrating the cameras 118, 120, 122, and 124 includes obtaining images of a well- characterized calibration target 114 (shown in FIG. 2) where the images are acquired while the calibration target 114 is located at a range of different height (z) positions for which the calibration is desired (shown in FIG. 4). Those images are analyzed by controller 126 or other suitable processing logic to establish the geometrical transformation between camera pixel space and physical space. Next, at block 104, a projector calibration is performed where a pattern is projected onto either the same target 114 or another target and each camera takes images of the pattern through the z range. Those images are analyzed by controller 126 or other suitable processing logic to establish the geometrical transformation between camera pixel space and source-pattern space. Block 104 is repeated for each projector 128 in the system. Note, in the example shown in FIG. 2, a single projector 128 is shown. Next, at block 106, the process inverts and controller 126 or other suitable processing logic combines the camera and projector transformations so as to produce an overall calibration for each camera and projector pair. Thus, if there were two cameras and four projectors, there would be eight sets of full calibration data; one set for each projector/camera pair. Next, at block 108, a reference pattern is projected onto a target. An example of the reference pattern is shown in FIG. 7. At block 110, each camera 118, 120, 122, and 124 acquires an image of the reference pattern. Those images are analyzed by controller 126 or other suitable processing logic, at block 112, to determine the geometrical transformation between camera pixel space and the reference pattern space.

[0019] During the camera calibration process, described with respect to block 102, the images are analyzed by controller 126 or other suitable processing logic to establish the geometrical transformation between pixel space and physical space. During this analysis, the relationship between the X, Y coordinates of the calibration target 114, the camera pixel coordinates, a and β, and the target location, Z, can be described by Equation 1:

(Χ,Υ)=ίι(α,β,Ζ) Equation 1

[0020] The X, Y coordinates are accurately known from the well-characterized calibration target 114 (e.g. lithographically patterned checkerboard or diamond pattern), where the Z location of the calibration target is known accurately, for example using a precision translation stage with encoders, and where fi(-)is an arbitrary trivariate function.

[0021] During the projector calibration process, described with respect to block 104, a series of patterns are projected onto a target and the camera acquires images of the patterns through the z range. For example, three sinusoidal patterns with phases of 0, 120, and 240 degrees may be projected onto the target at each Z location. See FIG. 6. The camera images are analyzed by controller 126 or other suitable processing logic to calculate the phase at each pixel using the standard three image phase retrieval techniques in order to establish the geometrical transformation between pixel space and projector pattern space. During this analysis, the relationship between the calculated phase of the sinusoidal pattern on the target, φ, the camera pixel coordinates, a and β, and the target location, Z, can be described by Equation 2:

φ Equation 2

[0022] The Z location of the calibration target is known accurately, for example, using a precision translation stage with encoders and where f2(-)is an arbitrary trivariate function.

[0023] During the run-time process of reconstructing the Χ,Υ,Ζ coordinates for each camera pixel, Equations 3 and 4:

(Χ,Υ)=ίι(α,β,Ζ) Equation 3 φ =f 2 (α,β,Ζ) Equation 4

[0024] are intractable for reconstruction because Z is an independent variable, yet it is also an unknown. Instead, the functions must be provided of the form of Equation 5 :

Equation 5

[0025] An important insight that facilitates a practical reconstruction is that for any pixel of a given calibration image, one can associate the quantities (Χ,Υ,Ζ,α,β,φ) without any assumptions about the functional forms. From a suitably-large set of such sextuplets, one can re-assign the independent and dependent variables by regression, with trivariate polynomials being a suitable fitting function. Thus, one computes the height Z by:

Z = (wrap height) * φ / 2π Equation 6 c

where wrap height is the nominal scaling from phase φ to height Z, the corrected phase is:

c

φ = Ρ(α,β , φ) Equation 7 c

and the corrected lateral positions X and Y by:

X = ζ)ι(α,β , φ) Equation 8

Y = ζ α,β , φ) Equation 9

[0026] Ρ(· ), QI and Q2(-) are trivariate polynomials found by the regressions. The regressions may be done once at calibration time, with the results stored in memory 130 of controller 126 or any other suitable memory for later application at runtime. [0027] There are several advantages of this approach. One advantage is that telecentricity does not cause singularities or require special cases in the treatment, as it does for processes that rely on determination of an effective pupil height. Instead, the associated correction coefficients are very small or zero. Another advantage is that pupil distortions are automatically modeled and accounted for. Yet another advantage is that the rectification may be applied using only multiplications and additions, which facilitates high-speed processing; no divisions or iterations are required.

[0028] To facilitate the calibration update process, the full calibration process generates two sets of corrections for each X, Y, and Z direction and a set of reference data. When sinusoidal phase-shifted patterns are used for reconstruction, then the Z position is directly proportional to the corrected phase. In one embodiment, the first set of phase corrections are offset corrections relative to a reference plane at nominal best focus (Z=0) and the second set of phase corrections are scaling factors to account for fringe direction and changes in triangulation angle across the field of view. The first set of X corrections are offset corrections at nominal best focus (Z=0) and the second set of corrections characterize the X shifts through the working volume. Similarly for the Y corrections, the first set of Y corrections are offset corrections at nominal best focus (Z=0) and the second set of corrections characterize the Y shifts through the working volume. Additionally, the full calibration process generates several sets of reference data that are used during the calibration update process.

More specifically, the corrected phase, φ 0 , is calculated by Equation 10

φο = Ρ(α,β,φ) = άφο+ φ ° dφc/dφ Equation 10

[0029] φ 0 , dφo , φ, άφο/άφ, are all two-dimensional matrices that match the size of the image. Matching the size of the image means that the matrix has the same number of elements as pixels in the image. Thus, in the example shown above, there are four different matrices, each having the same number of elements as pixels in the image. The first phase correction matrix dφo is the phase offset at Z=0 relative to a flat reference surface for each pixel coordinate (α,β) in the image. Each element of the φ matrix is the nominal phase at that pixel location generated by the phase shift method. The second phase correction matrix άφο/άφ is a unitless matrix that compensates the wrap height of each pixel for fringe direction and triangulation angle changes within the field of view, φ ° άφο/άφ is the element by element product of the two matrices which is also called the Hadamard product.

The height at each pixel is then given by Equation 11. Z = (wrap height) * φ / 2π Equation 11 c

The corrected X location for each pixel is calculated by Equation 12:

X = (3ι(α,β,φ) = Xnom + dXo + φ ° άΧ/άφ Equation 12

[0030] where X, Xnom , dXo , φ, dX^ are all two-dimensional matrices that match the size of the image. Each element of the Xnom matrix is the nominal X image coordinate based on pixel coordinate and nominal resolution. The first X correction matrix dXo is the X offset for each pixel coordinate (α,β) in the image that corrects for geometric distortions at Z=0. The second X correction matrix dX^ characterizes lateral shifts as function of nominal phase, φ ° dX^ is the element by element product of the two matrices.

[0031] The corrected Y coordinate for each pixel is calculated by a similar process as the X corrections as set forth in Equation 13:

Y = (¾(α,β,φ) = Ynom + dYo + φ ° άΥ/άφ Equation 13

[0032] where Y, Ynom , dYo , φ, dY^ are all two-dimensional matrices that match the size of the image. Each element of the Ynom matrix is the nominal Y image coordinate based on pixel coordinate and nominal resolution. The first Y correction matrix dYo is the Y offset for each pixel coordinate (α,β) in the image that corrects for geometric distortions at Z=0. The second Y correction matrix dY^ characterizes lateral shifts as function of nominal phase, φ ° dY^ is the element by element product of the two matrices.

[0033] The full calibration process will be further explained with respect to FIG. 2.

Each camera 118, 120, 122, and 124 images the carefully characterized camera calibration target 114. The pattern on the camera calibration target 114 may be a checkerboard pattern (such as in the illustrated example), a diamond pattern, and reference marks may also be patterned on the camera calibration target 114 to unambiguously establish the coordinate system of the camera calibration target 114. In one embodiment, the camera calibration target includes a half-tone pattern in order to establish its coordinate system.

[0034] FIG. 3A shows an example of the camera calibration target that includes a checkerboard pattern and two half-toned circles within the checkerboard pattern. The circles establish a common coordinate system for all of the cameras.

[0035] FIG. 3B shows a detailed portion of FIG. 3A. Each camera image is analyzed by controller 126 or other suitable processing logic to determine the (X,Y) location of the calibration target features for each camera pixel coordinate (α,β). The Z location of the camera calibration target 114 is also recorded in memory 130 or other suitable storage. This process is repeated as the camera calibration target 114 is positioned at several discrete Z locations within the measurement volume of the three dimensional sensor as shown in FIG. 4.

[0036] To calibrate the projector 128, the camera calibration target 114 may be replaced by the projector calibration target as shown in FIG. 5. At each Z location of the projector calibration target a series of sinusoidal fringes are projected and imaged by each camera as shown in FIG 6. The images from each camera are analyzed by controller 126 or other suitable processing logic to calculate the phase at each pixel coordinate (α,β).

[0037] Reference data for the calibration update process is then generated by projecting a reference pattern onto the projector calibration target located at Z=0 as shown in FIG. 7. The reference pattern images are analyzed to determine the locations of the projected reference pattern features for each camera pixel in the reference pattern coordinate system. The reference pattern coordinate system is assumed to share the physical X, Y coordinate system, but may be slightly distorted due to distortions in the projection optics. A reference X correction matrix dXo, ref is then generated for each camera image that gives the X offset for each pixel, in each image, in the reference pattern coordinate system. Similarly, a reference Y correction matrix dYo,re f is generated for each camera image that gives the Y offset for each pixel, in each image, in the reference pattern coordinate system. Although only one projector is shown in FIGS. 2- 6, the three dimensional sensor system may have more than one projector in other embodiments. In those embodiments, first and second sets of X, Y and phase correction matrices and reference X and Y correction matrices are generated for each camera and projector pair.

[0038] In another embodiment, the same target is used for both camera calibration and the projector calibration. For camera calibration, the target may be illuminated by diffuse back lighting to view the camera calibration pattern. The surface of this target may be also slightly roughened so that it diffusely scatters light when it is illuminated from the front by the projector.

[0039] After the full calibration process is complete, the calibration update process may be performed relatively quickly whenever required by adjusting the relative position of a calibration update target at Z = 0, the nominal best focus of the sensor. FIG. 8 is a flow diagram of a method of updating a calibration in accordance with an embodiment of the present invention. Method 200 begins at block 202 where a calibration update target is positioned at a location of best focus. In one embodiment, the calibration update target is preferably a planar surface. At block 204, the same reference pattern that was used to generate the reference X and reference Y correction matrices during the full calibration process is projected onto the calibration update target. At block 206, X and Y correction matrices are updated. More particularly, an update X correction matrix dXo, up d is generated for each camera image that gives the X offset for each pixel, in each image, in the reference pattern coordinate system. Similarly, an update Y correction matrix dYo, up d is generated for each camera image that gives the Y offset for each pixel, in each image, in the reference pattern coordinate system. At block 208, a set of sinusoidal fringes with the same properties as those used in the full calibration process are then projected onto the calibration update target. At block 210, the phase correction matrix d(|)o,upd is then calculated. The first sets of correction matrices for each camera are then updated, at block 212, by the following relationships

dXo = dXo.Mi + (dXo.upd - dXo, re f ) Equation 14

dYo = dYo.ftdi + (dYo,u P d - dYo, re f ) Equation 15

d(|)o = d(|)o,upd Equation 16

[0040] where άΧο,ωι dYo,f U u are the first sets of X and Y correction matrices, respectively, generated during the full calibration process. The difference matrices (dXo, up d - dXo,ref ) and (dXo, up d - dXo, re f) are a measure of the calibration drift. Even if there is some distortion of the reference pattern by the projection optics, the same distortion is present during the full calibration and calibration update processes and is canceled by taking the difference of the reference and update correction matrices. If the residuals of these difference matrices are sufficiently low, then the first sets of correction matrices remain those generated during the full calibration process:

where d(|)o,fuii is the first phase correction matrix generated during the full calibration process.

[0041] A full calibration process has been disclosed that provides first and second sets of calibration corrections. A simple calibration update process has been disclosed that updates the first sets of corrections. In a more general sense, the calibration update process updates only a portion of the full calibration. Although specific patterns have been disclosed for camera, projector, reference, and update calibrations, the invention is not limited to those specific patterns.