Aspheric surface shape measuring method based on multiple cameras

文档序号:103835 发布日期:2021-10-15 浏览:18次 中文

阅读说明:本技术 一种基于多相机的非球面面形测量方法 (Aspheric surface shape measuring method based on multiple cameras ) 是由 刘旭 潘银飞 于 2021-07-05 设计创作,主要内容包括:本发明公开了一种基于多相机的非球面面形测量方法,是应用于由参考平面、相机、光学平台、计算机组成的系统中,其测量步骤包括:首先完成每个相机与参考平面位置的标定;接着利用参考平面位置的同一性得到多个相机之间的相对位置关系;最后相机采集受待测高反物体表面曲率变化调制的编码图像,通过解调编码图像信息恢复待测物体表面三维信息,从而通过多相机相对位置转换关系,实现待测物表面整体测量。(The invention discloses a multi-camera-based aspheric surface shape measuring method, which is applied to a system consisting of a reference plane, a camera, an optical platform and a computer, and comprises the following measuring steps: firstly, completing the calibration of the position of each camera and a reference plane; then, obtaining the relative position relation among the cameras by utilizing the identity of the reference plane position; and finally, the camera collects the coded image modulated by the curvature change of the surface of the high-reflection object to be measured, and the coded image information is demodulated to recover the three-dimensional information of the surface of the object to be measured, so that the overall measurement of the surface of the object to be measured is realized through the relative position conversion relationship of the multiple cameras.)

1. a multi-camera-based aspheric surface shape measuring method is characterized by being applied to a measuring system consisting of a first camera (1), a second camera (2), a third camera (3), a fourth camera (4), a fifth camera (5), a computer (6), an object to be measured (7), an optical platform (8) and a reference plane (9), wherein the object to be measured (7) is placed on the optical platform (8), the reference plane (9) is arranged above the optical platform (8), and cameras are respectively placed at four vertex angles and the central position of the reference plane (9); each camera is respectively connected with a computer (6);

the aspheric surface shape measuring method comprises the following steps:

step 1, calibrating the relative positions of the five cameras and a reference plane (9) respectively to obtain a position conversion relation between a camera coordinate system and a reference plane coordinate system as shown in a formula (1):

Xi=Ri·Pw+Ti (1)

in the formula (1), RiAnd TiRespectively representing a rotation matrix and a translation vector from a reference plane coordinate system to an ith camera coordinate system; pwThe coordinates of the w characteristic corner point on the reference plane (9) are represented; w is in the range of [1, N ∈](ii) a N denotes the number of characteristic corner points in the reference plane (9), XiRepresenting the coordinates of the characteristic corner point in the ith camera coordinate system; i is e [1,5 ]];

Step 2, determining the relative position relationship between any two camera coordinate systems by using the formula (2):

in the formula (2), the reaction mixture is,representing the inverse of a rotation matrix, T, representing the reference plane coordinate system to the j-th camera coordinate systemjRepresenting a translation vector, X, representing the reference plane coordinate system to the jth camera coordinate systemjRepresenting the coordinates of the characteristic corner point in the jth camera coordinate system, i, j ∈ [1,5 ]];i≠j;

Obtaining rotation matrixes R from the jth camera coordinate system to the ith camera coordinate system by using the formulas (3) and (4)ijAnd translation vector Tij

Step 3, the five cameras respectively collect the coded images of the object (7) to be detected and send the coded images to the computer (6), and the computer (6) demodulates the coded images to obtain a surface three-dimensional coordinate set of the object (7) to be detected; wherein, the three-dimensional coordinate set of the surface point of the object (7) to be measured obtained by the coded image collected by the jth camera system is recorded as Sj

And (3) making the camera coordinate system at the central position be a reference coordinate system, and obtaining the surface integral three-dimensional information S of the object to be measured (7) by using the formula (5), thereby completing the integral measurement of the aspheric surface shape:

S=Rij·Sj+Tij (5)。

Technical Field

The invention relates to a measuring method based on multiple cameras, in particular to a method for measuring the surface shape of a high-reflection aspheric surface.

Background

The optical detection technology based on machine vision is used as a non-contact measurement means, and has the advantages of high measurement speed, moderate precision and no damage to the surface of an object to be measured. Since the last 70 s, it has been considered one of the most promising technologies for solving measurement problems in industrial manufacturing. However, the existing mature vision measurement systems are only suitable for measuring objects with diffuse reflection surfaces, and when aspheric surfaces with high reflection properties are measured, large errors can be caused or measurement cannot be performed. And due to the influence of the curvature of the surface to be measured, only local measurement of the surface to be measured can be realized by a single camera.

Disclosure of Invention

In order to overcome the defects in the prior art, the invention provides the aspheric surface shape measuring method based on the multiple cameras, so that the problem of locality of aspheric surface shape measurement by a single camera can be solved, and the overall measurement of the aspheric surface shape is realized.

In order to achieve the purpose, the invention adopts the following technical scheme:

the invention relates to a multi-camera-based aspheric surface shape measuring method which is characterized by being applied to a measuring system consisting of a first camera, a second camera, a third camera, a fourth camera, a fifth camera, a computer, an object to be measured, an optical platform and a reference plane, wherein the object to be measured is placed on the optical platform, the reference plane is arranged above the optical platform, and a camera is respectively placed at the four vertex angles and the central position of the reference plane; each camera is respectively connected with the computer;

the aspheric surface shape measuring method comprises the following steps:

step 1, calibrating the relative positions of the five cameras and a reference plane respectively to obtain a position conversion relation between a camera coordinate system and a reference plane coordinate system as shown in a formula (1):

Xi=Ri·Pw+Ti (1)

in the formula (1), RiAnd TiRespectively representing a rotation matrix and a translation vector from a reference plane coordinate system to an ith camera coordinate system; pwRepresenting coordinates of a w-th characteristic corner point on a reference plane; w is in the range of [1, N ∈](ii) a N denotes the number of characteristic corner points in the reference plane, XiRepresenting the coordinates of the characteristic corner point in the ith camera coordinate system; i is e [1,5 ]];

Step 2, determining the relative position relationship between any two camera coordinate systems by using the formula (2):

in the formula (2), the reaction mixture is,representing the inverse of a rotation matrix, T, representing the reference plane coordinate system to the j-th camera coordinate systemjRepresenting a translation vector, X, representing the reference plane coordinate system to the jth camera coordinate systemjRepresenting the coordinates of the characteristic corner point in the jth camera coordinate system, i, j ∈ [1,5 ]];i≠j;

Obtaining rotation matrixes R from the jth camera coordinate system to the ith camera coordinate system by using the formulas (3) and (4)ijAnd translation vector Tij

Step 3, the five cameras respectively collect the coded images of the object to be detected and send the coded images to the computer, and the computer demodulates the coded images to obtain a surface three-dimensional coordinate set of the object to be detected); and recording a surface point three-dimensional coordinate set of the object to be detected, which is obtained from the coded image acquired by the jth camera system, as Sj

And (3) making the camera coordinate system at the central position be a reference coordinate system, and obtaining the surface integral three-dimensional information S of the object to be measured by using the formula (5), thereby completing the integral measurement of the aspheric surface shape:

S=Rij·Sj+Tij (5)。

compared with the prior art, the invention has the beneficial effects that:

1. according to the invention, a multi-camera measuring system is built, the aspheric object to be measured is shot from different angles, and the three-dimensional shape measurement of each part of the aspheric surface shape is carried out, so that the problem of locality of the aspheric surface shape measured by a single camera is solved, and the overall measurement of the aspheric surface shape is completed.

2. The coding pattern and the size on the reference plane can be set by self, and the operation flexibility is strong.

3. The multi-camera non-contact measurement ensures the reliability and the precision of the surface shape detection.

4. The invention can be applied to the measurement of the surface shape of the bright surface of the automobile windshield, the automobile body shell, the spherical mirror and the like, and has good practical applicability.

Drawings

FIG. 1 is a block diagram of the system of the present invention;

reference numbers in the figures: 1 a first camera; 2 a second camera; 3 a third camera; 4 a fourth camera; 5 a fifth camera; 6, a computer; 7, an object to be detected; 8 an optical bench; 9 reference plane.

Detailed Description

In this embodiment, a method for measuring an aspheric surface shape based on multiple cameras is applied to a measurement system composed of a first camera 1, a second camera 2, a third camera 3, a fourth camera 4, a fifth camera 5, a computer 6, an object to be measured 7, an optical platform 8, and a reference plane 9, as shown in fig. 1, where the object to be measured 7 is placed on the optical platform 8, the reference plane 9 is disposed above the optical platform 8, and a camera is placed at each of four vertex angles and a central position of the reference plane 9; each camera is respectively connected with the computer 6; the multi-camera aspheric surface shape measuring method comprises the following steps:

step 1, calibrating the relative positions of the five cameras and the reference plane 9 respectively. Each camera respectively collects mirror images of calibration patterns on a reference plane and transmits the mirror images back to the computer 6, then the reference plane is calibrated by firstly calibrating the mirror images of the reference plane through a Zhang Yongyou calibration method, and then the relative position relation between a camera coordinate system and a real reference plane is obtained by combining the law of mirror reflection, so that the position conversion relation between the camera coordinate system and the reference plane coordinate system shown in the formula (1) is obtained:

Xi=Ri·Pw+Ti (1)

in the formula (1), RiAnd TiRespectively representing a rotation matrix and a translation vector from a reference plane coordinate system to an ith camera coordinate system; pwThe coordinates of the w characteristic corner point on the reference plane (9) are represented; w is in the range of [1, N ∈](ii) a N denotes the number of characteristic corner points in the reference plane (9), XiRepresenting the coordinates of the characteristic corner point in the ith camera coordinate system; i is e [1,5 ]];

Step 2, determining the relative position relationship between any two camera coordinate systems by using the formula (2):

in the formula (2), the reaction mixture is,representing the inverse of a rotation matrix, T, representing the reference plane coordinate system to the j-th camera coordinate systemjRepresenting a translation vector, X, representing the reference plane coordinate system to the jth camera coordinate systemjRepresenting the coordinates of the characteristic corner point in the jth camera coordinate system, i, j ∈ [1,5 ]];i≠j。

Obtaining rotation matrixes R from the jth camera coordinate system to the ith camera coordinate system by using the formulas (3) and (4)ijAnd translation vector Tij

Step 3, the five cameras respectively collect coded images of the object (7) to be detected and send the coded images to the computer (6), and the computer (6) demodulates the coded images to obtain a surface three-dimensional coordinate set of the object (7) to be detected; when the relative position of the reference plane is known, the coding pattern on the reference plane is imaged on the image plane through the high-reflection surface of the object to be measured, and normalization is establishedThe depth of the reflection point of the high reflection surface is parameterized by changing the dense reflection correspondence among the two-dimensional characteristic point of the image plane, the three-dimensional characteristic point of the reference plane and the reflection point of the surface of the object to be measured, the curved surface where the reflection point is located is fitted through a polynomial, and the depth of the reflection point is iteratively calculated by utilizing an LM optimization method by combining the uniqueness and the second-order continuity of the normal vector of the high reflection surface. Recording the surface point three-dimensional coordinate set recovered by the jth camera system as SjAnd enabling the camera coordinate system at the central position to be a reference coordinate system, and obtaining the surface integral three-dimensional information S of the object to be measured (7) by using the formula (5), thereby completing the integral measurement of the aspheric surface shape:

S=Rij·Sj+Tij (5)。

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种逆向工程中微小复杂零件全方位扫描工装

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!