Calibration method and computer equipment for multi-camera alignment and correction
By automatically determining the relative position and rotation angle of the multi-camera and the deviation correction platform, fully automated multi-camera alignment deviation correction calibration is achieved, solving the problems of insufficient calibration accuracy and manual assistance dependence in the prior art, and improving the deviation correction accuracy.
Patent Information
- Application Number
- CN202410740897.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-06-11
AI Technical Summary
The existing multi-camera alignment calibration method requires manual assistance and cannot be fully automated. The calibration accuracy is insufficient, and there is a problem that angle deviation affects the correction accuracy.
By placing the calibration object on the deviation correction platform, multiple cameras are controlled to acquire images, and the relative position relationship between the cameras and the rotation angle of the deviation correction platform are automatically determined. The world coordinates are calculated using image coordinates and rotation angle information to establish the camera and deviation correction platform. Mapping relationships to realize fully automated multi-camera calibration.
It realizes fully automated multi-camera calibration, improves calibration accuracy, reduces manual errors, and meets the high-precision requirements of automated production.
Smart Images

Figure CN118411428B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial vision automation positioning, and in particular to a calibration method and computer equipment for multi-camera alignment and deviation correction. Background Art
[0002] With the development of production needs and the continuous improvement of manufacturing and measurement accuracy requirements, the importance of visual alignment platforms has become increasingly prominent. Industrial automation positioning and guidance processing equipment requires accurate and fast positioning to ensure the diversity of production processes and effectively improve production efficiency. The machine vision alignment system involves CCD alignment and correction platform alignment. The key to alignment is the calibration of the camera and the correction platform. In order to improve accuracy and save costs, CCD usually uses multiple cameras for alignment. The calibration of multiple cameras needs to be connected in a unified coordinate system through calibration objects. At the same time, the rotation center of the correction platform needs to be calibrated before the correction alignment can be completed.
[0003] Among the existing calibration methods, most of them are performed under a single camera and require manual assistance. First, the unified coordinate system corresponding to multiple cameras needs to be manually determined in advance. Second, the calibration object is placed on the correction platform manually, and it is impossible to manually align the calibration object with the platform coordinate system. At this time, there will be a slight angle deviation. The angle deviation of the calibration object will be brought into the multi-camera joint calibration calculation, affecting the final correction accuracy. Some methods calculate the angle of the calibration object and reduce the influence of the smaller angle through mapping. However, these methods usually require manual pre-acquisition of the coordinate system direction and rotation direction of the correction platform, and manual input of parameters. The technical requirements for employees are high and prone to errors, and it is impossible to achieve full automation. In today's automated production, the calibration requirements are high precision and no manual setting of parameters is required.
[0004] In other words, the existing calibration scheme cannot achieve full automation and the calibration accuracy is insufficient. Summary of the invention
[0005] Based on this, it is necessary to propose a multi-camera alignment and correction calibration method and computer equipment to address the above problems.
[0006] In the first part of the present invention, a calibration method for multi-camera alignment and correction is provided, wherein the method is used for a correction system including multiple cameras, wherein the correction system includes a motion platform and a correction platform.
[0007] The method comprises:
[0008] Placing the calibration object on the correction platform, controlling the correction platform to translate, and controlling the multiple cameras to respectively capture a first calibration image containing all the calibration objects;
[0009] Determine the relative position relationship between the multiple cameras according to the reference coordinate information contained in the calibration object and the first image coordinates corresponding to the calibration object in the first calibration image;
[0010] Perform a first calibration according to the first image coordinates and the relative position relationship between the multiple cameras to obtain a first mapping relationship between each camera and the motion platform;
[0011] For each camera, a second calibration is performed based on the first mapping relationship for the reference coordinate information and the first image coordinates corresponding to two points in the first calibration image, as well as the relative coordinate relationship corresponding to the camera, so as to obtain a second mapping relationship from the camera to the correction platform;
[0012] Controlling the correction platform to rotate multiple times, recording the rotation angle information corresponding to the correction platform after each rotation, and controlling the multiple cameras to respectively capture the second calibration images containing the calibration object;
[0013] Calculate the world coordinates corresponding to the second image coordinates according to the second image coordinates corresponding to the calibration object in the second calibration image and the second mapping relationship, and determine the sign relationship between the correction platform and the coordinate system corresponding to the calibration object based on the calculated world coordinates and the corresponding rotation angle information;
[0014] A calibration matrix for each camera is determined according to the symbol relationship and the second mapping relationship.
[0015] In the second part of the present invention, a computer device is provided, which includes a memory and a processor. The memory has executable code. When the executable code runs on the processor, the calibration method for intelligent multi-camera alignment and correction as described in the first part above is implemented.
[0016] The embodiments of the present invention have the following beneficial effects:
[0017] After adopting the above-mentioned calibration method and computer equipment for multi-camera alignment and correction, for the correction system, multiple cameras are introduced for full-automatic calibration. Specifically, the calibration object is placed on the correction platform, the correction platform is controlled to translate, and the multiple cameras are controlled to respectively collect the first calibration image containing all the calibration objects; the relative position relationship between the multiple cameras is determined according to the reference coordinate information contained in the calibration object and the first image coordinates corresponding to the calibration object in the first calibration image; the first calibration is performed according to the first image coordinates and the relative position relationship between the multiple cameras to obtain the first mapping relationship between each camera and the motion platform; the reference coordinate information and the first image coordinates corresponding to two points in the first calibration image of each camera, and The relative coordinate relationship corresponding to the camera is calibrated for the second time on the basis of the first mapping relationship to obtain the second mapping relationship from the camera to the correction platform; the correction platform is controlled to rotate multiple times, and the rotation angle information corresponding to the correction platform is recorded after each rotation, and the multiple cameras are controlled to respectively collect the second calibration image containing the calibration object; according to the second image coordinates corresponding to the calibration object in the second calibration image and the second mapping relationship, the world coordinates corresponding to the second image coordinates are calculated, and the sign relationship between the coordinate system corresponding to the correction platform and the calibration object is determined based on the calculated world coordinates and the corresponding rotation angle information; according to the sign relationship and the second mapping relationship, the calibration matrix of each camera is determined to complete the calibration. Among them, the relative position relationship between multiple cameras is automatically established by using the calibration object with coordinate information, and the calibration accuracy is improved by two calibrations, and the angle sign between the coordinate systems is obtained by angle inversion, thereby improving the calibration accuracy on the basis of realizing fully automated multi-camera calibration. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] in:
[0020] Figure 1 A schematic diagram of a flow chart of a calibration method for multi-camera alignment and correction in one embodiment;
[0021] Figure 2 A schematic diagram of a calibration object with QR code information in one embodiment;
[0022] Figure 3 A schematic diagram of the relationship between a correction platform motor and a world coordinate system in an embodiment;
[0023] Figure 4 Schematic diagram of the structure of a computer device for running the above-mentioned multi-camera alignment and correction calibration method in an embodiment. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] In this application, a calibration method for multi-camera alignment and correction is proposed, and the method is used for a correction system including multiple cameras, and the correction system includes a motion platform and a correction platform, which are used to calibrate and correct the correction system. Here, the correction system includes multiple cameras, and calibration by multiple cameras can achieve full automatic calibration.
[0026] For details, see Figure 1 , a flow chart of the calibration method for the above-mentioned multi-camera alignment and correction is given, including:
[0027] Step S102: placing the calibration object on the correction platform, controlling the correction platform to translate, and controlling the multiple cameras to respectively capture a first calibration image containing all the calibration objects; determining the relative position relationship between the multiple cameras according to the reference coordinate information contained in the calibration object and the first image coordinates corresponding to the calibration object in the first calibration image.
[0028] In this embodiment, the calibration object includes a QR code, and each QR code has corresponding coordinate information. By obtaining the coordinate information of the corresponding QR code, the coordinate information corresponding to the calibration object can be known. For details, please refer to Figure 2 , a schematic diagram of a calibration object is given, which includes multiple QR codes, and each QR code corresponds to 4 positioning symbols, which are specifically in the form of black solid squares, hollow cross squares, etc. corresponding to the 4 vertices of the QR code.
[0029] Placing the calibration object on the correction platform determines the relationship between the calibration object and the correction platform.
[0030] Then, here, in order to determine the positional relationship between multiple cameras, it is necessary to first determine the relative positional relationship between the multiple cameras, that is, the step performed in the above step S102, which automatically establishes the relative positional relationship between the multiple cameras through a two-dimensional code calibration object with coordinate information.
[0031] Specifically, the correction platform is controlled to translate, and here the correction platform can be controlled to translate N points. After each translation, the position information P of the correction platform is recorded, so that the translation trajectory corresponding to the correction platform can be obtained. After each translation, multiple cameras are controlled to collect corresponding images, that is, to collect the first calibration image including the calibration object. , where N represents the number of translations and K is the camera number.
[0032] Then, the first calibration image is identified to obtain the image coordinates of the feature points corresponding to the calibration object contained therein as the first image coordinates; according to the translation trajectory of the correction platform and the first image coordinates of each translation corresponding to any camera, the motion coordinate system from the camera to the correction platform is determined; according to the reference coordinate information corresponding to the calibration object in each camera, and the motion coordinate system from the camera to the correction platform, the relative position relationship between the multiple cameras is calculated.
[0033] Specifically, the coordinate information of the QR code in the first calibration image corresponding to all cameras is obtained, and the coordinates of the QR code point in the middle of the image are obtained. The coordinates are the coordinate information corresponding to the calibration object, which can be considered as the reference coordinate information corresponding to the calibration object. It is the coordinate information directly obtained from the QR code and is recorded here as .
[0034] At the same time, the first calibration image set of all cameras Identify the corresponding For a single camera, each image can obtain the coordinate information corresponding to a point , which is the first image coordinate corresponding to a point in the calibration object in the first image. Each camera image has a point set , finally, the image coordinates corresponding to all cameras can be obtained .
[0035] Secondly, according to the translation trajectory and a set of image coordinate points of a camera , we can obtain the motion coordinate system of the correction platform relative to the camera .
[0036] Determine one of the multiple cameras as a reference point, and based on the coordinate axis direction of the motion coordinate system from the camera to the correction platform, determine the relative coordinates between the other cameras and the camera according to the difference between the reference coordinate information corresponding to the calibration object in the camera and the reference coordinate information corresponding to the calibration object in other cameras; determine the relative position relationship between the multiple cameras according to the relative coordinates calculated under each translation. Specifically, after obtaining the reference coordinate information corresponding to the QR codes of all cameras And the correction platform coordinate system , we can use the reference coordinate information corresponding to each camera , calculate the relative position relationship between the cameras, select one of the cameras as the 0 point, and then Coordinate system axis direction, reference coordinate information of other cameras By subtracting the selected camera, you can get the relative coordinate information of other cameras. Finally, we can get ; According to and translation trajectories , the relative coordinate motion trajectory of all cameras can be expanded (That is, the relative position relationship between multiple cameras).
[0037] Step S104: Perform a first calibration based on the first image coordinates and the relative position relationship between multiple cameras to obtain a first mapping relationship between each camera and the motion platform; perform a second calibration based on the reference coordinate information and the first image coordinates corresponding to two points in the first calibration image of each camera, as well as the relative coordinate relationship corresponding to the camera, to obtain a second mapping relationship from the camera to the correction platform.
[0038] After obtaining the relative position relationship between multiple cameras, the relative relationship between a certain camera and the correction platform can be further determined to determine the mapping relationship between the camera and the coordinate system corresponding to the correction platform.
[0039] In a specific implementation, the first mapping relationship between each camera and the motion platform is determined according to the first image coordinates corresponding to each camera and the relative motion trajectory corresponding to the camera. and relative position relationship After that, the first calibration can be performed to obtain the mapping relationship between each camera and the motion platform. The corresponding calibration here is a one-time calibration.
[0040] Then, the angle information between the coordinate system corresponding to the calibration object and the correction platform is calculated. Specifically, for each camera, according to the reference coordinate information corresponding to the calibration object under multiple (for example, two) translations of the camera, and the first image coordinates corresponding to the first calibration image, based on the first mapping relationship, the first image coordinates corresponding to the multiple translations are transformed to obtain the corresponding second transformed coordinates, and the angle information between the calibration object and the correction platform is determined according to the angle formed by the straight line corresponding to the second transformed coordinates corresponding to the multiple translations and the straight line corresponding to the reference coordinate information. Among them, for a single camera, one of the first calibration images is taken to obtain the corresponding QR code coordinate information (reference coordinate information ) corresponds to the first image coordinates , and obtain the coordinate information of another QR code in the image (reference coordinate information ) and the corresponding first image coordinates , respectively and The mapping matrix with the first calibration Transform and obtain the corresponding coordinate information and , calculated with arrive The straight line formed by arrive The angle between the straight lines , this angle is the angle information between the coordinate system corresponding to the calibration object and the correction platform.
[0041] Next, after obtaining the angle information between the coordinate system corresponding to the calibration object and the correction platform Then, according to the angle information and the relative coordinates corresponding to the camera, a second rotation transformation relationship is determined, and based on the second rotation transformation relationship, the relative motion trajectory corresponding to each camera is transformed to obtain the corresponding relative mechanical coordinate motion trajectory. And the relative coordinate information of a single camera , calculate the correction rotation transformation , which is the second rotation transformation relationship, the relative position relationship of each camera Relationship with the second rotation transformation Transform to obtain the new relative mechanical coordinates after transformation , so that the corresponding relative mechanical coordinate motion trajectory can be obtained , all cameras are .
[0042] Finally, according to the first image coordinates and the corresponding relative mechanical coordinate motion trajectory, the second mapping relationship between the camera and the correction platform is determined. and the new relative mechanical coordinate motion trajectory , you can perform a second calibration to get the second mapping relationship from all cameras to the correction platform .
[0043] Step S106: Control the deflection correction platform to rotate multiple times, record the rotation angle information corresponding to the deflection correction platform after each rotation, and control the multiple cameras to respectively capture the second calibration image containing the calibration object; calculate the world coordinates corresponding to the second image coordinates according to the second image coordinates corresponding to the calibration object in the second calibration image and the second mapping relationship, and determine the sign relationship between the coordinate system corresponding to the deflection correction platform and the calibration object based on the calculated world coordinates and the corresponding rotation angle information.
[0044] In step S104, after the angle deviation information (angle information) between the calibration object and the correction platform is obtained, the sign relationship between the motor motion of the correction platform and the coordinate system corresponding to the calibration object can be further obtained according to the angle inversion method.
[0045] Specifically, the correction platform is controlled to rotate multiple times, for example, M points are rotated, and the rotation angle information A corresponding to the correction platform is recorded after each rotation, and then the rotation angle trajectory corresponding to the multiple rotations can be obtained. At the same time, after each rotation, each camera is controlled to collect a second calibration image containing the calibration object, and a second calibration image set corresponding to each camera is obtained. , where M represents the number of rotations and K is the camera number.
[0046] For the second calibration image set corresponding to all cameras , obtain the reference coordinate information corresponding to the QR code in the calibration object .
[0047] For a single camera, the second image coordinates corresponding to the calibration object in the second calibration image are obtained, and the second image coordinates are transformed based on the second mapping relationship to obtain the corresponding world coordinates. Specifically, the second image coordinates corresponding to a point in each second calibration image are obtained. , and the second mapping relationship corresponding to the camera Transform to get the world coordinates corresponding to the point , thereby obtaining the world coordinate point set corresponding to each camera Finally, the world coordinates corresponding to all cameras can be obtained .
[0048] Then, for each camera, the rotation center corresponding to the correction platform is calculated based on the rotation angle trajectory and the world coordinates corresponding to the second image coordinates. and world coordinate point set , according to the two-point angle method, calculate the rotation center of the correction platform .
[0049] Finally, calculate the sign relationship between the motors of each axis of the correction platform and the calibration coordinate system. Specifically, because the multi-camera coordinate system is automatically established based on the movement direction of the correction platform motor, the motor direction of the XY axis is consistent with the direction sign of the calibration coordinate system, but the direction of the rotation axis is uncertain. Figure 3 As shown, the trajectory needs to be rotated according to the platform angle and world coordinate point set And the correction platform coordinate system Reverse calculation, take the world coordinate point set Two of the points , And its corresponding angle , ,calculate and exist The sign of the angle formed is and Whether the signs of the difference are consistent, if they are consistent, the signs of the rotating motor and the calibration coordinate system are consistent, otherwise the angle output calculated by the calibration coordinate system must be reversed.
[0050] Step S108: Determine a calibration matrix for each camera according to the symbol relationship and the second mapping relationship.
[0051] According to the symbol relationship and the second mapping relationship, the calibration matrix corresponding to each camera can be obtained, that is, the calibration matrix corresponding to each camera, thereby completing the correction calibration process.
[0052] Figure 4 The internal structure diagram of a computer device for implementing the calibration method for multi-camera alignment and correction in one embodiment is shown. The computer device can be a terminal or a server. Figure 4 As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the above method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can implement the above method. Those skilled in the art can understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0053] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0054] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0055] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A calibration method for multi-camera alignment and correction. Its features are used for The method is used for a correction system comprising multiple cameras, wherein the correction system comprises a motion platform and a correction platform. The method comprises: The calibration object is placed on the deflection correction platform, the deflection correction platform is controlled to translate, and the multiple cameras are controlled to collect the first calibration image containing all the calibration objects respectively; wherein the calibration object position contains a two-dimensional code, and the two-dimensional code contains reference coordinate information; wherein the step of controlling the deflection correction platform to translate, and controlling the multiple cameras to collect the first calibration image containing all the calibration objects respectively, also includes: controlling the deflection correction platform to translate multiple points, and recording the position information corresponding to the deflection correction platform after each translation, and controlling the multiple cameras to collect the first calibration image containing all the calibration objects respectively; determining the translation trajectory of the deflection correction platform according to the position information recorded after the deflection correction platform is translated; Determine the relative position relationship between the multiple cameras according to the reference coordinate information contained in the calibration object and the first image coordinates corresponding to the calibration object in the first calibration image; wherein the first calibration image is identified to obtain the image coordinates of the feature points corresponding to the calibration object contained therein as the first image coordinates; determine the motion coordinate system from the camera to the correction platform according to the translation trajectory of the correction platform and the first image coordinates corresponding to each translation of any camera; calculate the relative position relationship between the multiple cameras according to the reference coordinate information corresponding to the calibration object in each camera and the motion coordinate system from the camera to the correction platform; Perform a first calibration according to the first image coordinates and the relative position relationship between the multiple cameras to obtain a first mapping relationship between each camera and the motion platform; For the reference coordinate information and the first image coordinates corresponding to two points in the first calibration image of each camera, as well as the relative position relationship corresponding to the camera, a second calibration is performed on the basis of the first mapping relationship to obtain a second mapping relationship from the camera to the correction platform; wherein, for each camera, according to the reference coordinate information corresponding to the calibration object of the camera under two translations and the first image coordinates corresponding to the first calibration image, as well as the first mapping relationship, the angle information between the calibration object and the correction platform is calculated; according to the angle information and the relative coordinate relationship corresponding to the camera, the second mapping relationship from the camera to the correction platform is determined; Controlling the correction platform to rotate multiple times, recording the rotation angle information corresponding to the correction platform after each rotation, and controlling the multiple cameras to respectively capture the second calibration images containing the calibration object; According to the second image coordinates corresponding to the calibration object in the second calibration image and the second mapping relationship, the world coordinates corresponding to the second image coordinates are calculated, and the sign relationship between the motors of each axis of the correction platform and the coordinate system corresponding to the calibration object is determined based on the calculated world coordinates and the corresponding rotation angle information; wherein the value of the sign relationship is positive or negative, and the sign relationship indicates whether the signs of the motor directions of each axis of the correction platform and the coordinate directions of the coordinate system corresponding to the calibration object are consistent. If the signs are consistent, the value of the sign relationship is positive, otherwise it is negative; A calibration matrix for each camera is determined according to the symbol relationship and the second mapping relationship.
2. The calibration method for multi-camera alignment and correction according to claim 1, Its features are used for The step of calculating the relative position relationship between the multiple cameras according to the reference coordinate information corresponding to the calibration object in each camera and the motion coordinate system from the camera to the correction platform also includes: Determine one of the multiple cameras as a reference point, determine the relative coordinates between the other cameras and the camera based on the coordinate axis direction of the motion coordinate system from the camera to the correction platform and the difference between the reference coordinate information corresponding to the calibration object in the camera and the reference coordinate information corresponding to the calibration object in other cameras; determine the relative position relationship between the multiple cameras based on the relative coordinates calculated under each translation; The relative motion trajectory corresponding to each camera is determined according to the relative position relationship between the multiple cameras and the translation trajectory of the correction platform.
3. The calibration method for multi-camera alignment and correction according to claim 1, Its features are used for The step of calculating the angle information between the calibration object and the correction platform according to the reference coordinate information corresponding to the calibration object under the two translations of the camera and the first image coordinates corresponding to the first calibration image, and the first mapping relationship, further includes: For each camera, obtain reference coordinate information corresponding to the calibration object of the camera under two translations and first image coordinates corresponding to the first calibration image; Based on the first mapping relationship, transform the first image coordinates corresponding to the two translations to obtain corresponding second transformed coordinates; The angle information between the calibration object and the correction platform is determined according to the angle formed by the straight line corresponding to the second transformation coordinates corresponding to the two translations and the straight line corresponding to the reference coordinate information.
4. The calibration method for multi-camera alignment and correction according to claim 3, Its features are used for The step of determining a second mapping relationship between the camera and the correction platform according to the angle information and the relative coordinate relationship corresponding to the camera further includes: According to the angle information and the relative coordinate relationship corresponding to the camera, a second rotation transformation relationship is determined. Based on the second rotation transformation relationship, the relative motion trajectory corresponding to each camera is transformed to obtain the corresponding relative mechanical coordinate motion trajectory; According to the first image coordinates and the corresponding relative mechanical coordinate motion trajectory, a second mapping relationship from the camera to the correction platform is determined.
5. The calibration method for multi-camera alignment and correction according to claim 1, Its features are used for The step of calculating the world coordinates corresponding to the second image coordinates according to the second image coordinates corresponding to the calibration object in the second calibration image and the second mapping relationship, and determining the sign relationship between the correction platform and the coordinate system corresponding to the calibration object based on the calculated world coordinates and the corresponding rotation angle information, further includes: Acquire second image coordinates corresponding to the calibration object in the second calibration image, and transform the second image coordinates based on the second mapping relationship to acquire corresponding world coordinates; According to two world coordinates of the world coordinates corresponding to the second image coordinates corresponding to the multiple cameras and the rotation angle information corresponding to the second image coordinates, the sign relationship between the correction platform and the coordinate system corresponding to the calibration object is determined.
6. The calibration method for multi-camera alignment and correction according to claim 5, Its features are used for The step of determining the sign relationship between the coordinate system corresponding to the correction platform and the calibration object according to two world coordinates of the world coordinates corresponding to the second image coordinates corresponding to the multiple cameras and the rotation angle information corresponding to the second image coordinates, further includes: Calculate first sign information of angles of the two world coordinates in the coordinate system of the correction platform according to two world coordinates in the world coordinates corresponding to the second image coordinates corresponding to the multiple cameras; Obtain second sign information corresponding to the difference between the rotation angle information corresponding to the two world coordinates; When the first symbol information and the second symbol information are consistent, the sign relationship between the correction platform and the calibration object in the calibration coordinate system is determined to be positive; when the first symbol information and the second symbol information are inconsistent, the sign relationship between the correction platform and the calibration object in the calibration coordinate system is determined to be negative.
7. A computer device, It is characterized in that The computer device includes a memory and a processor, the memory has an executable code, and when the executable code is run on the processor, the calibration method for multi-camera alignment and correction as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Camera-array-based measurement method and measurement system
CN107966100A
UVW platform calibration method and device, deviation rectification method and device and alignment system
CN111862221A
Automatic labeling positioning and deviation rectifying method based on computer vision
CN114425776A
Multi-camera joint calibration method and system for lithium battery lamination station
CN116839470A
Method and device for determining offset value of alignment platform and computer equipment
CN117911464A
