Assembly for calibrating a camera and measuring method, program product and computer-readable medium for the assembly

Through the method of multi-view image analysis and multi-target arrangement, the self-calibration and component standardization of the camera calibration system are realized, which solves the problems of expensive and frequent maintenance of the camera calibration system in the existing technology, and improves the stability and accuracy.

CN112970249BActive Publication Date: 2024-09-24CONTI TEMIC MICROELECTRONIC GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980073977.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-12-21
Filing Date
2019-12-16
Publication Date
2024-09-24
Estimated Expiration
2039-12-16

AI Technical Summary

Technical Problem

Existing camera calibration systems are expensive and require frequent maintenance, making it difficult to achieve a stable and long-term calibration state.

Method used

Multiple calibration targets and positioning bases are used to collect multi-view images through reference cameras, analyze and evaluate the postures and positions between targets, determine the internal and external parameters of the camera, and achieve self-calibration of the camera and standardization of components.

Benefits of technology

Maintenance needs are reduced, the stability and accuracy of the calibration system is improved, and it can automatically compensate for time changes and environmental influences, avoiding unnecessary adjustments and replacements of components.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112970249B_ABST
    Figure CN112970249B_ABST
Patent Text Reader

Abstract

The present invention relates to a component for calibrating a camera (31) to be calibrated, comprising: a first positioning base (43) for accommodating a reference camera adapter (40) or an adapter (34) for accommodating the camera (31) to be calibrated; an auxiliary target (21); a reference camera adapter (40) for accommodating a reference camera housing (11) or the auxiliary target (21); an adapter (34) for accommodating the camera (31) to be calibrated; a second positioning base (41) for accommodating the reference camera housing (11); and at least one calibration target (51, 52, 53) configured to be able to be calibrated by the reference camera (11) or the camera to be calibrated arranged on the first positioning base (43). The invention relates to a camera (31) that captures the at least one calibration target; a reference camera housing (11) for accommodating reference cameras (12, 13); wherein the first positioning base (43) is arranged (position 54) in such a way that a first image captured by the reference camera (12, 13) arranged in the first positioning base (43) contains at least one calibration target (51, 52, 53); and wherein the second positioning base (41) is arranged (position 55 or position 56) in such a way that a second image captured by the reference camera (12, 13) arranged in the second positioning base (41) contains at least one calibration target (51, 52, 53) and an auxiliary target (21) arranged in the first positioning base (43).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a measuring system for calibrating components of a camera, a method for measuring a camera calibration system, a computer program and a computer-readable medium.

[0002] The camera parameters required when using a camera as a measuring system describe primarily the projection of three-dimensional points into the image. These parameters can be determined during the production of the camera by means of a three-dimensional calibration component, for example using a plate with a pattern printed on it, the so-called target. The evaluation is carried out based on the known geometrical relationships of the component and the points of the pattern captured in the image of the camera to be calibrated. The parameters determined include the light propagation path within the optical component (internal parameters) and the attitude (position and orientation) of the optical component in space in the selected coordinate system (external parameters).

[0003] The intrinsic parameters of the camera to be calibrated are stored for further use. The extrinsic and intrinsic parameters are stored and often used to check the requirements for the optics and camera assembly at the end of manufacturing.

[0004] One requirement for the camera calibration system is that the accurately adjusted target and camera placement positions must not be allowed to shift over time and must be stable. Such systems for camera calibration are very expensive and require a lot of maintenance.

[0005] The object of the present invention is to provide an arrangement for calibrating a camera and a measuring method for calibrating an arrangement for a camera which allow a simple, largely maintenance-free arrangement to be realized.

[0006] This object is solved by the subject matter of the independent claims. Advantageous embodiments are the subject matter of the dependent claims, the following description and the drawings.

[0007] In this description, "mounting" (aufnahme / aufnehmen) refers only to the mechanical mounting / accommodation of an object using a holder, such as the mechanical mounting of a camera or a camera housing using a mechanical adapter or by means of a mechanical interface or mechanical interface. The photographic recording (aufnehmen) of an image is generally described by the "capturing" / detecting (erfassen) of an image or an object, such as a calibration target.

[0008] According to one embodiment, a component for calibrating a camera is provided. The component has the following elements: an auxiliary target, a reference camera in a reference camera housing, a reference camera adapter for placing the reference camera housing or the auxiliary target, a calibration camera adapter for placing a camera to be calibrated (calibration camera), a first positioning base for placing the reference camera adapter to capture a first image of the reference camera or a first positioning base for placing the calibration camera adapter, a second positioning base for placing the reference camera to capture a second image, and at least one calibration target. The at least one calibration target is arranged in such a way that it can be captured by the reference camera or calibration camera placed by the first positioning base. The first positioning base is arranged in such a way that the first image contains at least one calibration target. The second positioning base is arranged in such a way that the second image of the reference camera placed therein contains at least one calibration target and the auxiliary target placed in the first positioning base.

[0009] Therefore, the proposed assembly comprises at least two targets, wherein a target is, for example, a plate with features printed thereon, such as a checkerboard pattern or a circular pattern. The targets are preferably arranged in the calibration space at a certain spacing and in a certain orientation so that they cover the image area of ​​the calibration camera. The reference camera is preferably mounted in such a way that its image is covered as completely as possible by the pattern of the targets.

[0010] According to an advantageous embodiment, the first positioning base has a first mechanical interface type for accommodating a calibration camera adapter or a reference camera adapter. The reference camera adapter has a second mechanical interface type for accommodating a reference camera housing or an auxiliary target and a first mating interface. Furthermore, the calibration camera adapter for accommodating the calibration camera has a first mating interface and the second positioning base has a second mechanical interface type for accommodating a reference camera housing.

[0011] Under predetermined circumstances, the third positioning base has a second mechanical interface type.

[0012] Thus, the auxiliary target and the reference camera housing can be mounted by the same adapter, the reference camera adapter. The other adapter, the calibration camera adapter, can accommodate the calibration camera. Due to the same interface type, the first interface type, both adapters can be mounted on the first positioning base. The reference camera can be mounted on all available positioning bases by means of a special adapter for the reference camera, wherein the special adapter for the reference camera has a second interface type for accommodating the reference camera, which is the same as the interface type of the other positioning bases.

[0013] The individual components, namely the reference camera housing, the adapter and the interface of the positioning base and the adapter for mounting the calibration camera, each have a specific relative position or orientation relative to one another, which can be determined, for example, by measurements during the installation of the system. In this case, for example, a reference coordinate system can be defined by the corners of the reference camera housing and the edges adjacent thereto. All positions and orientations of the components can be referenced to this reference coordinate system. Thus, in particular, the housing of the reference camera can be in a relative geometric relationship to the housing and optics of the ideal calibration camera.

[0014] The auxiliary calibration target can preferably be designed on a cube which is fixed via a reference camera adapter to a first positioning base, into which the product camera to be calibrated is subsequently inserted.

[0015] Thus, in the assembly, there are geometric relationships between the various components. The housing of the reference camera preferably has a posture / attitude relative to the first positioning base due to the adapter or the interface. This posture does not change over time and can be predetermined, for example, by contact measurement, so it can be assumed that it is known. Correspondingly, the posture between the housing or the optics of the ideal calibration camera and the first positioning base can be determined and assumed to be known. Thus, under the premise that the support of the filming component remains unchanged, in the subsystem consisting of the reference camera, the first positioning base and the calibration camera, there is a specific, constant and known geometric relationship between the reference camera and the ideal calibration camera.

[0016] According to a preferred embodiment, the assembly has two or more calibration targets that are arranged non-coplanarly with respect to one another (e.g., a flat checkerboard pattern). This avoids ambiguous (degenerate) spatial scenarios (see further embodiments). The calibration targets can advantageously be uniquely identified, for example, by corresponding coding. Thus, in the case of a plurality of targets, each calibration target can have an identification pattern for its identification.

[0017] The first positioning base and the second positioning base are preferably arranged and configured in such a way that, when the reference camera is mounted on the first positioning base (via the reference camera adapter), each of the six spatial degrees of freedom of the reference camera's posture has a (sufficient) difference compared to when it is mounted in the second positioning base. This alternative also serves to avoid ambiguities, but here it is about ambiguities in the position and orientation of the reference camera in two different positions. The position of the camera should preferably not correspond to a so-called "critical motion".

[0018] A first method of measuring the components to be calibrated for the camera to be calibrated comprises the following steps:

[0019] positioning a reference camera on a first positioning base;

[0020] acquiring a first image of at least one calibration target by means of a reference camera;

[0021] positioning the auxiliary target on the first positioning base;

[0022] positioning a reference camera on a second positioning base;

[0023] acquiring a second image of at least one calibration target and the auxiliary target by means of a reference camera;

[0024] determining a pose of the auxiliary object relative to at least one calibration object by analyzing and evaluating the second image;

[0025] determining the position of (all) calibration targets relative to each other; and

[0026] The unknown parameters of the reference camera are determined by evaluating the acquired first and second images, wherein the extrinsic parameters are determined from the first image and the relative pose of the auxiliary object relative to a previous calibration object in the second image.

[0027] The pose of the auxiliary object in the second image provides information about the pose of the reference camera when the first image was acquired. Taking this information into account, further unknown parameters of the reference camera can be determined by evaluating the acquired first image.

[0028] According to an advantageous embodiment of the method, the actual dimensions of the assembly consisting of the first positioning base, the interface, the reference camera adapter, the auxiliary target and the reference camera are measured before the image is captured by the reference camera. As a result, the reference camera parameters can be optimized by comparing the actual dimensions known so far with the dimensions determined by evaluating the reference camera images.

[0029] First, a design of the method is discussed, in which the internal and external parameters of the reference camera are known relative to the reference camera housing. For the design discussed, it is beneficial but not necessary to take a second image. When the pattern is obtained in a beneficial way and arranged in space in a beneficial way, the pose of the patterns (points) relative to each other can already be estimated in the following way from the target pattern captured in the first image of the reference camera. In another design, this can be done by combining auxiliary knowledge about the component, such as the measured pattern size and / or planarity. It is particularly advantageous to take into account auxiliary knowledge about the size of the auxiliary target, which is preferably manufactured with high precision. In addition, the pose of the reference camera relative to the first target, and therefore based on the known pose of the reference camera relative to the reference camera housing (external calibration), the pose of the first base and the optics of the ideal calibration camera relative to the first target can be estimated. If there are multiple target patterns and these multiple target patterns are captured by the first image, the relationship between these patterns can be established, that is, the measurement of the component is achieved. With the information obtained, the internal and external parameters of the camera to be calibrated in a given component can be determined.

[0030] The latter case describes a common or close design of an optical system for measuring calibration components. Embodiments of the invention are now described in which the assumptions about known parameters of the reference camera are reduced.

[0031] Next, a design of the present invention is discussed, in which only the internal parameters of the reference camera are known.

[0032] As described above, when the pattern is obtained in a beneficial manner and arranged in space in a beneficial manner, the positions of the targets relative to each other can be estimated from the images of the target pattern captured by the reference camera in the manner described below.

[0033] According to the above description, in this design, the second image of the reference camera is collected from the second positioning base. Here, the auxiliary target is placed on the first positioning base with the help of the reference camera adapter. As a result, the reference camera captures both the previous calibration target and the auxiliary target in the second image, which makes it possible to estimate the relative posture of these targets to each other. In this way, since the posture between the reference camera housing and the auxiliary target is known, the posture of the reference camera housing relative to the previous calibration target is obtained. By combining the posture of the reference camera relative to the previous calibration target in the first image, the posture of the reference camera relative to the reference camera housing, that is, the external parameters of the reference camera, is obtained. By shooting from multiple perspectives and by clever methods, the design discussed is therefore returned to the previously described situation of all known parameters of the reference camera. That is, the measurement system performs its own external calibration. Since the posture of the reference camera relative to (all targets in) the assembly in the second base is determined by this method, the second base is preferably not required to be constructed with repeatability accuracy.

[0034] Once the geometrical relationships are known, all parameters of the calibration camera can be estimated from the first image, for example in the manner explained below.

[0035] Another embodiment of the present invention is now introduced, in which both the intrinsic parameters and the extrinsic parameters of the reference camera are unknown.

[0036] According to one embodiment, assuming known geometric relationships (e.g., known pattern size and / or target planarity), the unknown internal parameters of the reference camera can be estimated from the two shots of the above method using the method described below. To achieve a robust system, the following embodiment is recommended.

[0037] According to one embodiment, the measuring system has a third positioning base, which is arranged in such a way that a reference camera mounted by the third positioning base can capture the auxiliary target mounted by the first positioning base and the at least one calibration target in the third image. If the reference camera is placed on the third positioning base, the calibration target and the auxiliary target can be captured from another position, thereby improving the accuracy of the system calibration. In addition to improving the accuracy, the internal calibration and external calibration of the reference camera can also be determined from the patterns visible in the three images (the first image without auxiliary target, the reference camera on the first base; the second and third images with auxiliary target, the reference camera on the second or third base) by the method described below. This can be done by the position of the pattern and the position of the reference camera under the conditions mentioned above, where very few assumptions are made about the dimensions of the components. It is only necessary to know the distance of the real physical structure (for example, the length of the calibration pattern on the previous calibration target). The proposed situation can then be returned to the situation where the system itself previously performed internal and external calibration. Large deviations of the optical parameters of the reference camera (for example, replacement of the optical device) can thus be tolerated without further maintenance of the reference camera.

[0038] The system thus provides an arrangement which allows the measurement of components provided for calibrating a camera by evaluating the captured images. In the other embodiments described, a system is provided which performs self-calibration. It should be noted that this involves the measurement of components, so that the production camera which is subsequently calibrated is not included in the method. The measurement of the components is more precisely the standardization of the components, which provides a clear context for the subsequent calibration of the camera. The measurement allows small, undesirable changes in the components, which are caused, for example, by environmental influences or by common changes in the material over time, to be compensated without the need for readjustment or even replacement of the target.

[0039] According to another embodiment, the calibration targets of the camera calibration measurement system each have an identification pattern for identification. This allows the targets to have the same pattern, such as a checkerboard pattern or a circular pattern, in addition to the identification pattern, but different targets can still be distinguished and identified on the captured image, so that each element of the pattern can also be accurately identified on all targets. The identification pattern can be, for example, a predetermined pattern element, such as a point in a square or other geometric shape. Other feasible solutions are encoding by color or grayscale, QR code, etc.

[0040] The described assembly enables a range of faults in the assembly or in the camera to be detected by measuring the assembly.

[0041] The first positioning base and the calibration target are the components of the system that are most likely to change over time. The calibration target can age, for example, due to environmental influences such as humidity and temperature, which can manifest itself, for example, in mechanical deformations. The first positioning base can be displaced due to frequent replacement of the calibration camera. In contrast, the reference camera is only removed from the second positioning base after relatively long time intervals, so that the pose of the second positioning base remains stable over a relatively long period of time.

[0042] If a change in the component is determined (for example due to a change in a determined parameter or quality measurement), the component can be readjusted and the calibration target can be acquired again starting from the first positioning base using the reference camera.

[0043] According to one embodiment, the measuring system has an analysis and evaluation unit, which is configured to determine the orientation of the calibration target and the auxiliary target and to determine the unknown parameters of the reference camera by analyzing and evaluating at least the first image and the second image. The analysis and evaluation unit may have a communication interface or a wireless communication interface for a wired connection with the reference camera or the camera to be calibrated, and the analysis and evaluation unit is usually a computer or a computing unit with a processor, which associates spatial points with image points specified for calibration and performs calibration according to a calculation rule, for example as described below.

[0044] First, we will discuss the case of how to calibrate a camera in a measured component. This is done after the component has been measured with the system presented here. In this way, for example, a production camera is calibrated.

[0045] Assume that the projection model of the camera is given by a parameterizable mapping k, so that each image point p satisfies the following equation relative to the space point s

[0046] p=k(s,θ),

[0047] where is a vector of parameters that models the corresponding physical camera. Since the positions of the calibration patterns relative to each other and thus the positions of the marks on the patterns in space and the position of the first positioning base relative to the first calibration pattern are all known, by making:

[0048]

[0049] Minimization enables calculation of the calibration parameters, where s i represents the spatial position of each point i of a feature (e.g., the corner of a square), and p i represents the associated image point.

[0050] The result is sometimes a (virtual) pose of the optical system relative to a reference coordinate system of the assembly (e.g. the center of the first target or a point on it). Since the pose of the first positioning base relative to the reference coordinate system is known, the pose of the optical system relative to the first positioning base and thus also the pose of the optical system relative to the camera adapter of the camera to be calibrated is also known.

[0051] The quality of the calibration parameters obtained is crucial for deciding, for example, whether a camera can be delivered to a customer or whether a camera or a component is defective. In the case of a positive result, the parameters are entered into a database with the camera calibration parameters and the camera is delivered. In the case of a negative result, the component must be readjusted, for example. In addition to checking the parameters with respect to previously specified limit values, a preferred quality value is l(θ).

[0052] In one embodiment of the invention, the internally calibrated and externally calibrated reference cameras in the first reference base are evaluated based on the assumption of a calibrated component from the first image. If the values ​​of the quality parameters differ too much from the expected values, a complete component measurement as described below must be performed.

[0053] According to one embodiment, a method for measuring a camera calibration assembly is provided, the method comprising the following steps:

[0054] - positioning the reference camera on the first positioning base,

[0055] - acquiring a first image of at least one calibration target,

[0056] - positioning the auxiliary target on the first positioning base,

[0057] - positioning the reference camera on the second positioning base,

[0058] - acquiring a second image of said at least one calibration target and said auxiliary target,

[0059] - Positioning the reference camera on a third positioning base,

[0060] - acquiring a third image of the at least one calibration target and the auxiliary calibration target,

[0061] - determining all unknown parameters of the reference camera, the poses of all objects of the assembly in the reference coordinate system of the assembly and the pose of the first base in the reference coordinate system,

[0062] - and the quality value of the determined parameter of the determination component, and

[0063] If the quality value meets the predefined requirements, the parameter is stored.

[0064] With the method, a reference image of the calibration target is first created by capturing a first image with a reference camera on a first positioning base. In a next step, an auxiliary target is placed on the first positioning base instead of the reference camera, and the reference camera is placed on the second positioning base in order to capture a second image of the auxiliary target and the calibration target starting from the second positioning base. The pose of the subsystem consisting of the interface, the adapter, the reference camera, the calibration camera adapter and the first positioning base or the auxiliary target is already known, for example, by previous contact measurements. The pose of the calibration target relative to the auxiliary target or, therefore, relative to the positioning base can then be further determined by the second image. With the aid of this information from the two images, the external parameters of the reference camera can also be calculated.

[0065] The method of the present embodiment is therefore based on at least two calibration targets for measuring the component and determining the extrinsic parameters, which are acquired in their respective orientations from at least two positioning base positions or camera positions, and a third image is acquired from a third positioning base to determine the unknown parameters of the reference camera. Further targets or positioning base positions can be added to the component, which helps to increase the accuracy.

[0066] Since the method of component measurement is used repeatedly (eg once a week), the calculation of the internal parameters can be performed iteratively, wherein the internal parameters are corrected each time by a new measurement.

[0067] In order to determine whether the determined parameters of a component are faulty or have excessively large errors, a quality criterion is used. The calculated quality value is compared, for example, with a threshold value. If the quality criterion is met, the value of the parameter of the component is stored and used for the calibration of the production camera. If the quality criterion is not met, it must be determined whether the reference camera is faulty or whether the component is seriously misaligned.

[0068] If, for example, the geometry changes over time or the calibration target deforms, this can be detected based on the measurements of the components and can be compensated for computationally to a certain extent. For example, a second image can be acquired before each camera calibration process or at least at certain time intervals.

[0069] According to one embodiment, a program unit is provided which, when executed on a computer control unit, evaluates the images and determines the first position relative to the two calibration targets by evaluating the acquired images according to the described method.

[0070] According to an embodiment, the program element is stored on a computer-readable medium.

[0071] The invention is explained in more detail below on the basis of exemplary embodiments and with reference to the accompanying drawings.

[0072] Figure 1 A side view and a front view of a reference camera according to an embodiment of the present invention are shown.

[0073] Figure 2 A calibration target according to an embodiment of the present invention is shown.

[0074] Figure 3 A camera adapter according to an embodiment of the present invention is shown.

[0075] Figure 4 The arrangement of the adapter and the positioning base according to an embodiment of the present invention is shown.

[0076] Figure 5 The arrangement of the positioning base and the target according to an embodiment of the present invention is shown.

[0077] Figure 6 A calibration target is shown as viewed from a first positioning base according to an embodiment of the present invention.

[0078] Figure 7 The arrangement of the positioning base according to an embodiment of the present invention is shown.

[0079] Figure 8 A calibration target is shown as viewed from a second positioning base according to an embodiment of the present invention.

[0080] Fig. 9 A flowchart of a camera calibration measurement method according to an embodiment of the present invention is shown.

[0081] Fig.10 The relationship between image points and space points according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0082] Figure 1 First, a side view and a front view of the reference camera 10 are shown. In one embodiment, the reference camera can be embedded in a rectangular housing 11. The reference camera 10 in the reference camera housing consists of an optical device 12, an imager housing 13 with electronic devices, a connecting piece 14, and a mechanical interface 15 of a second interface type for fixing the reference camera 10 in the assembly. For this purpose, the interface 15 is designed to be suitable for being placed by a positioning base. This type of (second) positioning base is used Figure 5 The positions 55 and 56 are shown. Alternatively, the interface 15 is positioned via a reference camera adapter 40. The housing is contact-measured with high precision and the attitude relative to the corners of the interface 15 is determined.

[0083] According to one embodiment, Figure 2A calibration pattern of an auxiliary target 21 in the form of a cube is shown. The cube has a checkerboard pattern 22 on several sides and an unambiguous code 23 for unambiguously identifying a given side of the cube. An example of such a code is shown in the sketch as a modification of a QR code. In addition, the cube has a mechanical interface 24 (a second interface type, shown as a square) that is identical to the interface 15 of the reference camera 10. The calibration pattern is optically measured with high precision relative to a reference edge of the cube and the pose, i.e. the position and orientation, of the reference edge is determined contact-wise relative to the interface 24. With the aid of a sensor such as Figure 4 The mechanical adapter shown with reference to the camera adapter 40 is capable of mounting the auxiliary target 21 on a first positioning base 43 .

[0084] According to one embodiment, Figure 3 A (camera) adapter 34 and a housing 32 are shown schematically, into which a camera 31 to be calibrated, ie a production camera, can be placed. The camera adapter 34 has a mechanical interface (mating interface) 33 of a first interface type, which can be mounted on a Figure 4 The first interface type is on the interface 44 of the first positioning base 43 shown. Figure 3 and Figure 4 It is symbolically represented as a triangle.

[0085] Figure 4 A second positioning base 41 with an interface 42 (of the second type) is schematically shown at positions 55 and 56, which interface constitutes a mating interface of the interface 15. Thus, the reference camera housing 11 can be mounted on the second positioning base 41 at the second position 55 or the third position 56. The reference camera housing 11 or the reference camera module 10 can be mounted on the reference camera adapter 40 via the interface 15 of the second type. The reference camera housing 11 and the reference camera adapter 40 are mounted on the first positioning base 43 (interface 44 of the first type) at position 54. The reference camera 10 captures a first image at the first position 54. To realize the second image (and, if necessary, the third image), the auxiliary target 21 is placed on the reference camera adapter 40 (at the first position 54), and the reference camera 10 is placed on the (second) positioning base 41 at the second position 55 (if necessary, at the third position 56).

[0086] The first positioning base 43 is a special structural form of the positioning base and is used in Figure 5 The intermediate position 54 shown in FIG. 5 (in the case of three positioning bases) can accommodate both the product camera 31 in the housing 32 and the reference camera 11 and the cube 21 with the auxiliary target via the adapter 40 .

[0087] According to one embodiment, Figure 5The top view shows an arrangement with three calibration patterns 51 , 52 , 53 and three positioning bases 54 , 55 , 56 for fixing reference camera 10 or other elements. Figure 5 The field of view of the reference camera 10 when it is placed in the positioning bases 43, 41 at positions 54, 55, 56 is indicated by a dotted line 57. The positioning bases 41 at the second position 55 and the third position 56 have significant deviations in distance, height and coordinate axes relative to the middle position 54 and relative to each other.

[0088] According to one embodiment, Figure 6 The arrangement of three calibration targets 51, 52 and 53 from the perspective of the camera to be calibrated or the reference camera 10 is shown when the camera to be calibrated or the reference camera 10 is fixed in the middle position 54. It should be noted that a mark 63 is arranged on the target, which clearly identifies the position of the corresponding target and the target pattern. The image of the camera to be calibrated and the reference camera 10 is shown in FIG. Figure 6 Furthermore, in the image of the reference camera 10, each frame 65 of the object (related to the calibration of the camera to be tested) should be visible in at least two views.

[0089] For clarity, Figure 7 Two different views of a preferred arrangement of only one target 53 are shown in sketch form. Figure 7 The left part shows a view of the arrangement from the right side, while Figure 7 The right part shows a view of the arrangement from the front. As can be seen from the figure, positions 55 and 56 are arranged farther from the calibration patterns 51, 52, 53 and higher than the positioning base 54, and are slightly twisted in all coordinate axes.

[0090] According to one embodiment, Figure 8 The view from the reference camera 10 of the second positioning base 41 to the calibration targets 51, 52, 53 is shown schematically at position 55. From their perspective, the calibration targets 51, 52 and 53 and the auxiliary target or cube 21 with the pattern 22 can be seen. The positioning base 55 is not rotated at right angles in all three axes relative to the spatial coordinate system, thereby forming Figure 8 The oblique perspective view shown in .

[0091] Depending on the specific tasks, the above arrangement structure can have different numbers and directions of patterns.

[0092] exist Fig. 9The flow chart of FIG. 1 shows the process of measuring a component according to an embodiment. The reference camera 10 is placed successively on the positioning bases 54, 55 and optionally on 56. If the reference camera 10 is at position 55 or 56, the cube is positioned on the positioning base 54. Fig. 9 The flowchart shown in the figure performs the following steps:

[0093] - positioning 901 the reference camera on a first positioning base,

[0094] - acquiring 902 a first image of at least one calibration target,

[0095] - Positioning the auxiliary target 903 on the first positioning base,

[0096] - positioning 904 the reference camera on a second positioning base,

[0097] - acquiring 905 a second image of at least one calibration target and an auxiliary target,

[0098] - positioning 906 the reference camera (10) on a third positioning base,

[0099] - acquiring 907 a third image of at least one calibration target and an auxiliary calibration target,

[0100] - determining 908 the orientation and position of at least one calibration target relative to the first positioning base by analyzing and evaluating the first image, and determining extrinsic parameters of the reference camera from the first image and from the relative orientation and position of the first positioning base by analyzing and evaluating the acquired first and second images,

[0101] - Determine the quality values ​​of the internal parameters of 909, and

[0102] If the quality value meets the predefined requirements, the internal parameter is stored 910 .

[0103] If the quality check in 909 yields a negative result, steps 901 to 908 are performed again, for example after readjustment.

[0104] In the following, the measured parameters are used to estimate the calibration quality and Fig.10 All possible unknown spatial positions of feature 65 are given by s i Indicates. Point s i It includes points of three objects 51, 52, 53 and points on the cube 21. If feature s is visible in image j=1, ... 3 i, Then the image point p ij Represents feature s in image j=1,...3 iThe (noise-corrupted) mapping of the pixel represents a point in other cases. We further define the weight w ij for:

[0105] If and only if feature s is seen in image j i When ij = 1, and

[0106] In other cases, ij =0.

[0107] Each view j=1, ..., 3 also includes the unknown vector j , which contains the intrinsic and extrinsic parameters of the reference camera 10. In this case, it is assumed that the intrinsic parameters are the same for all three views. The view of the positioning base 54 is regarded as the origin map / base map (Ursprung) and is not regarded as a parameter in the following text.

[0108] If points pij and si are given as above, then the formula

[0109]

[0110] Begin the minimization with reasonable starting values ​​from a previous or initial calibration.

[0111] According to the theory of photogrammetry or multi-view geometry, under given conditions there exists a θ* where L(θ*) has an isolated minimum. In this case, L(θ*) lies within the range of the noise of the feature extraction. The value L(θ*) is a quality feature of the method. Furthermore, the minimum is within the permissible range and is close to the starting solution. If the above method is not applicable, it is suspected that there is a displacement or failure of a component in the reference camera 10, and the component must be maintained. In the affirmative case (that is, when all the above conditions are met), the parameter values ​​contained therein have the following Fig.10 The following interpretations are shown in .

[0112] The internal parameters describe the standardization of the reference camera 10 or the calibration of the camera. A reference calibration of the internal parameters of the component only has to be carried out once. The parameters are then subsequently improved with each measurement to suit the current situation (displacement, environment, etc.). If the parameters deviate significantly from the starting parameters of the reference camera 10, a mechanical fault is suspected in the reference camera 10 or in the component. In the event of a mechanical fault, the component must be serviced.

[0113] Points iThe three-dimensional (3D) points on the object to be found for calibration in the coordinate system of the optical system of the reference camera 10 (i) contained in the positioning base 54. From these points, the printing quality, the flatness of the object and the position of the objects relative to each other can be determined. If these points clearly deviate from previously determined or specified values, a mechanical fault is suspected in the component or in the reference camera 10. In the event of a mechanical fault, the corresponding component must be serviced.

[0114] But point s i The three-dimensional (3D) points of the cube are also included, since these points are seen from positions 55 and 56 (iii). However, since the cube is measured with high accuracy and its relationship to the reference camera 10 is known (ii), the position of the optics of the reference camera 10 relative to the positioning base 54 is also known from the measured points. Therefore, the position of the positioning base relative to the point s on the target is also known. i In other words, as required by the calibration method above, point s can now be i Transfer to the reference coordinate system of the positioning base 54. If the measured relationship between the positioning base and the target is not consistent with the previous one, it is suspected that the adapter has been displaced. In the latter case, the assembly can be maintained.

[0115] If the calibration quality criteria of the reference camera 10 are met, the determined parameters are stored in a data memory and used for subsequent calibration of the camera to be calibrated. If the calibration quality criteria of the reference camera are not met, the component can be serviced and / or the measurement can be repeated.

[0116] To implement the above method, it may be necessary that the corresponding scene is not degraded and that the position of the camera does not correspond to a critical motion.

[0117] For example, the problem of degenerate scenes can be solved by using three planar targets that are not coplanar with each other. Thus, degenerate configurations of the scene are largely excluded.

[0118] The degenerate motion problem can be solved by having the cameras in different positions and twisted relative to each other in all axes.

[0119] Since each measurement involves standardization of the calibration system (reference camera 10) and inspection of the component, the component can be easily maintained. If large deviations are detected by standardization, the system must be maintained or readjusted. In addition, operating errors are avoided and sources of interference are reduced. For this component, it is not necessary to print very accurately and produce a planar target with high precision. The component can adapt to small changes in the target printing and planarity. In particular, it is not necessary to re-measure the target regularly.

Claims

1. A component for calibrating a camera (31) to be calibrated, the component comprising: a first positioning base (43) for accommodating a reference camera adapter (40) or an adapter (34) for a camera (31) to be calibrated, Auxiliary target (21), a reference camera adapter (40) for mounting a reference camera housing (11) or an auxiliary object (21), an adapter (34) for accommodating a camera (31) to be calibrated, a second positioning base (41) for arranging a reference camera housing (11), at least one calibration target (51, 52, 53), the at least one calibration target being arranged so as to be captured by a reference camera or a camera (31) to be calibrated mounted on the first positioning base (43), a reference camera housing (11) for accommodating a reference camera, The first positioning base (43) is arranged in such a way that a first image captured by a reference camera arranged in the first positioning base (43) contains at least one calibration target (51, 52, 53); and The second positioning base (41) is arranged in such a way that a second image captured by a reference camera arranged in the second positioning base (41) contains at least one calibration target (51, 52, 53) and an auxiliary target (21) arranged in the first positioning base (43).

2. The component according to claim 1 also has a third positioning base for placing a reference camera, and the third positioning base is arranged so that a third image captured by a third reference camera placed in the third positioning base contains at least one calibration target (51, 52, 53) and an auxiliary target (21) placed in the first positioning base (43).

3. The assembly according to claim 1 or 2, wherein: The assembly has three planar calibration targets (51, 52, 53) which are arranged not coplanar with each other.

4. The assembly according to claim 1 or 2, wherein: The first and second positioning bases (43, 41) are arranged and configured so that each of the six spatial degrees of freedom of the reference camera's posture when the reference camera is positioned in the first positioning base (43) is different than when the reference camera is positioned in the second positioning base (41).

5. The assembly according to claim 1 or 2, wherein: The first positioning base (43) has a first mechanical interface type (44) for accommodating a reference camera adapter (40) or an adapter (34) for a camera (31) to be calibrated, The reference camera adapter has a second mechanical interface type (15, 24) for mounting a reference camera or an auxiliary object (21) and has a first mating interface (33), An adapter (34) for accommodating a camera (31) to be calibrated has a first mating interface (33). The second positioning base (41) has a second mechanical interface type (42) for arranging a reference camera, The reference camera housing (11) has a second mating interface (15).

6. The component according to claim 1 or 2, further comprising an evaluation unit, which is configured to determine external parameters and / or internal parameters of the reference camera by evaluating at least the first image and the second image.

7. A method for measuring a component for calibrating a camera (31) to be calibrated, the method comprising the following steps: Positioning (901) a reference camera on a first positioning base (43), Acquiring (902) first images of at least two calibration targets by means of a reference camera, Positioning (903) the auxiliary target (21) on the first positioning base, Positioning (904) a reference camera on a second positioning base (41), Acquiring (905) a second image of at least two calibration targets (51, 52, 53) and an auxiliary target (21) by means of a reference camera, By analyzing and evaluating the second image, determining (908) the direction and position of the auxiliary target (21) relative to the at least two calibration targets, Determine the orientation of all calibration targets relative to each other, and The unknown parameters of the reference camera are determined by evaluating the acquired first and second images, wherein the extrinsic parameters are determined from the first image and the relative orientation and position of the auxiliary target (21) in the second image relative to a previous calibration target.

8. The method according to claim 7, wherein: Before capturing an image using a reference camera, the actual dimensions of an assembly consisting of a first positioning base (43), an interface (44, 15, 24), a reference camera adapter (40), an auxiliary target (21) and a reference camera are measured.

9. The method according to claim 7 or 8, comprising the steps of: positioning (906) a reference camera on a third positioning base, Acquiring (907) a third image of at least two calibration targets and the auxiliary target (21) by means of a reference camera, Determine the unknown parameters of the reference camera by analyzing and evaluating all acquired images. determining (909) a quality value of an internal parameter, and If the quality value meets the predefined requirements, the internal parameter is stored (910).

10. A computer program product, when executed on a computer control unit, which program product analyzes and evaluates an image and determines a first position relative to at least two calibration targets by analyzing and evaluating the acquired image according to the method according to any one of claims 7 to 9.

11. A computer-readable medium having stored thereon the program product according to claim 10.