Camera array calibration device and use method thereof
By using the icosahedral structure and reflective balls in the camera array calibration, combined with multi-point fitting and binocular vision positioning, the problems of calibration errors and low efficiency of large angle cameras are solved, and a high-precision and efficient camera is achieved. Array calibration.
Patent Information
- Application Number
- CN202311183260.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-14
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-09-14
AI Technical Summary
In the existing technology, camera array calibration has problems such as large calibration errors or inability to calibrate. In particular, it is difficult to effectively calibrate cameras with large included angles, and traditional methods require increased hardware costs and are inefficient.
A camera array calibration device is used, including a main body of the icosahedral calibration device and a reflective ball. By pasting landmark points on the main body of the calibration device, and using the geometric properties and polyhedral structure of the reflective ball, it combines multi-point fitting and binocular vision. Positioning principle enables external parameter calibration of large angle cameras.
It achieves high-precision external parameter calibration for cameras that cannot capture the same feature area, reduces calibration errors, improves calibration efficiency, and can image in any direction without specifically adjusting the direction.
Smart Images

Figure CN117351091B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital measurement equipment, and in particular to a camera array calibration device and a use method thereof. Background Art
[0002] After the aircraft is assembled, it is necessary to measure the aircraft shape and horizontal measurement points. Due to the large size of the aircraft, it is necessary to build a multi-layer, multi-camera array measurement field. The camera calibration of the measurement field is divided into internal parameter calibration and external parameter calibration. The internal parameter calibration can be completed one by one through the traditional calibration method. For the external parameter calibration, a calibration plate is usually used to "chain calibrate" the cameras one by one. However, for cameras with large angles, due to the influence of visibility and other factors, the calibration error is large, and it may even be impossible to calibrate.
[0003] In the prior art, an invention patent with publication number CN108765494A and invention name “A multi-camera calibration method based on a cylindrical calibration object” and an invention patent with publication number CN106780624A and invention name “A multi-camera calibration method and device based on a reference object” have been proposed. The calibration devices proposed in the above technical solutions can calibrate multiple cameras at the same time, but the external parameters between the cameras are fundamentally based on the calibration of the imaging of the same area by adjacent cameras, and cannot solve the calibration of large-angle cameras, such as the calibration of cameras with opposite shooting directions.
[0004] In the prior art, an invention patent with publication number CN114549651A and invention name “A method and device for calibrating multiple 3D cameras based on polyhedron geometric constraints” is proposed. A polyhedron-based calibration method is proposed, which can calibrate the camera extrinsic parameters without relying on imaging in the same area. However, this method requires the introduction of a depth camera to obtain the polyhedron surface point cloud, and extrinsic parameter calibration is also required between the depth camera and the ordinary camera, which brings about problems such as increased hardware cost, accumulated calibration errors and low efficiency; and it is impossible to calibrate the camera intrinsic parameters, and an additional calibration device is required. Summary of the invention
[0005] In order to solve the above technical problems, the present invention proposes a camera array calibration device and a method for using the same, which can effectively solve the problem of large calibration errors or even inability to calibrate in the prior art.
[0006] The present invention is achieved by adopting the following technical solutions:
[0007] A camera array calibration device, comprising a calibration device body, a reflective ball and a marking point; the calibration device body is a regular icosahedron, and n marking points are randomly pasted on each surface of the calibration device body, n≥3, and the n marking points cannot be collinear or overlapped; the marking point is a reflective marking point, and its diameter is d1, and the distance between the marking point and the edge of the calibration device body is greater than 0.5d1; the reflective ball is installed on the vertex of the calibration device body, including two diameter specifications of d2 and d3, d2=2d1, d3=3d1;
[0008] The diameter d1 of the marking point satisfies the following formula:
[0009]
[0010] Where L is the camera calibration distance, f is the lens focal length, and μ is the single pixel size;
[0011] The side length m of the calibration device body satisfies the following formula:
[0012]
[0013] A method for using a camera array calibration device comprises the following steps:
[0014] Step S1. Single-camera intrinsic parameter calibration, specifically including:
[0015] Step S 11 . Obtain the world coordinates of the reflective ball, that is, randomly select a vertex to install a reflective ball with a diameter of d2, and install a reflective ball with a diameter of d3 and four reflective balls with a diameter of d2 in order at the other vertices of the five edges connected to the vertex; fix the calibration device and obtain the spatial coordinates of the centers of the six reflective balls;
[0016] Step S 12 .Extract the reflective ball area,
[0017] Step S 13 According to step S 12 The reflective ball area in the image is obtained to obtain the pixel coordinates of the reflective ball.
[0018] Step S 14 . Step S 11 The coordinates of the reflective ball obtained in step S are used as the coordinates in the world coordinate system. 13 The coordinates of the reflective ball obtained in the pixel coordinate system are used to solve the camera's internal coordinates involved in step S 11 Relative extrinsics in the coordinate system used;
[0019] Step S2: small angle camera relative external parameter calibration, including:
[0020] Step S 21. Single-camera extrinsic calculation,
[0021] Step S 22 . Calculation of relative external parameters between cameras;
[0022] Step S3: Calibration of the large angle camera relative to external parameters, including:
[0023] Step S 31 .Preparation before calibration, i.e. removal step S 11 Install a reflective ball with a diameter of d3 at the first corner, and install reflective balls with a diameter of d2 at all other corners; place the calibration device in the common area of the field of view of the four cameras facing each other, and take pictures at the same time;
[0024] Step S 32 . Extraction of landmark points on the plane;
[0025] Step S 33 . Calculation of common point coordinates;
[0026] Step S 34 . Calculation relative to external parameters.
[0027] The step S 12 Specifically, place the calibration device in front of the camera to be calibrated, so that step S 11 The six reflective balls mentioned in the figure can all be photographed by the camera to be calibrated. The obtained picture is binarized and the six regions with the largest areas are extracted, which are the six reflective ball regions.
[0028] The step S 13 Specifically refers to:
[0029] Calculate S separately 12 The centroid coordinates of the six reflective ball areas obtained in the sequence are (u i ,v i ), where i = 1, 2, ..., 6; the middle point is calculated as follows, and its coordinates are (u1', v1'):
[0030]
[0031] Extraction step S 12 The centroid coordinates of the largest reflective ball area in the middle are taken as the starting point, and the point sequence (u1', v1') is obtained by sorting in a clockwise direction around (u1', v1'). i ',v i '), where i = 1, 2, ..., 6.
[0032] The step S 21 Specifically: Step S 11 The calibration device in step S is placed at the intersection of the field of view of the small-angle camera to ensure that both cameras can capture the image in step S.11 6 reflective balls as described in step S 11 ~Step S 14 The method obtains the two cameras in step S 11 Relative external parameters R1, t1 and R2, t2 in the coordinate system used.
[0033] The step S 22 Specifically, the following method is used to calculate the relative external parameters R and t of the two cameras:
[0034]
[0035]
[0036] The step S 31 Specifically, after all small-angle cameras are calibrated relative to external parameters using step S2, remove step S 11 Install a reflective ball with a diameter of d3 on the first vertex, and install a reflective ball with a diameter of d2 on all other vertices; place the calibration device in the common area of the field of view of the four cameras facing each other, and take pictures at the same time.
[0037] The step S 32 Specifically, in step S2, the relative external parameters between adjacent cameras on one side have been obtained, and the spatial coordinates of the center of the reflective ball and the set A of spatial coordinates of the marker points are obtained by using the principle of binocular vision positioning; let the point in set A with the shortest distance from any camera on one side be P1, and use the geometric relationship to extract the coordinates of the marker points on the five faces adjacent to P1; similarly, perform the same steps on the image obtained by the camera on the other side to obtain the coordinates of the marker points from the perspective of the camera on the other side.
[0038] The step S 33 Specifically: using step S 32 The extracted landmarks are used to fit five plane equations on the same side using the plane fitting method. The five plane equations are combined and the least squares method is used to solve the intersection coordinates q = (x p ,y p ,z p ), assuming that the unit normal vectors of the five planes facing the in-plane direction are e1, e2, e3, e4, and e5 respectively, the common point coordinate k is calculated as follows; similarly, the same steps are performed on the image obtained on the other side to obtain the common point coordinate k' at the other side's viewing angle;
[0039]
[0040] The step S 34 Specifically, when step S is satisfied, 31 Under the following conditions, randomly adjust the position and posture of the calibration device l times (l ≥ 3), and execute step S 32With step S 33 , obtain l sets of common point coordinates k and k', and form homogeneous matrices K and K', as shown in the following formula:
[0041]
[0042] Then use the following formula to calculate the relative external parameter matrix M between the imaging coordinate systems of the four camera fields that are opposite to each other: R , complete the external parameter calibration:
[0043] M R =(K T K) -1 K T K′.
[0044] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0045] 1. The applicability of the present invention is wider, and it can realize external parameter calibration of cameras that cannot capture the same feature area. During external parameter calibration, the calibration device of the present invention can be photographed at any angle.
[0046] 2. The calibration accuracy of the present invention is high, and the calibration process adopts a multi-point fitting and multi-surface intersection algorithm, which reduces the influence of the error of the calibration device itself.
[0047] 3. The operation of the present invention is more efficient. Compared with the traditional checkerboard calibration method, the calibration device in the present invention can image in any direction during the external parameter calibration process without the need to deliberately adjust the direction. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments, wherein:
[0049] Figure 1 is a schematic diagram of a calibration device in the present invention;
[0050] Figure 2 This is a schematic diagram of a typical phase field;
[0051] Figure 3 It is a schematic diagram of the internal parameter calibration state of the calibration device in the present invention;
[0052] Figure 4 This is a schematic diagram of the internal reference calibration image processing process of the present invention;
[0053] Figure 5 This is a schematic diagram of the process of determining the sequence of reflective balls of the present invention;
[0054] Markings in the figure:
[0055] 1. Calibration device body, 2. Reflective ball, 201. First reflective ball, 202. Second reflective ball, 203. Third reflective ball, 204. Fourth reflective ball, 205. Fifth reflective ball, 206. Sixth reflective ball, 3. Marking point, 4. First camera, 5. Second camera, 6. Third camera, 7. Fourth camera, 8. Fifth camera. DETAILED DESCRIPTION
[0056] Example 1
[0057] As a basic embodiment of the present invention, the present invention includes a camera array calibration device, including a calibration device body 1, a reflective ball 2 and a marking point 3. The calibration device body 1 is a regular icosahedron, and n marking points 3 are randomly pasted on each face of the calibration device body 1, n ≥ 3, and the n marking points 3 cannot be collinear or overlapping. The marking point 3 is a reflective marking point, and its diameter is d1, and the distance between the marking point 3 and the edge of the calibration device body 1 is greater than 0.5d1. The reflective ball 2 is installed on the vertex of the calibration device body 1, including two diameter specifications of d2 and d3, d2 = 2d1, d3 = 3d1.
[0058] Specifically, the diameter d1 of the marking point 3 satisfies the following formula:
[0059]
[0060] Where L is the camera calibration distance, f is the lens focal length, and μ is the single pixel size.
[0061] The side length m of the calibration device body 1 satisfies the following formula:
[0062]
[0063] Through this calibration device, the geometric characteristics of the regular icosahedron are utilized to obtain the coordinate information of the feature points at different viewing angles, which can achieve high-precision and efficient calibration of the external parameters of a large-angle camera.
[0064] Example 2
[0065] As a preferred embodiment of the present invention, the present invention includes a camera array calibration device, including a calibration device body 1, a reflective ball 2 and a marking point 3. The calibration device body 1 is a regular icosahedron, and n marking points 3 are randomly pasted on each face of the calibration device body 1, n ≥ 3, and the n marking points 3 cannot be collinear or overlapping. The marking point 3 is a reflective marking point, and its diameter is d1, and the distance between the marking point 3 and the edge of the calibration device body 1 is greater than 0.5d1. The reflective ball 2 is installed on the vertex of the calibration device body 1, including two diameter specifications of d2 and d3, d2 = 2d1, d3 = 3d1.
[0066] The diameter d1 of the marking point 3 satisfies the following formula:
[0067]
[0068] Where L is the camera calibration distance, f is the lens focal length, and μ is the single pixel size.
[0069] The side length m of the calibration device body 1 satisfies the following formula:
[0070]
[0071] The method for using the above calibration device comprises the following steps:
[0072] Step S1. Single camera internal parameter calibration. Specifically includes the following steps:
[0073] Step S 11 . Obtain the world coordinates of the reflective ball 2, that is, select a vertex at random to install a reflective ball 2 with a diameter of d2, and install a reflective ball 2 with a diameter of d3 and four reflective balls 2 with a diameter of d2 in order at the other vertices of the five edges connected to the vertex. Fix the calibration device and obtain the spatial coordinates of the centers of the six reflective balls 2.
[0074] Step S 12 . Place the calibration device body 1 in front of the camera to be calibrated, so that step S 11 All six reflective balls 2 can be photographed by the camera to be calibrated, and the reflective ball area is extracted.
[0075] Step S 13 According to step S 12 In the reflective ball area, get the 2-pixel coordinates of the reflective ball.
[0076] Step S 14 . Step S 11 The coordinates of the reflective ball 2 obtained in step S are used as the coordinates in the world coordinate system. 13 The coordinates of the reflective ball 2 obtained in the pixel coordinate system are used to solve the camera's internal coordinates involved in step S 11 Relative extrinsics in the used coordinate system.
[0077] Step S2: Calibrate the small angle camera relative to external parameters. Specifically, it includes the following steps:
[0078] Step S 21 . Change step S 11 The calibration device in step S is placed in the intersection area of the field of view of the small angle camera to ensure that both cameras can capture the image in step S. 11 The six reflective balls 2 are used to calculate the external parameters of a single camera.
[0079] Step S 22.Use the single-camera extrinsics of the two cameras to calculate the relative extrinsics between the cameras.
[0080] Step S3: Calibrate the large angle camera relative to external parameters. Specifically, the following steps are included:
[0081] Step S 31 .Preparation before calibration, i.e. removal step S 11 A reflective ball 2 with a diameter of d3 is installed at the first corner, and a reflective ball 2 with a diameter of d2 is installed at all other corners; the calibration device is placed in the common area of the field of view of the four cameras facing each other, and pictures are taken simultaneously.
[0082] Step S 32 .Use binocular vision positioning principle to extract the landmark point 3 on the plane.
[0083] Step S 33 .Use the extracted landmark point 3 to calculate the coordinates of the common point.
[0084] Step S 34 .Relative external parameter calculation, that is, calculating the relative external parameter matrix between the imaging coordinate systems of the four camera fields that are opposite to each other.
[0085] Example 3
[0086] As the best embodiment of the present invention, the present invention includes a camera array calibration device, Figure 1 , including a calibration device body 1, a reflective ball 2 and a marker point 3. The marker point 3 is a reflective marker point, and its diameter is d1. Assuming that the camera calibration distance is about L, the lens focal length is f, and the single pixel size is μ, the diameter d1 of the marker point 3 must satisfy the following formula:
[0087]
[0088] The main body 1 of the calibration device is a regular icosahedron, and its side length m satisfies the following formula:
[0089]
[0090] Each surface of the calibration device body 1 is randomly pasted with n marking points 3, n≥3, and the n marking points 3 cannot be collinear or overlapped. The distance between the marking point 3 and the edge of the calibration device body 1 must be greater than 0.5d1; the reflective ball 2 is detachable and can be installed on the vertex of the calibration device body 1, including two diameter specifications d2 and d3, d2=2d1, d3=3d1.
[0091] Refer to the instruction manual Figure 2The typical camera array field can be divided into small-angle camera pairs (such as the first camera 4 and the second camera 5, the first camera 4 and the third camera 6, etc. in the figure) and large-angle camera pairs (such as the first camera 4 and the fourth camera 7, the first camera 4 and the fifth camera 8, etc.).
[0092] The method of using the above calibration device is divided into 3 steps, including:
[0093] Step S1. Single camera intrinsic parameter calibration.
[0094] The step S1 can be divided into 4 steps, specifically including the following steps:
[0095] Step S 11 .Get the world coordinates of reflective ball 2. Refer to the attached manual Figure 3 , select a vertex at random to install the first reflective ball 201 with a diameter of d2, and install the second reflective ball 202 with a diameter of d3 and the third reflective ball 203, the fourth reflective ball 204, the fifth reflective ball 205, and the sixth reflective ball 206 with a diameter of d2 at the other vertices of the five edges connected to the vertex. Fix the calibration device, use a laser tracker or other high-precision measurement tools to obtain the spatial coordinates of the centers of the six reflective balls 2, and set the order of the first reflective ball 201 to the sixth reflective ball 206 to be (x i ,y i ,z i ), where i = 1, 2, ..., 6.
[0096] Step S 12 .Extract the reflective ball area. Refer to the instructions attached Figure 4 , place the calibration device body 1 in front of the camera to be calibrated, so that step S 11 The six reflective balls 2 described in the figure can all be photographed by the camera to be calibrated. The obtained picture is binarized and the six regions with the largest areas are extracted, which are the six reflective ball regions.
[0097] Step S 13 : Get the 2 pixel coordinates of the reflective ball. Figure 5 , calculate step S respectively 12 The centroid coordinates of the six reflective ball areas obtained are (u i ,v i ), where i = 1, 2, ..., 6. The point obtained by the following calculation is the middle point, that is, step S 11 The coordinates of the first reflective ball 201 are set to (u1', v1'); the extraction step S 12 The centroid coordinates of the largest reflective ball area in the middle are taken as the starting point, and the point sequence (u1', v1') is obtained by sorting in a clockwise direction around (u1', v1'). i ',v i'), where i = 1, 2, ..., 6;
[0098]
[0099] Step S 14 .Camera internal calibration. Step S 11 The coordinates (x i ,y i ,z i ) as the coordinates in the world coordinate system, in step S 13 The coordinates (u i ',v i ') as the coordinates in the pixel coordinate system, the commonly used calibration algorithm can be used to solve the camera's internal participation step S 11 Relative extrinsics in the used coordinate system.
[0100] Step S2: Calibrate the small angle camera relative to external parameters.
[0101] The step S2 can be divided into two steps, specifically including the following steps:
[0102] Step S 21 . Single-camera extrinsic parameter calculation. 11 The calibration device in the installed state is placed at the intersection of the field of view of the small angle cameras to ensure that both cameras can capture step S 11 The six reflective balls 2 are prepared according to step S 11 ~Step S 14 The method obtains the two cameras in step S 11 Relative external parameters R1, t1 and R2, t2 in the coordinate system used.
[0103] Step S 22 . Calculate the relative external parameters between cameras. Use the following formula to calculate the relative external parameters R and t between the two cameras:
[0104]
[0105]
[0106] Step S3: Calibrate the large-angle camera relative to external parameters.
[0107] The step S3 can be divided into four steps, specifically including the following steps:
[0108] Step S 31 .Preparation before calibration. After completing the relative external parameter calibration of all small angle cameras using step S2, remove step S 11The reflective ball 2 with a diameter of d3 is installed at the first corner point, and the reflective ball 2 with a diameter of d2 is installed at all other corner points. Taking the calibration of the first camera 4 and the fourth camera 7 as an example, the calibration device is placed at the intersection of the fields of view of the first camera 4, the second camera 5, the fourth camera 7, and the fifth camera 8, and the first camera 4, the second camera 5, the fourth camera 7, and the fifth camera 8 are controlled to obtain images simultaneously.
[0109] Step S 32 . Extraction of marker points 3 on the plane. In step S2, the relative external parameters between the first camera 4 and the second camera 5 have been obtained. Using the binocular vision positioning principle, the spatial coordinates of the center of the reflective ball 2 and the set A of spatial coordinates of the marker points 3 can be obtained. Let P1 be the point with the shortest distance from the first camera 4 in the set A, and use the geometric relationship to extract the coordinates of the marker points 3 on the five surfaces adjacent to P1. Similarly, perform the same steps on the images obtained by the fourth camera 7 and the fifth camera 8 to obtain the coordinates of the marker points 3 under the perspective of the fourth camera 7 and the fifth camera 8.
[0110] Step S 33 . Calculate the coordinates of the common points. Using step S 32 The extracted landmark point 3 is used to fit 5 plane equations respectively, and the 5 plane equations are combined to solve the intersection coordinate q=(x p ,y p ,z p ), assuming that the unit normal vectors of the five planes in the in-plane direction are e1, e2, e3, e4, and e5 respectively, the common point coordinate k is calculated as follows; similarly, the same steps are performed on the images obtained by the fourth camera 7 and the fifth camera 8 to obtain the common point coordinate k' under the viewing angles of the fourth camera 7 and the fifth camera 8;
[0111]
[0112] Step S 34 . Relative external parameter calculation. In step S 31 Under the following conditions, randomly adjust the position and posture of the calibration device l times (l ≥ 3), and execute step S 32 With step S 33 , obtain l sets of common point coordinates k and k', and form homogeneous matrices K and K', as shown in the following formula:
[0113]
[0114] Then use the following formula to calculate the relative external parameter matrix M between the coordinate system used by the first camera 4 and the second camera 5 and the imaging coordinate system of the fourth camera 7 and the fifth camera 8: R , complete the external parameter calibration:
[0115] M R =(K T K)-1 K T K′.
[0116] In summary, after reading the present invention document, ordinary technicians in this field can make various other corresponding transformation schemes based on the technical scheme and technical concept of the present invention without creative mental labor, which all fall within the scope of protection of the present invention.
Claims
1. A camera array calibration device, characterized in that: The device comprises a calibration device body (1), a reflective ball (2) and a marking point (3); the calibration device body (1) is in the form of a regular icosahedron, and each surface of the calibration device body (1) is randomly pasted with n landmark points (3), n ≥3, n The marking points (3) cannot be collinear or overlapped; the marking points (3) are reflective marking points, and their diameter is d 1. The distance between the marking point (3) and the edge of the calibration device body (1) is greater than 0.5 d 1; the reflective ball (2) is mounted on the vertex of the calibration device body (1), including d 2 and d 3Two diameter specifications, d 2=2 d 1, d 3=3 d 1; The diameter of the landmark point (3) d 1 satisfies the following formula: In the formula, L Calibrate the distance for the camera, f is the focal length of the lens, μ is a single pixel size; The side length of the calibration device body (1) m Satisfy the following formula: ; The calibration device is used to be placed in a camera array, and the cameras in the camera array achieve external parameter or internal parameter calibration by photographing the calibration device.
2. A method for using a camera array calibration device, characterized in that: The following steps are involved: Step S1. Single-camera intrinsic parameter calibration, specifically including: Step S 11 . Get the world coordinates of the reflective ball (2), that is, select any vertex and install the diameter d 2, and a reflective ball (2) with a diameter of 2 is installed in sequence at the other vertices of the five edges connected to the vertex. d 3 reflective balls (2) and four diameter d 2 reflective balls (2); fix the calibration device and obtain the spatial coordinates of the centers of the six reflective balls (2); Step S 12 . Extract the reflective ball area, Step S 13 According to step S 12 In the reflective ball area, get the pixel coordinates of the reflective ball (2), Step S 14 . Step S 11 The coordinates of the reflective ball (2) obtained in step S are used as the coordinates in the world coordinate system. 13 The coordinates of the reflective ball (2) obtained in the pixel coordinate system are used to solve the camera's internal coordinates involved in step S 11 Relative extrinsics in the coordinate system used; Step S2. Calibration of small angle camera relative external parameters, including: Step S 21 . Single-camera extrinsic calculation, Step S 22 . Calculation of relative external parameters between cameras; Step S3. Calibration of the large angle camera relative to external parameters, including: Step S 31 . Preparation before calibration, i.e. removal step S 11 The diameter of the installation is d 3 reflective balls (2), with a diameter of d 2 reflective ball (2); placing the calibration device in the common area of the field of view of the four cameras facing each other, and taking pictures at the same time; Step S 32 . Extraction of landmark points (3) on the plane; Step S 33 . Calculation of common point coordinates; Step S 34 . Relative extrinsic calculation.
3. The method for using the camera array calibration device according to claim 2, characterized in that: The step S 12 Specifically, the calibration device body (1) is placed in front of the camera to be calibrated, so that step S 11 The six reflective balls (2) mentioned above can all be photographed by the camera to be calibrated. The obtained image is binarized and the six regions with the largest areas are extracted, which are the six reflective ball regions.
4. The method for using the camera array calibration device according to claim 3, characterized in that: The step S 13 Specifically: calculate S 12 The centroid coordinates of the six reflective ball areas obtained in the sequence are ( u i ,v i ),in i =1,2,..., 6; calculate the middle point according to the following formula, and set its coordinates as ( u 1 ’,v 1 ’ ): Extraction step S 12 The center of mass coordinates of the largest reflective ball area in the middle, take this coordinate as the starting point, and circle ( u 1 ’,v 1 ’ ) are sorted clockwise to obtain the point sequence ( u i ’,v i ’ ),in i =1,2,...,6.
5. The method for using the camera array calibration device according to claim 2, characterized in that: The step S 21 Specifically: Step S 11 The calibration device in step S is placed at the intersection of the field of view of the small-angle camera to ensure that both cameras can capture the image in step S. 11 6 reflective balls (2) as described in step S 11 ~Step S 14 The method obtains the two cameras in step S 11 Relative external parameters R1, t1 and R2, t2 in the coordinate system used.
6. The method for using the camera array calibration device according to claim 5, characterized in that: The step S 22 Specifically, the following method is used to calculate the relative external parameters R and t of the two cameras: 。 7. The method for using the camera array calibration device according to claim 2, characterized in that: The step S 31 Specifically, after all small-angle cameras are calibrated relative to external parameters using step S2, remove step S 11 The diameter of the installation is d 3 reflective balls (2), with a diameter of d 2 reflective ball (2); placing the calibration device in the common area of the field of view of the four cameras facing each other, and taking pictures at the same time.
8. The method for using the camera array calibration device according to claim 7, characterized in that: The step S 32 Specifically, in step S2, the relative external parameters between adjacent cameras on one side are obtained, and the spatial coordinates of the center of the reflective ball (2) and the spatial coordinate set A of the marker point (3) are obtained by using the binocular vision positioning principle; let the point in set A with the shortest distance from any camera on one side be P1, and use the geometric relationship to extract the coordinates of the marker point (3) on the five faces adjacent to P1; similarly, perform the same steps on the image obtained by the camera on the other side to obtain the coordinates of the marker point (3) from the perspective of the camera on the other side.
9. The method for using the camera array calibration device according to claim 8, characterized in that: The step S 33 Specifically: using step S 32 The extracted landmark point (3) is used to fit five plane equations on the same side using the plane fitting method. The five plane equations are combined and the least squares method is used to solve the intersection coordinates q = ( x p ,y p , z p ), assuming that the unit normal vectors of the five planes facing the in-plane direction are e1, e2, e3, e4, and e5 respectively, the common point coordinate k is calculated as follows; similarly, the same steps are performed on the image obtained on the other side to obtain the common point coordinate k' at the other side's viewing angle; 。 10. The method for using the camera array calibration device according to claim 9, characterized in that: The step S 34 Specifically, when step S is satisfied, 31 Under the condition, random adjustment l Second-rate( l ≥3) Calibrate the position and posture of the device and execute step S 32 With step S 33 , get l The common point coordinates k and k' form homogeneous matrices K and K', as shown in the following formula: Then use the following formula to calculate the relative external parameter matrix M between the imaging coordinate systems of the four camera fields that are opposite to each other: R , complete the external parameter calibration: 。
