Method and system for generating a camera model for camera calibration - Patents.com
The flexible camera calibration system addresses inaccuracies in existing methods by generating precise camera models with low errors, enabling accurate spatial information for diverse camera setups.
Patent Information
- Application Number
- JP2024537804
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-08-29
- Filing Date
- 2022-08-26
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2042-08-26
AI Technical Summary
Existing camera calibration techniques are inflexible and often result in inaccurate determinations of external parameters and poor distortion model accuracy over a wide range of camera parameters, requiring large physical charts and being incompatible with diverse camera setups.
A flexible camera calibration system using a calibration assembly, camera assembly, robot assembly, and tracker, with a computer system to generate a camera model by moving the calibration assembly relative to the camera through predetermined poses, capturing images, and determining marker locations in space to create a transformation function for intrinsic and extrinsic parameters.
The system achieves precise camera calibration with low image and object space errors, even with varied camera parameters, providing accurate spatial information for applications like robotic systems and self-driving vehicles.
Smart Images

Figure 2024536925000001_ABST
Abstract
Description
[Technical field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the benefit of U.S. Provisional Patent Application No. 63 / 260,690, entitled “Camera Calibration,” filed August 29, 2021, the entire contents of which are incorporated herein by reference.
[0002] TECHNICAL FIELD This application relates generally to camera models, and more particularly to generating camera models. [Background technology]
[0003] Camera models are widely used in many industries. For example, in robotics and autonomous vehicles, camera models can be used to assist with visual odometry, localization, mapping, visual servoing (also known as vision-based robot control), and object recognition. In industrial automation, camera models can be used to assist with defect identification and sizing. In smartphone technology, camera models can be used to assist with panoramic image stitching, augmented reality, and physiognomy (face) recognition. In optics, camera models can be used to assist with optical metrology, satellite pointing stabilization, and image distortion removal (e.g., when inverting distortions seen in an image). In agriculture, camera models can be used to assist with crop health monitoring. In defense applications, camera models can be used to assist with remote sensing, terrain mapping, and surveillance. In biosciences, camera models can be used to assist with microscope calibration and sizing. In entertainment applications, camera models can be used to assist with virtual reality, photography, and motion sensing games (e.g., Xbox® Kinect®). In research applications, camera models can be used to aid in structure from motion and 3D reconstruction. Summary of the Invention
[0004] SUMMARY OF THE DISCLOSURE A method and system for generating a camera model, as well as a system for generating a camera model for camera calibration, are provided herein.
[0005] Some examples herein provide a method of generating a camera model. The method may include using a robotic assembly to move a calibration assembly relative to the camera assembly through a predetermined series of poses or to move the camera assembly relative to the calibration assembly. The calibration assembly may include a calibration target. The calibration assembly may include a first calibration assembly marker, a second calibration assembly marker, and a third calibration assembly marker. The first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker may be coupled to the calibration target at respective locations. The camera assembly may include a mount. The camera assembly may include a camera coupled to the mount at a respective location and having a field of view (FOV). The camera assembly may include a first camera assembly marker, a second camera assembly marker, and a third camera assembly marker coupled to the mount at respective locations. The predetermined series of poses together cause the calibration target to pass through at least a portion of the FOV of the camera. The method may include using the camera to generate respective images of the calibration target at each pose of the predetermined series of poses. The method may include using the tracker to determine respective locations in space of the first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker at each pose of a predetermined series of poses.
[0006] The method may include using the tracker to determine respective locations in space of the first, second, and third camera assembly markers at each pose of a predetermined series of poses. The method may include generating, for each image, a transformation function that maps (i) the stored coordinates of the first, second, and third calibration assembly markers, (ii) the stored coordinates of the first, second, and third camera assembly markers, (iii) the determined locations in space of the first, second, and third calibration assembly markers for the image, (iv) the determined locations in space of the first, second, and third camera assembly markers for the image, and (v) features of the calibration target in each image to a three-dimensional object space. The method may include using the transformation function for each image to generate a model of extrinsic and intrinsic parameters of the camera.
[0007] In some examples, the calibration assembly may further include a fourth calibration assembly marker coupled to the calibration target. In some examples, the method may include using the tracker at each pose of the predetermined series of poses to determine respective locations in space of the first calibration assembly marker, the second calibration assembly marker, the third calibration assembly marker, and the fourth calibration assembly marker.
[0008] In some examples, the camera assembly may further include a fourth camera assembly marker coupled to the mount. In some examples, the method may include using the tracker to determine respective locations in space of the first camera assembly marker, the second camera assembly marker, the third camera assembly marker, and the fourth camera assembly marker at each pose of the predetermined series of poses.
[0009] In some examples, these calibration assembly markers may each include a spherically mounted retroreflector (SMR).
[0010] In some examples, these camera assembly markers may each include a spherically mounted retroreflector (SMR).
[0011] In some examples, the mount may include a diamond pin mount.
[0012] In some examples, the tracker may include a laser tracker.
[0013] In some examples, the method may further include determining coordinates of the first camera assembly marker, the second camera assembly marker, and the third camera assembly marker in the camera mount datum frame.
[0014] In some examples, determining the coordinates of the first camera assembly marker, the second camera assembly marker, and the third camera assembly marker in the camera mount datum frame may be performed using a coordinate measuring machine (CMM).
[0015] In some examples, the calibration target may include a rectilinear checkerboard chart.
[0016] In some examples, the calibration target may include a self-identifying binary code. In some examples, the self-identifying binary code may include a CALTag or an ARTag.
[0017] In some examples, the method may further include determining a location of the feature of the calibration target relative to the first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker. In some examples, determining the location of the feature of the calibration target relative to the first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker may be performed using an optical measuring machine (OMM).
[0018] In some examples, the calibration target may take together a predetermined series of poses to generate a superchart. In some examples, the superchart may include a hemispherical shape. In some examples, the superchart may include multiple layers.
[0019] In some examples, the method may further include, after processing the images, generating, for each respective image, a transformation function that maps (i) the stored coordinates of the first, second, and third calibration assembly markers, (ii) the stored coordinates of the first, second, and third camera assembly markers, (iii) the determined locations in space of the first, second, and third calibration assembly markers for the image, (iv) the determined locations in space of the first, second, and third camera assembly markers for the image, and (v) features of the calibration target in each respective image to a three-dimensional object space. In some examples, processing the images may include at least one of object detection, smoothing, edge enhancement, and morphological operations.
[0020] In some examples, the method further includes again using the robot assembly to move the calibration assembly relative to the camera assembly through a predetermined series of poses or to move the camera assembly relative to the calibration assembly; again using the camera to generate a respective image of the calibration target at each pose of the predetermined series of poses; again using the tracker to determine, at each pose of the predetermined series of poses, respective locations in space of the first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker, and respective locations in space of the first camera assembly marker, the second camera assembly marker, and the third camera assembly marker; and for each image, (i) determining the location of the first calibration assembly marker, the second calibration assembly marker, and the third camera assembly marker. The method may include generating a transformation function that maps (i) the stored coordinates of the first camera assembly marker, the second camera assembly marker, and the third calibration assembly marker, (ii) the stored coordinates of the first camera assembly marker, the second camera assembly marker, and the third camera assembly marker, (iii) the determined locations in space of the first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker with respect to the image, (iv) the determined locations in space of the first camera assembly marker, the second camera assembly marker, and the third camera assembly marker with respect to the image, and (v) features of the calibration target in each image into a three-dimensional object space, and generating an audit dataset of external and internal parameters of the camera through a set of different predetermined poses. In some examples, the method may further include using the determined locations in space of the first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker from the audit dataset, the determined locations in space of the first camera assembly marker, the second camera assembly marker, and the third camera assembly marker from the audit dataset, and the camera model to determine image space errors and object space errors of the camera model.
[0021] Some examples herein provide a system for generating a camera model. The system may include a calibration assembly. The calibration assembly may include a calibration target. The calibration assembly may include a first calibration assembly marker, a second calibration assembly marker, and a third calibration assembly marker. The first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker may be coupled to the calibration target at respective locations. The system may include a camera assembly. The camera assembly may include a mount. The camera assembly may include a camera. The camera may be coupled to the mount at respective locations and have a field of view (FOV). The system may include a first camera assembly marker, a second camera assembly marker, and a third camera assembly marker. The first camera assembly marker, the second camera assembly marker, and the third camera assembly marker may be coupled to the mount at respective locations. The system may include a robot assembly. The robot assembly may be coupled to at least one of the calibration assembly and the camera assembly. The system may include a tracker. The system may include a computer system. The computer system may be coupled to the camera, the robot assembly, and the tracker. The computer system may include at least one processor and at least one non-volatile computer readable medium. The at least one non-volatile computer readable medium may store coordinates of a first calibration assembly marker, a second calibration assembly marker, and a third calibration assembly marker relative to each other and to a calibration target. The at least one non-volatile computer readable medium may store coordinates of a first camera assembly marker, a second calibration assembly marker, and a third calibration assembly marker relative to each other and to a camera. The at least one non-volatile computer readable medium may further store instructions that cause the processor to perform an operation.
[0022] The operations include commanding the robot assembly to move the calibration assembly relative to the camera assembly or to move the camera assembly relative to the calibration assembly through a predetermined series of poses that together pass at least a portion of the FOV of the camera through the calibration target; commanding the camera to generate a respective image of the calibration target at each pose of the predetermined series of poses; commanding the tracker to determine, at each pose of the predetermined series of poses, respective locations in space of a first calibration assembly marker, a second calibration assembly marker, and a third calibration assembly marker, and respective locations in space of a first camera assembly marker, a second camera assembly marker, and a third camera assembly marker; and for each image, determining: (i) a position of the first calibration assembly marker, (ii) the stored coordinates of the first camera assembly marker, the second camera assembly marker, and the third camera assembly marker; (iii) determined locations in space of the first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker with respect to the image; (iv) determined locations in space of the first camera assembly marker, the second camera assembly marker, and the third camera assembly marker with respect to the image; and (v) features of the calibration target in each image into a three-dimensional object space, and using the transformation function for each image to generate a model of external and internal parameters of the camera.
[0023] In some examples, the calibration assembly may further include a fourth calibration assembly marker coupled to the calibration target. In some examples, the at least one non-volatile computer readable medium may store coordinates of the fourth calibration assembly marker relative to the first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker, and coordinates of the fourth calibration assembly marker relative to the calibration target. In some examples, the at least one non-volatile computer readable medium may store coordinates of the fourth calibration assembly marker. In some examples, the instructions may further include instructing the tracker to determine, at each pose of the predetermined series of poses, a respective location in space of the fourth calibration assembly marker, and generating, for each respective image, a transformation function that maps the stored coordinates of the fourth calibration assembly marker to the three-dimensional object space.
[0024] In some examples, the camera assembly may further include a fourth camera assembly marker coupled to the mount. In some examples, the at least one non-volatile computer readable medium may store coordinates of the fourth calibration assembly marker relative to the first camera assembly marker, the second calibration assembly marker, and the third calibration assembly marker, and coordinates of the fourth calibration assembly marker relative to the camera. In some examples, the at least one non-volatile computer readable medium may store coordinates of the fourth camera assembly marker. In some examples, the instructions may further include instructing the tracker to determine, at each pose of the predetermined series of poses, a respective location in space of the fourth camera assembly marker, generating, for each image, a transformation function that maps the stored coordinates of the fourth camera assembly marker to the three-dimensional object space, and generating, for each image, a transformation function that maps the determined coordinates of the fourth camera assembly marker to the three-dimensional object space.
[0025] In some examples, these calibration assembly markers may each include a spherically mounted retroreflector (SMR).
[0026] In some examples, these camera assembly markers may each include a spherically mounted retroreflector (SMR).
[0027] In some examples, the mount may include a diamond pin mount.
[0028] In some examples, the tracker may include a laser tracker.
[0029] In some examples, the stored coordinates of the first camera assembly marker, the second camera assembly marker, and the third camera assembly marker relative to each other and to the camera may be determined using a coordinate measuring machine (CMM).
[0030] In some examples, the calibration target may include a rectilinear checkerboard chart.
[0031] In some examples, the calibration target may include a self-identifying binary code. In some examples, the self-identifying binary code may include a CALTag or an ARTag.
[0032] In some examples, at least one non-volatile computer readable medium can store coordinates of features of a calibration target relative to the first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker. In some examples, the stored coordinates of the calibration target relative to the first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker can be determined using an optical metrology machine (OMM).
[0033] In some examples, the calibration target may take together a predetermined series of poses to generate a superchart. In some examples, the superchart may include a hemispherical shape. In some examples, the superchart may include multiple layers.
[0034] In some examples, the instructions may further include, for each image, processing the image prior to generating the transformation function, hi some examples, the processing of the image may include at least one of object detection, smoothing, edge enhancement, and morphological operations.
[0035] In some examples, the instructions may further include repeating the acts in the instructions with a different predetermined series of poses to generate the audit data set. In some examples, the instructions may further include using the determined locations in space of the first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker from the audit data set, the determined locations in space of the first camera assembly marker, the second camera assembly marker, and the third camera assembly marker from the audit data set, and the camera model to determine image space error and object space error of the camera model.
[0036] It should be understood that any respective feature / example of each aspect of the disclosure described herein can be implemented together in any suitable combination, and any feature / example from any one or more of these aspects can be implemented together with any of the features of the other aspects described herein in any suitable combination, in order to achieve the benefits described herein. [Brief description of the drawings]
[0037] [Figure 1]There are three main areas to consider for the camera model: Figure 1 is adapted from Samvram Sahu, 3D Pose Estimation of UAVs using Stereo-vision (May 2019) (BTech thesis, Indian Space Rsrch), the entire contents of which are incorporated herein by reference. [Diagram 2] An exemplary simple pinhole model of a camera is shown in FIG. 2, adapted from Bharath Hariharan, Geometry of Image Formation (Cornell University, Mar. 25, 2020), the entire contents of which are incorporated herein by reference. [Diagram 3] Three common camera distortions are shown in Figure 3, adapted from Igor Kozlov, Analysis of Uncertainty in Underwater Multiview Reconstruction (Sept.2018) (MSthesis, Univ.NH), and JV Sharp and HH Hayes, Effects on Map Production of Distortions in Photogrammetric Systems, 15 Photogrammetric Engineering 159 (1949), the contents of which are incorporated herein by reference in their entirety. [Figure 4] The external parameters of the camera are shown in Figure 4, adapted from Benjamin Pichler, HDR Light Field (Sept. 10, 2012) (BSthesis, Johannes Kepler Univ. Linz), the entire contents of which are incorporated herein by reference. [Diagram 5] An example workflow for image processing is shown in Figure 5, adapted from opencv-camera 0.11.0, Python Package Index, (last visited Aug.11, 2022), the entire contents of which are incorporated herein by reference. [Figure 6]1 illustrates an example of a system for generating a camera model. [Figure 7] 1 shows an example of another system for generating a camera model. [Figure 8] 1 shows an example of a camera. [Figure 9A-9B] Figure 9A shows an example of a camera assembly, and Figure 9B shows a photograph of an example camera assembly on a coordinate measuring machine (CMM). [Figure 10] 1 illustrates an example calibration target including a linear checkboard chart. [Figure 11A-11B] Figure 11A shows a photograph of an example calibration assembly on an optical measurement machine (OMM), and Figure 11B shows an example calibration target including a self-identifying binary code. [Figure 12] 4 shows a flowchart of an example method for generating a camera model with the system described herein. [Figure 13] 4 shows a flowchart of an example method for generating a camera model with the system described herein. [Figure 14] 1 shows an example hemispherical superchart. [Figure 15A-15B] Figure 15A shows an example three-layer hemispherical superchart. Figure 15B shows the example three-layer hemispherical superchart of Figure 15A projected into 2D image space. [Figure 16A-16B] Figure 16A shows another example multi-layer hemispherical superchart. Figure 16B shows the example multi-layer hemispherical superchart of Figure 16A projected into 2D image space. [Figure 17] 1 shows a photograph of an exemplary system for generating a camera model. [Figure 18] FIG. 13 shows an example of how locations in space of a first calibration assembly marker, a second calibration assembly marker, and a third calibration assembly marker, and locations in space of a first camera assembly marker, a second camera assembly marker, and a third camera assembly marker can be determined by a tracker. [Figure 19]1 shows a flowchart of an example method for generating camera model parameters. [Figure 20] 1 shows a flowchart of another example method for generating camera model parameters. [Figure 21] An example of how a self-identifying binary code can be detected is shown below. [Fig. 22A-22B] Figure 22A shows a flow chart of an example method for identifying calibration target features, and Figure 22B shows an example calibration target with features to be identified. [Diagram 23] 1 shows an exemplary simple pinhole model of a camera. [Fig. 24A-24B] Figure 24A shows the image space projection error for an example camera model, and Figure 24B shows the object space reprojection error for the same example camera model as Figure 24A. [Diagram 25] 1 illustrates a flowchart of an example method for generating an audit dataset. [Figure 26] 1 shows a flowchart of an example method for determining object space error and image space error using an audit model. [Figure 27A-27B] Figure 27A shows the object space reprojection error of an example camera model determined by using an audit model, and Figure 27B shows the image space reprojection error of the same example camera model determined by using the same audit model.
[0038] It should be understood that any respective feature / example of each aspect of the disclosure described herein can be implemented together in any suitable combination, and any feature / example from any one or more of these aspects can be implemented together with any of the features of the other aspects described herein in any suitable combination, in order to achieve the benefits described herein. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0039] SUMMARY OF THE DISCLOSURE A method and system for generating a camera model, as well as a system for generating a camera model for camera calibration, are provided herein.
[0040] The subject matter, which may be described and claimed in any suitable combination, includes hardware (a system) that includes a camera mount with a calibrated tracker target (a camera assembly), a test chart (a calibration target) on which the calibrated tracker target (a calibration assembly) is mounted, a tracker, an apparatus (a robotic assembly) that moves the camera relative to the test chart (a calibration target), an apparatus (a computer system) that stores and correlates image and position data, and an apparatus (a computer system) that performs image processing and model parameter calculations.
[0041] Subject matter, which may be described and claimed in any suitable combination, also includes a method that includes planning movements based on desired camera characterizations, and for each position in the plan, (i) aligning a camera and a test chart (calibration target) using a tracker, (ii) recording the camera position and the test chart (calibration target) position, (iii) capturing camera images and processing the images and position coordinates including (i) detecting features in the images, (ii) pairing the features with 3D position coordinates, (iii) applying camera model calibration logic, and (iv) outputting camera model parameters.
[0042] Some variations of the subject matter, which may be described and claimed in any suitable combination, include variations using different tracker numbers and configurations, such as, for example, square vs. triangular configurations; variations in which the tracker is a laser tracker and alternatives; variations in which the tracker target (marker) is a spherically mounted retro-reflector (SMR) and alternatives; variations in which a coordinate measuring machine (CMM) is used to register the camera tracker target (camera assembly); variations in which an optical measuring machine (OMM) is used to register the test chart tracker target (calibration assembly); variations in which image filtering is performed prior to feature detection; variations in which the test chart (calibration target) is included in a CALTag; variations in which non-linear optimization is included; and variations in which an audit data set is used.
[0043] As provided herein, a camera model simplifies the complex geometric and optical properties of a camera system into a mathematical model with a relatively small set of known parameters. A good model can help address a fundamental problem in computer vision: using 2D information from a camera to obtain information about the 3D world.
[0044] Figure 1 shows three main areas to consider for a camera model. There are three main areas to consider for a camera model: intrinsic parameters 102, distortion 104, and extrinsic parameters 106. Intrinsic parameters 102 include the focal length and principal point of the camera. Distortion 104 is the deviation from a simple pinhole camera and includes symmetric radial distortion, asymmetric radial distortion, and tangential distortion. Extrinsic parameters 106 include elements of a 3D rotation matrix and position vector that represent the position of the camera relative to some external reference coordinate system.
[0045] Internal parameters
[0046] 2 shows an example simple pinhole model of a camera. In the simple pinhole model of a camera, a three-dimensional object in an object space 210 is mapped onto a two-dimensional image space 220 and captured by a sensor 222. An incoming ray 212 arrives at the sensor 222 from a point 216 on the object according to r=f×tan θ, where r is the distance from a principal point 224 on the sensor plane 222 (directly opposite the pinhole aperture of the barrier plane) and the focal length f 226 is the distance from the sensor 222 to the barrier plane 214. The angle θ is measured from a direction perpendicular to the barrier plane 214 at the aperture 216. The focal length 226 and the principal point 224 are known as the intrinsic parameters of the camera.
[0047] distortion
[0048] Characterizing a camera's distortions allows us to understand how it deviates from this simple pinhole camera. Figure 3 shows three common camera distortions: symmetric radial distortion 302, asymmetric radial distortion 304, and tangential distortion 306. Radial distortion distorts image points along a radial direction from the camera's principal point. Symmetric radial distortion 302 does this symmetrically across the image, while asymmetric radial distortion 304 can vary with polar angle around the principal point. Tangential distortion 306 distorts image points from the camera's principal point in a direction perpendicular to the radial distortion.
[0049] External parameters
[0050] The position of a camera relative to some reference coordinate system is typically expressed as a 3D rotation matrix and a position vector, or as a transformation matrix. The elements of these matrices are known as the extrinsic parameters.
[0051] FIG. 4 shows the extrinsic parameters of the camera. The extrinsic parameters 402 are used or required in some cases to extract spatial information about the imaged target in a global coordinate system. This is useful and especially important in some cases, for example when multiple cameras are used together or when an imaging camera is used in combination with other sensors (e.g., inertial measurement unit (IMU) sensors, light detection and ranging (LIDAR) sensors, etc.) for fused sensor data output. The trackability of the extrinsic camera calibration is one of the difficult aspects of performing the calibration.
[0052] Camera Calibration
[0053] 5 shows an example of a workflow for image processing. In a typical previously known camera calibration, parameters are identified in an iterative process 500. Once a calibration data image is captured from a known image 502, the image is processed using an open source tool such as OpenCV (Open Source Computer Vision Library) 504, an open source computer vision and machine learning library. The resulting reprojected image is compared to the original known image 506. If the error is above a threshold, the process is repeated 508 with a different model until the error is acceptable.
[0054] Flexible Camera Calibration Station Design
[0055] Camera calibration techniques previously known in the industry typically perform well for a particular set of camera parameters (object distance, field of view, etc.), but struggle to accommodate a wide range of camera parameters in the same calibration fixture. There are many reasons for this relatively poor performance, including relatively inaccurate determination of extrinsic parameters, relatively poor distortion model accuracy across the entire field of view, the potential requirement for a large physical chart, etc.
[0056] As recognized by the inventors, a flexible camera calibration station can be used to overcome these and other calibration performance issues. Figure 6 illustrates an example of a system for generating a camera model. The system 600 illustrated in Figure 6 may include a calibration assembly 610, a camera assembly 620, a robot assembly 630, a tracker 640, and a computer system 650. The calibration assembly 610 may include a calibration target 612 and any suitable number of calibration assembly markers, e.g., a first calibration assembly marker 614a, a second calibration assembly marker 614b, and a third calibration assembly marker 614c, coupled to the calibration target 612 at respective positions. The camera assembly 620 may include a mount 622, a camera 624, and any suitable number of camera assembly markers, e.g., a first camera assembly marker 626a, a second camera assembly marker 626b, and a third camera assembly marker 626c, coupled to the mount 622 at respective positions. The camera 624 may have a field of view (FOV). The robot assembly 630 may be coupled to at least one of the calibration assembly 610 and the camera assembly 620, as indicated by the dashed lines.
[0057] The computer system 650 may include a processor 652 and at least one non-volatile computer readable medium 654. The computer system 650 may be coupled to the robot assembly 630, the camera 624, and the tracker 640. The at least one non-volatile computer readable medium 654 may store coordinates of the first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker 614 relative to each other and relative to the calibration target 612. The at least one non-volatile computer readable medium 654 may store coordinates of the first camera assembly marker, the second camera assembly marker, and the third camera assembly marker 626 relative to each other and relative to the camera 624. The at least one non-volatile computer readable medium 654 may store instructions that cause the processor 652 to perform operations. The operations may include instructing the robot assembly 630 to move the calibration assembly 610 relative to the camera assembly 620 or to move the camera assembly 620 relative to the calibration assembly 610 through a predetermined series of poses that together cause at least a portion of a field of view of the camera 624 to pass through the calibration target 612. The operations may include instructing the camera 624 to generate a respective image of the calibration target 612 at each pose of the predetermined series of poses. The operations may include instructing the tracker 640 to determine respective locations in space of the first, second, and third calibration assembly markers 614 and respective locations in space of the first, second, and third camera assembly markers 626 at each pose of the predetermined series of poses.The operations may include generating, for each image, a transformation function that maps (i) the stored coordinates of the first, second, and third calibration assembly markers 614, (ii) the stored coordinates of the first, second, and third camera assembly markers 626, (iii) the determined locations in space of the first, second, and third calibration assembly markers 614 for the image, (iv) the determined locations in space of the first, second, and third camera assembly markers 626 for the image, and (v) features of the calibration target 612 in each image into three-dimensional object space. The operations may include using the transformation function for each image to generate a model of extrinsic and intrinsic parameters of the camera 624.
[0058] FIG. 7 shows an example of another system for generating a camera model. An example of a flexible camera calibration station (system for generating a camera model) 700 is shown in the figure. It includes a test chart (calibration target) 702 with a calibration assembly marker (e.g., a rigidly mounted spherically mounted retroreflector (SMR)) 704, which is observed by a camera under test 706 that is also mounted on a mount (e.g., an interface bracket) 708 with a camera assembly marker (e.g., an SMR) 710. The test chart (calibration target) 702 may be fixed or may be mounted on a moving platform. The camera under test is mounted on a robot assembly (e.g., an articulated robot arm) 712. The camera assembly under test (camera assembly) 714 may be conveniently mounted on a rolling platform 716. The relative positions of all the calibration assembly markers 704 and the camera assembly markers (e.g., SMR) 710 may be monitored by a tracker (e.g., a laser tracker) 718. It should be noted that due to the design of the system architecture, the relative motion between the camera 706 and the test chart (calibration target) 702 is important to generate a rich calibration data set, but the camera 706 does not need to specifically move, nor does the test chart (calibration target) 702 need to move. The system architecture is flexible for one or both of the components to move, so that the camera system 714, which would be difficult to manipulate for calibration, can remain stationary.
[0059] An example camera is shown in Figure 8. The example camera has an 18 megapixel 2.8 mm fixed focal length lens with high resolution over a large field of view (FOV) (157 degrees). The pin diamond pin mount can be used as a repeatable and traceable datum for the camera extrinsic parameters, since the relative positions of the camera frame and the datum frame are fixed due to the rigid structure of the target camera.
[0060] 9A shows an example of a camera assembly. An example camera mount 900 is shown. In some examples, a spherically mounted retroreflector (SMR) 902 can be mounted to the camera mount 900 to provide a trackable point measurement of the location of the mount 900 and camera (camera assembly) 904 for a tracker (e.g., a laser tracker).
[0061] 9B shows a photograph of an example camera assembly on a coordinate measuring machine (CMM). A photograph of an example camera mount 900 on a CMM 910 is shown. The CMM 910 can be used to measure the SMR center coordinates in the camera mount datum frame.
[0062] FIG. 10 shows an example calibration target including a linear checkboard chart. A simple linear test chart (calibration target) 1002 is shown below as an example. In some cases, a linear grid chart 1002 may be chosen over a circular chart due to the high-precision corner detection capabilities of grid chart image processing. In this example, three SMRs 1004 are used in a triangular configuration, although different numbers and configurations of SMRs 1004 may be used in some implementations. The backlit photo-etched glass chart design 1006 allows for extremely sharp edge contrast and high-precision features.
[0063] FIG. 11A shows a photograph of an example calibration assembly on an optical metrology machine (OMM). FIG. 11B shows an example calibration target including a self-identifying binary code. In another example, a rectilinear checkerboard chart 1102 may be augmented with a self-identifying binary code 1104 (including, for example, CALTag and ARTag) to uniquely identify each square during image processing. Including the self-identifying pattern 1104 in the calibration chart (calibration target) is not required, but may improve processing robustness to variables such as lens distortion, non-uniform lighting, and test pattern occlusion. The chart (target) 1102 may be backlit by a diffuse LCD monitor for alternate color configuration and / or uniform lighting. An optical CMM (optical metrology machine or OMM) 1106 may be used to register the location of features of the chart (target) 1102 relative to a marker (e.g., SMR) 1108.
[0064] Camera data acquisition
[0065] FIG. 12 shows a flow chart of an example method of generating a camera model with a system described herein. The method 1200 of generating a camera model includes using a robotic assembly to move a calibration assembly relative to the camera assembly or to move the camera assembly relative to the calibration assembly through a predetermined series of poses (Operation 1202). The calibration assembly may include a calibration target and a first calibration assembly marker, a second calibration assembly marker, and a third calibration assembly marker. The first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker may be coupled to the calibration target at respective locations. The camera assembly may include a mount, a camera coupled to the mount at respective locations, and a first camera assembly marker, a second camera assembly marker, and a third camera assembly marker coupled to the mount at respective locations, the camera may have a field of view. The predetermined series of poses together may cause the calibration target to pass through at least a portion of the field of view of the camera. The method may also include using the camera to generate respective images of the calibration target at each pose of the predetermined series of poses (Operation 1204). The method may also include using the tracker to determine respective locations in space of the first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker, and respective locations in space of the first camera assembly marker, the second camera assembly marker, and the third camera assembly marker, at each pose of the predetermined series of poses (Operation 1206).The method may also include generating, for each image, a transformation function that maps (i) the stored coordinates of the first, second, and third calibration assembly markers, (ii) the stored coordinates of the first, second, and third camera assembly markers, (iii) the determined locations in space of the first, second, and third calibration assembly markers for the image, (iv) the determined locations in space of the first, second, and third camera assembly markers for the image, and (v) features of the calibration target in each image into a three-dimensional object space (Operation 1208). The method may also include using the transformation function for each image to generate a model of extrinsic and intrinsic parameters of the camera.
[0066] 13 shows a flowchart of an example method of generating a camera model with the system described herein. An example method 1300 of generating a camera model is shown. The method 1300 may include measuring a location of a calibration assembly marker relative to the grid feature (operation 1302). The method 1300 may also include measuring a location of a camera assembly marker on the camera mount relative to the camera datum (operation 1304). Once the location of the chart (calibration assembly) SMR (marker) relative to the grid feature has been measured and the location of the camera mount (camera assembly) SMR (marker) relative to the camera datum has been measured, a camera calibration process data collection may be performed.
[0067] A robotic arm (robot assembly) may be used to position the camera at different arm positions (operation 1306). At each position, a tracker (e.g., a laser tracker) measures the location of the chart (calibration assembly) and camera mount (camera assembly) SMR (marker) (operation 1308), and the camera images the chart (target) (operation 1310). These steps (operations) may be repeated by positioning the camera at different arm positions (operation 1312).
[0068] Camera Calibration Process
[0069] The camera calibration process can be divided into three main components: planning the relative movement between the chart (target) and the camera, performing data capture at relative locations that correspond to the planned movement, and signal processing to determine the parameters of the camera model. These components are detailed below.
[0070] Movement planning
[0071] FIG. 14 shows an example hemispherical superchart. Each position of the camera relative to the chart (target) results in a corresponding 2D chart (target) that may fill all or a portion of the camera's field of view. By changing the relative position multiple times, a composite "superchart" of chart (target) features may be generated. For a given set of nominal camera parameters, the calibration data collection sequence is simulated by a pre-processing algorithm to compute a motion plan that efficiently generates the appropriate superchart geometry. The motion planning algorithm may include inputs such as CMM inspection results, camera pose, chart (target) position, nominal marker (SMR) position, tracker position, and estimated camera parameters. The result of the motion planning step (operation) may be a nominal 3D position of each calibration feature in the global coordinate system. An example of a 3D distribution of features generated by the motion planning step (operation) is shown in the bottom figure of a hemispherical superchart that may be used for wide field of view camera calibration.
[0072] FIG. 15A shows an example three-layer hemispherical superchart. FIG. 15B shows the example three-layer hemispherical superchart of FIG. 15A projected into 2D image space. The superchart may have multiple layers that provide data for focus calibration and improved external calibration. A camera model projection algorithm can convert 3D features from the motion planner into 2D image points to estimate target coverage on the image sensor of a candidate camera. In the following figures, 15,230 chart (target) features of the three-layer hemispherical superchart are shown in both 3D object space (left, i.e., FIG. 15A) and projected 2D image space (right, i.e., FIG. 15B) to demonstrate full coverage of the camera field of view.
[0073] FIG. 16A shows another example multi-layer hemispherical superchart. FIG. 16B shows the example multi-layer hemispherical superchart of FIG. 16A projected into 2D image space. In some examples (e.g., embodiments), a sparse multi-layer superchart with both curved and planar segments is generated to efficiently provide coverage of the camera's field of view and target depth. For example, in the figure below, there are 12,344 chart (target) features in the image frame.
[0074] Data Capture
[0075] FIG. 17 shows a photograph of an example system for generating a camera model. An image of a real-world system 1700 is shown. A comparative typical data capture calibration is shown in the following figure. A test chart (target) 1702 uses a self-identifying binary code 1704, is backlit by an LCD panel 1706, and is mounted on a sliding platform 1708 with three SMRs 1710. The color of the backlight can be set to test color cameras, monochrome cameras, and infrared cameras. The camera under test 1712 is also mounted on a Universal Robots UR5 1716 with three SMRs 1714. The camera under test assembly 1718 is mounted on a rolling platform (not shown). The relative positions of all the SMRs 1710, 1714 are monitored with a FARO® Vantage laser tracker 1720.
[0076] 18 shows an example of how the determined locations in space of the first calibration assembly marker, the second calibration assembly marker, and the third calibration assembly marker, and the determined locations in space of the first camera assembly marker, the second camera assembly marker, and the third camera assembly marker, can be determined by the tracker. The relative positions of the chart (target) 1802 and the camera 1804 are set and checked by the robot controller. In one example (e.g., embodiment), the best-fit rigid body transformations (translations and rotations) between the OMM data set 1810 and the laser tracker data set 1820, and between the CMM data set 1830 and the laser tracker data set 1820, are found using the Kabsch algorithm. This minimizes the error between the two respective data sets without scaling the data.
[0077] Image Processing
[0078] FIG. 19 shows a flow chart of an example method of generating camera model parameters. An example method 1900 of image processing is shown. In some examples (e.g., embodiments), camera model parameters are generated as shown in the following figures. Data processing may be initially split into image processing of individual camera frames captured during data capture (operation 1902) and repackaging of three-dimensional tracker data (operation 1904). Processing of images from the camera (operation 1906) may include, for example, object detection, smoothing, edge enhancement, morphological operations, etc. 3D coordinates of chart (target) features based on tracker measurements are compiled and transformed into a common global coordinate system (operation 1908). The two data sets may then be combined to generate a calibration for the camera (operation 1910). The camera calibration may be used to output calibrated camera model parameters (operation 1912).
[0079] FIG. 20 shows a flow chart of another example method of generating camera model parameters. For an example of a checkboard chart with a self-identifying binary code, a calibration process 2000 is shown in the following figure. The superchart image 2002 may be filtered to improve the results (operation 2004). The individual corners of the checkboard chart are first extracted and labeled (operation 2006). For an example of a chart using the CALTag self-identifying pattern on the checkboard chart, an algorithm such as the Harris Corner Finder Saddle Point algorithm shown in the following figure may be used to extract corners between checkers to an accuracy of about 0.1 pixels (operation 2006). CALTags may then be identified (operation 2008). The superchart 3D coordinates 2010 may be used to label the 3D data to an accuracy of up to about 40 μm (operation 2012). The previously identified corners may then be paired with 3D coordinates (operation 2014). The camera model 2016 may then be used to create a camera calibration library (operation 2018). This library may then be subjected to nonlinear optimization (operation 2020). Parameters of the calibrated camera model are the output (operation 2022).
[0080] Figure 21 shows an example of how a self-identifying binary code may be detected. Below is an example of how the pattern embedded in the checker feature is uniquely identified and assigned based on the CALTag marking. The CALTag is divided into a grid of 16 squares, each square representing a bit, having a value of either 0 or 1. The values of the grid are then interpreted as binary numbers, starting at the top left and proceeding along the rows before starting the next row. The binary numbers may be converted to decimal numbers.
[0081] FIG. 22A shows a flow chart of an example method for identifying calibration target features. FIG. 22B shows an example calibration target with identified features. A method 2200 for matching corner features to associated positions in 3D space is shown. First, a decimal ID for the CALTag may be created (operation 2210) as described in the previous paragraph. A lookup table may be used to convert the decimal ID to a chart corner index (operation 2220). For a given image, each corner feature 2202 is assigned a corner index 2204 for tracking through the calibration process (operation 2230). As an example, the following image shows how features are identified and assigned row and column index indicators. Additional steps (operations) may be performed during the image processing steps (operations) to remove outliers from image processing errors that do not fit the predictive indexing.
[0082] The final component of image processing may include matching these labeled features in image space with corresponding locations in 3D object space determined from tracker and OMM data (operation 2240). Once the point correspondences between object and image space are known, a parametric model can be solved to characterize the relationship between the two. Figure 23 shows an example simple pinhole model of a camera. Such a model can be depicted by a simple pinhole camera shown in the figure below, where points in object space are scaled to image points via the focal length. A robust camera model may be used to accurately relate objects and image points and may include terms for both intrinsic and extrinsic parameters. Intrinsic parameters may include terms that allow for mapping between camera coordinates and pixel coordinates in the image frame, such as focal length, principal point, and distortion. Extrinsic parameters may include terms that allow for definition of the location and orientation of the camera relative to the world frame, such as rotation and translation.
[0083] Table 1 below summarizes the number of terms that may be present in a typical camera model. As can be seen in Table 1, in the camera model, the extrinsic parameters include three rotation terms and three translation terms. The intrinsic parameters include two principal point terms, two focal length terms, five radial coefficients, seven tangential coefficients, and seven asymmetric coefficients. Of these terms, the rotation, translation, principal point, focal length, and radial coefficients are included in the radially symmetric camera model. In contrast, all 29 terms, including the tangential coefficients and asymmetric coefficients, are included in the full camera model. [Table 1]
[0084] Many imaging cameras do not have a perfect linear relationship between the angle of view and image space coordinates, but this variation can be modeled with a polynomial of a number of terms. The Kannala radial polynomial is shown below. Symmetric radial distortions can be modeled.
number
[0085] Furthermore, additional modifications to the mapping can be realized by additional polynomials, such as the asymmetric radial and tangential terms represented by the Kannala full camera model shown below.
number
[0086] Since no closed-form solutions exist for the terms in the camera model, a merit function may be used to describe the reprojection error between object space and image space so that the terms can be iterated in the optimizer. The minimization problem may be passed through a nonlinear optimizer to determine the optimal distortion coefficients, focal length, and principal point. For example, the Levenberg-Marquardt algorithm may be used.
number
[0087] In the above formula,
number
number
number
number
number
number
number
number
number
number
number
[0088] Once the camera model is created, it can be inverted to transform image space into object space. The backprojection model can be useful to understand how image space reprojection errors are reflected in the world frame by physical distance errors.
[0089] It should be noted that the calibration data capture approach presented in this disclosure does not presuppose a particular camera model or optimizer that is used to minimize reprojection error in the final step. The approach is flexible to solution over many camera models, including the Brown-Conrady and Heikkila camera models, and different camera configurations may be best fit by different models.
[0090] Calibration Results and Audits
[0091] The error between a measured point and its location as predicted by a calibrated camera model can be measured in both image space and object space: a well-calibrated camera will accurately predict the location of a measured point.
[0092] FIG. 24A shows the image space projection error of an example camera model. FIG. 24B shows the object space reprojection error of the same example camera model as FIG. 24A. In one example, the 18 megapixel camera described above with a 2.8 mm focal length lens was calibrated with an average image space error of less than 0.1 pixels and an average object space error of less than 0.1 mm, as shown in the plot below. In this example, a hemispherical superchart with two layers was generated. As shown in FIG. 24A, the image space reprojection error was mostly less than 0.1 pixels. Only a few places near the edges of the image space (mainly the bottom left and bottom right) had errors of 0.3 pixels or more. As shown in FIG. 24B, the object space reprojection error of the same sample was mostly less than 0.1 mm. Several places near the edges of each respective hemisphere layer, especially the inner hemisphere layer, had reprojection errors of more than 0.1 mm.
[0093] These results can be compared to published results in Table 2 below. Table 2 includes the image space accuracy in pixels (image space error) and image accuracy in microns (object space error) of various methods of generating camera models commonly known in the industry. Table 2 also lists the image space resolution in pixels used by the various methods. As can be seen in Table 2, the present system and method ("Quartus Flexible Camera Calibration") achieves lower image space error and lower object space error than any of the listed methods. Furthermore, the present system and method achieves low error while having an image resolution of 4912 pixels by 3684 pixels, while other methods have a maximum image resolution of 1024 pixels by 768 pixels. [Table 2]
[0094] The numbers in parentheses used in Table 2 indicate the reference from which the data for that row was obtained. [1] refers to "Evaluating the Accuracy of Single Camera Calibration." Evaluating the Accuracy of Single Camera Calibration - MATLAB & Simulink. [2] refers to Kannala, J., & Brandt, SS (1995). A Generic Camera Model and Calibration Method for Conventional, Wide-Angle, and Fish-Eye Lenses. [3] refers to Brown, DC (1966). Decentering Distortion of Lenses. [4] refers to Zhang, Z. (1999). Flexible Camera Calibration by Viewing a Plane From Unknown Orientations. The entire contents of each of the above references are incorporated herein by reference.
[0095] FIG. 25 shows a flow chart of an example method for generating an audit dataset. An example method 2500 for generating an audit dataset is shown. In some examples (e.g., embodiments), the camera calibration station (system for generating a camera model) of the present invention can be used to generate the audit dataset. The audit dataset can be a set of images with the same trackability of object points, but the set of images is sufficiently different from the object points used to perform the calibration. The audit verifies that the calibrated camera accurately predicts the location of objects anywhere (other than the calibration points). This potentially ensures a quality calibration. For example, it potentially verifies that the optimizer was not stuck in a local minimum. The calibration data 2502 can be optimized (operation 2504). The optimized data can then be used to generate camera parameters (operation 2506). The generated camera parameters can be used with the audit data 2508 to output an audit reprojection error (operation 2510).
[0096] 26 illustrates a flowchart of an example method for determining object space error and image space error using an audit model. According to some examples (e.g., embodiments), the audit may be used to compare the object space error in distance units to the image space error in pixels. For example, the audit image space points 2602 may be provided to a camera model 2604 to generate backward projected points 2606 in object space. The backward projected points 2606 may be compared to the audit object space points 2608 to determine the object space error 2610 of the camera model 2604. The audit object space points 2608 may be provided to the camera model 2604 to generate forward projected points 2612 in image space. The forward projected points 2612 may be compared to the audit image space points 2602 to determine the image space error 2614 of the camera model 2604.
[0097] Figure 27A shows the object space reprojection error of an example camera model determined by using an audit model. Figure 27B shows the image space reprojection error of the same example camera model determined by using the same audit model. In one example shown below, the image space reprojection error was about 0.3 pixels and the object space reprojection error was about 0.5 mm.
[0098] As will be appreciated, the camera model of the present invention may be used in any manner known in the art. For example, a camera calibrated as described herein may be used to precisely locate the pose of a robotic system in a visual servoing task, thereby allowing such a system to interact with its environment with high precision. Many other applications exist.
[0099] It should be understood that any respective feature / example of each aspect of the disclosure described herein can be implemented together in any suitable combination, and any feature / example from any one or more of these aspects can be implemented together with any of the features of the other aspects described herein in any suitable combination, in order to achieve the benefits described herein.
[0100] While various illustrative examples have been described above, it will be apparent to one skilled in the art that various changes and modifications may be made without departing from the invention, and it is intended in the appended claims to cover all such changes and modifications which fall within the true spirit and scope of the invention.
Claims
1. 1. A method for generating a camera model, comprising: (a) using a robotic assembly to move a calibration assembly relative to a camera assembly through a predetermined series of poses, or to move the camera assembly relative to the calibration assembly; The calibration assembly includes: A calibration target; a first calibration assembly marker, a second calibration assembly marker, and a third calibration assembly marker coupled to the calibration target at respective positions; Including, The camera assembly includes: Mount and a camera coupled to said mount at each location and having a field of view (FOV); first, second, and third calibration assembly markers coupled to the mount at respective locations; Including, using a robotic assembly that, together with the predetermined series of poses, causes the calibration target to pass through at least a portion of the camera's FOV; (b) again using the camera to generate a respective image of the calibration target at each pose of the predetermined series of poses; (c) using a tracker to determine, at each pose of the predetermined series of poses, respective locations in space of the first, second, and third calibration assembly markers and respective locations in space of the first, second, and third camera assembly markers; (d) for each image, generating a transformation function that maps (i) the stored coordinates of the first, second, and third calibration assembly markers, (ii) the stored coordinates of the first, second, and third camera assembly markers, (iii) the determined locations in space of the first, second, and third calibration assembly markers for that image, (iv) the determined locations in space of the first, second, and third camera assembly markers for that image, and (v) features of the calibration target in each image into three-dimensional object space; (e) using the transformation function for each image to generate a model of extrinsic and intrinsic parameters of the camera; A method comprising:
2. The method of claim 1 , wherein the calibration assembly further comprises a fourth calibration assembly marker coupled to the calibration target.
3. 3. The method of claim 2, wherein operation (c) includes using a tracker at each pose of the predetermined series of poses to determine respective locations in space of the first, second, third, and fourth calibration assembly markers.
4. The method of claim 1 , wherein the camera assembly further comprises a fourth camera assembly marker coupled to the mount.
5. 5. The method of claim 4, wherein act (c) includes using a tracker at each pose of the predetermined series of poses to determine respective locations in space of the first, second, third, and fourth camera assembly markers.
6. The method of claim 1 , wherein the calibration assembly markers each include a spherically mounted retroreflector (SMR).
7. The method of claim 1 , wherein the camera assembly markers each include a spherically mounted retroreflector (SMR).
8. The method of claim 1 , wherein the mount comprises a diamond pin mount.
9. 9. The method of any one of claims 1 to 8, wherein the tracker comprises a laser tracker.
10. 10. The method of claim 1, further comprising: (f) determining coordinates of the first, second, and third camera assembly markers in the camera mount datum frame.
11. The method of claim 10 , wherein said operation (f) is performed using a coordinate measuring machine (CMM).
12. The method of claim 1 , wherein the calibration target comprises a rectilinear checkerboard chart.
13. The method of claim 1 , wherein the calibration target comprises a self-identifying binary code.
14. The method of claim 13 , wherein the self-identifying binary code includes a CALTag or an ARTag.
15. 15. The method of claim 1, further comprising: (g) determining locations of features of the calibration target relative to the first, second, and third calibration assembly markers.
16. 16. The method of claim 15, wherein operation (g) is performed using an optical measurement machine (OMM).
17. The method of claim 1 , wherein the predetermined series of poses taken together form a superchart.
18. The method of claim 17 , wherein the superchart comprises a hemispherical shape.
19. The method of claim 17 or claim 18, wherein the superchart comprises multiple layers.
20. The method of claim 1 , further comprising: (h) for each image, processing the image prior to operation (d).
21. 21. The method of claim 20, wherein the processing of the image includes at least one of object detection, smoothing, edge enhancement, and morphological operations.
22. 22. The method of claim 1, further comprising: (i) repeating operations (a) through (d) to generate an audit data set of extrinsic and intrinsic parameters of the camera with a series of different predefined poses.
23. 23. The method of claim 22, further comprising: (j) using the determined locations in space of the first, second, and third calibration assembly markers from the audit data set, the determined locations in space of the first, second, and third camera assembly markers from the audit data set, and the camera model to determine image space errors and object space errors of the camera model.
24. 1. A system for generating a camera model, comprising: (a) a calibration assembly comprising: A calibration target; a first calibration assembly marker, a second calibration assembly marker, and a third calibration assembly marker coupled to the calibration target at respective positions; a calibration assembly including: (b) a camera assembly comprising: Mount and a camera coupled to said mount at each location and having a field of view (FOV); first, second, and third camera assembly markers coupled to the mount at respective locations; a camera assembly including: (c) a robot assembly coupled to at least one of the calibration assembly and the camera assembly; (d) a tracker; and (e) a computer system coupled to the camera, the robotic assembly, and the tracker, the computer system including at least one processor and at least one non-volatile computer readable medium; Including, the at least one non-volatile computer readable medium stores coordinates of the first, second, and third calibration assembly markers relative to each other and to the calibration target; the at least one non-volatile computer readable medium stores coordinates of the first, second, and third camera assembly markers relative to each other and to the camera; The at least one non-volatile computer readable medium further comprises: commanding the robot assembly to move the calibration assembly relative to the camera assembly or to move the camera assembly relative to the calibration assembly through a predetermined series of poses that together cause at least a portion of the FOV of the camera to pass through the calibration target; instructing the camera to generate a respective image of the calibration target at each pose of the predetermined series of poses; instructing the tracker to determine, at each pose of the predetermined series of poses, a respective location in space of the first, second, and third calibration assembly markers and a respective location in space of the first, second, and third camera assembly markers; generating, for each image, a transformation function that maps (i) the stored coordinates of the first, second, and third calibration assembly markers, (ii) the stored coordinates of the first, second, and third camera assembly markers, (iii) the determined locations in space of the first, second, and third calibration assembly markers for that image, (iv) the determined locations in space of the first, second, and third camera assembly markers for that image, and (v) features of the calibration target in each image into three-dimensional object space; using said transformation function for each image to generate a model of extrinsic and intrinsic parameters of said camera; A system that performs an operation including
25. The system of claim 24 , wherein the calibration assembly further comprises a fourth calibration assembly marker coupled to the calibration target.
26. 26. The system of claim 25, wherein the at least one non-volatile computer readable medium stores coordinates of the fourth calibration assembly marker relative to the first, second, and third calibration assembly markers, and coordinates of the fourth calibration assembly marker relative to the calibration target.
27. the at least one non-volatile computer readable medium stores coordinates of the fourth calibration assembly marker; The instructions further include: instructing the tracker to determine, at each pose of the predetermined series of poses, a respective location in space of the fourth calibration assembly marker; generating, for each image, a transformation function that maps the stored coordinates of the fourth calibration assembly marker into three-dimensional object space; 27. The system of claim 25 or claim 26, comprising:
28. 28. The system of claim 24, wherein the camera assembly further comprises a fourth camera assembly marker coupled to the mount.
29. The at least one non-volatile computer readable medium comprises: coordinates of the fourth camera assembly marker relative to the first, second, and third camera assembly markers; the coordinates of the fourth camera assembly marker relative to the camera; 30. The system of claim 28, further comprising:
30. the at least one non-volatile computer readable medium stores coordinates of the fourth camera assembly marker; The instructions further include: instructing the tracker to determine a respective location in space of the fourth camera assembly marker at each pose of the predetermined series of poses; generating, for each image, a transformation function that maps the stored coordinates of the fourth camera assembly marker into three-dimensional object space; generating, for each image, a transformation function that maps the determined coordinates of the fourth camera assembly marker into a three-dimensional object space; 30. The system of claim 28 or claim 29, comprising:
31. 31. The system of any one of claims 24 to 30, wherein the calibration assembly markers each include a spherically mounted retroreflector (SMR).
32. 32. The system of any one of claims 24 to 31, wherein the camera assembly markers each include a spherically mounted retroreflector (SMR).
33. 33. The system of any one of claims 24 to 32, wherein the mount comprises a diamond pin mount.
34. 34. The system of any one of claims 24 to 33, wherein the tracker comprises a laser tracker.
35. 35. The system of any one of claims 24 to 34, wherein the stored coordinates of the first, second and third camera assembly markers relative to each other and to the camera are determined using a coordinate measuring machine (CMM).
36. 36. The system of claim 24, wherein the calibration target comprises a rectilinear checkerboard chart.
37. 37. The system of claim 24, wherein the calibration target comprises a self-identifying binary code.
38. 38. The system of claim 37, wherein the self-identifying binary code includes a CALTag or an ARTag.
39. 39. The system of claim 24, wherein the at least one non-volatile computer readable medium stores coordinates of features of the calibration target relative to the first, second, and third calibration assembly markers.
40. 40. The system of claim 39, wherein the stored coordinates of the calibration target relative to the first, second, and third calibration assembly markers are determined using an optical metrology machine (OMM).
41. 41. The system of any one of claims 24 to 40, wherein the predetermined series of poses together form a superchart.
42. 42. The system of claim 41, wherein the superchart comprises a hemispherical shape.
43. 43. The system of claim 41 or claim 42, wherein the superchart comprises multiple layers.
44. 44. The system of claim 24, wherein the instructions further comprise, for each image, processing the image prior to generating a transformation function.
45. 45. The system of claim 44, wherein the processing of the image includes at least one of object detection, smoothing, edge enhancement, and morphological operations.
46. 46. The system of any one of claims 24 to 45, wherein the instructions further comprise repeating the actions in the instructions with a sequence of different predefined pauses to generate an audit data set.
47. 47. The system of claim 46, wherein the instructions further comprise using the determined locations in space of the first, second, and third calibration assembly markers from the audit data set, the determined locations in space of the first, second, and third camera assembly markers from the audit data set, and the camera model to determine image space errors and object space errors of the camera model.
Citation Information
Patent Citations
Camera correction jig and method for correcting camera
JP2021067514A
Automatic calibration for a robot optical sensor
US20200282575A1
Cited By
Methods and systems of generating camera models for camera calibration
US12403606B2
