WO2019041349A1 - Three-dimensional visual information measuring method based on rotating lens - Google Patents

Three-dimensional visual information measuring method based on rotating lens Download PDF

Info

Publication number
WO2019041349A1
WO2019041349A1 PCT/CN2017/100407 CN2017100407W WO2019041349A1 WO 2019041349 A1 WO2019041349 A1 WO 2019041349A1 CN 2017100407 W CN2017100407 W CN 2017100407W WO 2019041349 A1 WO2019041349 A1 WO 2019041349A1
Authority
WO
WIPO (PCT)
Prior art keywords
point
lens
camera
object point
rotating lens
Prior art date
Application number
PCT/CN2017/100407
Other languages
French (fr)
Chinese (zh)
Inventor
贾振元
刘巍
马鑫
梁冰
李肖
刘维肖
Original Assignee
大连理工大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大连理工大学 filed Critical 大连理工大学
Priority to PCT/CN2017/100407 priority Critical patent/WO2019041349A1/en
Publication of WO2019041349A1 publication Critical patent/WO2019041349A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • G01B11/03Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness by measuring coordinates of points

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

A three-dimensional visual information measuring method based on a rotating lens (2). A beveled straight cylindrical lens (2) is placed in front of a lens of a monocular camera (1) and is coaxial with an optical axis thereof and rotates around the optical axis. First, Zhang's calibration is performed on the monocular camera (1) to obtain an internal parameter, and then the rotating lens (2) is held still in positions corresponding to two limit time points to construct, according to differences in normal direction and thickness of a sloped lens surface (3) through which an optical path between an object point (P) and an image point passes, a model of the relationship between three-dimensional coordinates of the object point (P) and three-dimensional coordinates of the image point on the basis of a parameter of the rotating lens (2) and the internal parameter of the monocular camera (1). Three-dimensional spatial coordinates of the object point (P) are calculated by combining the relationship models obtained at the two limit time points. The method reduces a traditional binocular camera system to a combination device having the monocular camera (1) and the rotating lens (2), thereby greatly reducing cost, increasing measuring speed and improving measuring accuracy, while also resolving issues such as inaccuracy of three-dimensional information obtained via monocular vision measurements and the high costs of binocular vision measurement.

Description

一种基于旋转透镜的三维信息视觉测量方法Three-dimensional information visual measurement method based on rotating lens 技术领域Technical field
本发明属于计算机视觉测量技术领域,涉及一种基于视觉的物体三维信息快速测量方法。The invention belongs to the technical field of computer vision measurement, and relates to a method for rapidly measuring three-dimensional information of objects based on vision.
背景技术Background technique
三维非接触视觉测量技术在汽车、船舶、航空、航天、军工等各个领域都有着极为广泛的应用。尤其在航空、航天中典型复杂形状构件的加工、装配过程中都需要对其三维信息进行准确测量,从而保证加工与装配质量。除此之外,在机器人与人工智能领域,也需要对周围场景的三维信息进行快速测量与感知。因此,有着测量速度快、效率高、非接触式等优点的基于视觉的三维信息测量方法有着重要的意义。为提高三维信息获取的准确性,往往采用双目甚至多目相机,这样不仅大大增加了测量成本,而且由于现场实验条件的影响,容易出现多相机采集图像重复性差、匹配困难等问题。这些都对三维信息的测量设备及技术手段都提出了更高的要求。Three-dimensional non-contact vision measurement technology has been widely used in various fields such as automobile, shipbuilding, aviation, aerospace, and military. Especially in the processing and assembly process of typical complex shape components in aviation and aerospace, it is necessary to accurately measure the three-dimensional information to ensure the quality of processing and assembly. In addition, in the field of robotics and artificial intelligence, it is also necessary to quickly measure and sense the three-dimensional information of surrounding scenes. Therefore, the vision-based three-dimensional information measurement method with the advantages of fast measurement speed, high efficiency and non-contact type has important significance. In order to improve the accuracy of three-dimensional information acquisition, binocular or even multi-camera cameras are often used, which not only greatly increases the measurement cost, but also has the problems of poor repeatability and difficulty in matching images acquired by multi-camera due to the influence of on-site experimental conditions. These all put forward higher requirements for the measurement equipment and technical means of three-dimensional information.
刘巍、马鑫等人申请的发明专利CN105571518A,“基于折射图像偏差的三维信息视觉测量方法”提出一种只通过平行光学玻璃进行辅助的单目视觉测量方法,提高了测量效率并且降低了成本,实现了单目相机对于全视场内的快速测量。该方法采用单目相机先拍摄一张图像A1,然后将已知折射率的玻璃板以任意角度放入相机前,再拍摄一张图像A2,利用两张图像的偏差量,完成被测物体空间三维信息的测量。然而该方法需要人为摆放玻璃板,这样不仅引入人为误差,而且降低了测量效率。The invention patent CN105571518A applied by Liu Wei and Ma Xin et al., "Three-dimensional information visual measurement method based on refractive image deviation" proposes a monocular vision measurement method assisted only by parallel optical glass, which improves measurement efficiency and reduces cost. Achieve a fast measurement of the monocular camera for the full field of view. The method adopts a monocular camera to first take an image A1, then puts a glass plate with a known refractive index into the camera at an arbitrary angle, and then takes an image A2, and uses the deviation amount of the two images to complete the space of the measured object. Measurement of three-dimensional information. However, this method requires artificial placement of the glass plate, which not only introduces human error, but also reduces measurement efficiency.
宋振东等人在《光学学报》第32卷第5期发表的《单目多视点立体图像提取及应用》中设计并实现了一种基于广角相机和平面镜的单目多视点立体图像 摄像系统,给出了硬件装置的设计指标和优化方法;同时,在研究了硬件系统的标定方法基础上,实现了其在三维测距方面的应用。但其硬件装置占空间较大,很难在狭窄空间使用,安装定位相对困难。Song Zhendong et al. Design and implement a monocular multi-view stereo image based on wide-angle camera and plane mirror in "Multi-view multi-view stereo image extraction and application" published in the 32th issue of the Journal of Optics. The camera system gives the design index and optimization method of the hardware device. At the same time, based on the calibration method of the hardware system, its application in 3D ranging is realized. However, the hardware device occupies a large space and is difficult to use in a narrow space, and installation and positioning are relatively difficult.
Lee和Kweon在《IEEE Transactions on Robotics and Automation》第16卷第5期发表的《A novel stereo camera system by a biprism》中提出了一个新颖实用的立体摄像系统,将一双棱镜放置在单目相机前,通过双棱镜的两斜面发生的反射光路不同,在CCD上左右两侧同时成像,使用其相应的差距重建三维结构。该系统有效的降低了测量成本并简化校准过程,但双棱镜反射角度难于控制。Lee and Kweon proposed a novel and practical stereo camera system in "A novel stereo camera system by a biprism" published in IEEE Transactions on Robotics and Automation, Vol. 16, No. 5, placing a pair of prisms in front of a monocular camera. The reflected light path generated by the two inclined surfaces of the double prism is different, and the left and right sides of the CCD are simultaneously imaged, and the three-dimensional structure is reconstructed by using the corresponding gap. The system effectively reduces measurement costs and simplifies the calibration process, but the double prism reflection angle is difficult to control.
Gao和Ahuja在《International Conference on Pattern Recognition》第4卷发表的《Single camera stereo using planar parallel plate》中利用可绕光轴中心旋转的平面板,以一定倾斜角度放置在单目相机前,并进行标定来确定板内参数以及它的外在姿态。旋转平面板,捕获板在不同位姿下物体的图像,应用不同图像中位置差值,计算物体深度信息。该装置及算法仅用作获取深度信息,不能用作物体的三维重构,且平行板安装、定位及旋转过程精度很难保证。Gao and Ahuja use the flat panel that can rotate around the center of the optical axis in the "Single camera stereo using planar parallel plate" published in Volume 4 of "International Conference on Pattern Recognition", placed in front of the monocular camera at a certain oblique angle, and Calibration to determine the parameters within the board and its external attitude. Rotate the plane plate to capture the image of the object in different poses, apply the position difference in different images, and calculate the object depth information. The device and algorithm are only used to obtain depth information, and cannot be used as three-dimensional reconstruction of objects, and the precision of parallel plate installation, positioning and rotation process is difficult to guarantee.
Shimizu和Okutomi在《The 2006Canadian Conference on Computer&Robot Vision》发表的《Reflection stereo-novel monocular stereo using a transparent plate》中根据光通过反射和折射性介质时光路的差异,提出了一种基于三角测量的物体深度测量方法。该方法的操作步骤在一定程度上得到了简化,测量效率较高,但由于反射和折射图像之间的相互干扰,使得该方法在测量精度上有待提高,而且标定相对困难。Shimizu and Okutomi, in "Reflection stereo-novel monocular stereo using a transparent plate" published in The 2006 Canadian Conference on Computer & Robot Vision, proposed a depth of object based on triangulation based on the difference of light paths when light passes through reflective and refractive media. Measurement methods. The operation steps of the method are simplified to a certain extent, and the measurement efficiency is high. However, due to mutual interference between the reflected and refracted images, the method needs to be improved in measurement accuracy, and calibration is relatively difficult.
Atsushi Yamashita等人在《The 2010IEEE/RSJ International Conference on Intelligent Robots and Systems》发表的《Monocular Underwater Stereo-3D Measurement Using Difference of Appearance Depending on Optical Paths》中提出 了一种水下三维信息测量的新方法。该方法基于单目视觉原理,在镜头前放置两片呈一定角度的折射面,阻隔水和空气。光在两折射面折射后光路不同,并同时在相机中成像。通过优化两折射面角度,实现水下物体三维信息的测量。但其优化过程较为复杂,且精度不易于保证。Atsushi Yamashita et al. presented in "Monocular Underwater Stereo-3D Measurement Using Difference of Appearance Depending on Optical Paths" by The 2010 IEEE/RSJ International Conference on Intelligent Robots and Systems. A new method for underwater three-dimensional information measurement. The method is based on the monocular vision principle, placing two angled refraction faces in front of the lens to block water and air. The light is refracted at the two refractive surfaces and the light path is different, and is simultaneously imaged in the camera. The three-dimensional information of underwater objects is measured by optimizing the angles of the two refractive surfaces. However, the optimization process is more complicated and the accuracy is not easy to guarantee.
Teoh和张在《IEEE International Conference on Robotics and Automation》发表的《An inexpensive stereoscopic vision system for robots》中提出一种用单目相机代替双目相机的测量方法。该方法在相机两侧的前方放置两片与光轴成45°角的平面镜,两平面镜夹角开口与光轴同方向,并在镜头前方放置第三片平面镜。当第三片平面镜分别与其他两片平行时,采集物体图像,达到与双目相机相同的效果,有效降低成本。但该装置较为复杂,且镜片较多,其定位精准度直接影响测量精度。Teoh and Zhang proposed a measurement method using a monocular camera instead of a binocular camera in "An inexpensive stereoscopic vision system for robots" published by IEEE International Conference on Robotics and Automation. The method places two plane mirrors at an angle of 45° with respect to the optical axis in front of both sides of the camera. The angle between the two plane mirrors is the same as the optical axis, and a third plane mirror is placed in front of the lens. When the third plane mirror is parallel with the other two sheets, the object image is collected to achieve the same effect as the binocular camera, thereby effectively reducing the cost. However, the device is relatively complicated and has many lenses, and its positioning accuracy directly affects the measurement accuracy.
Kim和Lin在《International Journal of Control Automation&Systems》第3卷第4期发表的《Distance Measurement Using a Single Camera with a Rotating Mirror》中提出了一种新的深度测量方法。该方法使用一个单目相机和一个旋转平面反射镜。平面发射镜在旋转过程中,单目相机采集到一系列的反射图像,从该图像中提取距离信息,计算得出物体的深度信息。该方法简化了标定过程,测量效率较高,但测量精度有待提高。Kim and Lin proposed a new depth measurement method in "Distance Measurement Using a Single Camera with a Rotating Mirror" published in International Journal of Control Automation & Systems, Vol. 3, No. 4. The method uses a monocular camera and a rotating planar mirror. During the rotation of the plane mirror, the monocular camera collects a series of reflected images, extracts the distance information from the image, and calculates the depth information of the object. This method simplifies the calibration process, and the measurement efficiency is high, but the measurement accuracy needs to be improved.
上述发明主要研究三维信息的非接触快速测量方法,并取得了很多重要成果,但测量方法效率与鲁棒性无法保证。本发明提出一种基于旋转透镜的三维信息视觉测量方法,不仅提高了单相机三维信息测量方法的精度,并且提高了测量效率。The above invention mainly studies the non-contact rapid measurement method of three-dimensional information, and has achieved many important results, but the efficiency and robustness of the measurement method cannot be guaranteed. The invention provides a three-dimensional information visual measurement method based on a rotating lens, which not only improves the accuracy of the single-camera three-dimensional information measurement method, but also improves the measurement efficiency.
发明内容Summary of the invention
本发明克服现有技术的缺陷,提供一种基于旋转透镜的三维信息视觉测量 方法。The invention overcomes the defects of the prior art and provides a three-dimensional information visual measurement based on a rotating lens method.
本发明的技术方案:The technical solution of the invention:
一种基于旋转透镜的三维信息视觉测量方法,其特征在于,所述的三维信息视觉测量方法基于旋转透镜的三维信息视觉测量装置,包括单目相机和旋转透镜,所述的旋转透镜采用透光度80%以上的玻璃材质斜切直圆柱体,将其置于单目相机镜头前,使其轴心与光轴重合,平行表面与镜头相对;A three-dimensional information visual measuring method based on a rotating lens, characterized in that the three-dimensional information visual measuring method is based on a three-dimensional information visual measuring device of a rotating lens, comprising a monocular camera and a rotating lens, wherein the rotating lens adopts light transmission 80% or more of the glass material is chamfered straight cylinder, placed in front of the monocular camera lens, its axis coincides with the optical axis, and the parallel surface is opposite to the lens;
在测量时使旋转透镜旋转,在不同时刻下,物点和像点间光路通过旋转透镜斜面的法向及厚度不同,由两个时刻下的透镜参数以及单目相机内参数,即构造出物点与像点三维坐标的关系模型,将双目视觉对物体三维信息的测量转化为单目相机、旋转透镜不同时刻下物体三维信息的测量;During the measurement, the rotating lens is rotated. At different times, the normal direction and the thickness of the optical path between the object point and the image point through the rotating lens bevel are different, and the lens parameters at two moments and the parameters in the monocular camera are constructed. The relationship model between the point and the three-dimensional coordinates of the image point, the measurement of the three-dimensional information of the object by binocular vision is converted into the measurement of the three-dimensional information of the object at different times of the monocular camera and the rotating lens;
步骤如下:Proceed as follows:
(1)以精密加工的靶标板标定相机(1) Calibration camera with precision machined target board
基于2D平面靶标的相机标定方法对相机进行内参数的标定,得到像素坐标系下坐标(u,v)T和像面坐标系下坐标(x,y)T的转换关系如下:The camera calibration method based on 2D planar target calibrates the internal parameters of the camera, and obtains the conversion relationship between the coordinates (u, v) T in the pixel coordinate system and the coordinates (x, y) T in the image coordinate system as follows:
Figure PCTCN2017100407-appb-000001
Figure PCTCN2017100407-appb-000001
式中:(dx,dy)为每一像素在x轴、y轴上对应的物理尺寸,(u0,v0)为像面坐标系原点在像素坐标系下的坐标;Where: (dx, dy) is the physical size corresponding to each pixel on the x-axis and the y-axis, and (u 0 , v 0 ) is the coordinate of the origin of the image coordinate system in the pixel coordinate system;
(2)任取T1和T2两个时刻建立物点和像点光路关系(2) Establishing the relationship between the object point and the image point at two times T1 and T2
1)建立T1时刻的物点和像点光路关系1) Establish the relationship between the object point and the image point at T1
旋转透镜的斜面为面3,旋转透镜的平面为面4;T1时刻为透镜旋转的任意 时刻,在T1时刻,旋转透镜处于静止状态,[n1,n2]分别为面4和面3的法向量;[v1,v2,v3]分别为光心到面4、面4到面3、面3到物点P的光路方向向量;[q1,q2]分别为光路在面4和面3上的反射点;[d1,d2,d3]分别为光心到面4、面4到面3、面3到物点P的各段光路在Z轴正方向上的投影距离;(X,Y,Z)T为物点P的空间三维坐标;The inclined surface of the rotating lens is the surface 3, and the plane of the rotating lens is the surface 4; the time T1 is an arbitrary moment of the rotation of the lens, and at the time T1, the rotating lens is in a stationary state, [n 1 , n 2 ] are respectively the surface 4 and the surface 3 The normal vector; [v 1 , v 2 , v 3 ] is the optical path direction vector of the optical center to the surface 4, the surface 4 to the surface 3, and the surface 3 to the object point P; [q 1 , q 2 ] are respectively the optical path 4 and the reflection point on the surface 3; [d 1 , d 2 , d 3 ] are the projections of the optical paths from the optical center to the surface 4, the surface 4 to the surface 3, and the surface 3 to the object point P in the positive direction of the Z axis. Distance; (X, Y, Z) T is the spatial three-dimensional coordinate of the object point P;
由斯涅尔定律得:μisinθi=μi+1sinθi+1          (2)From Snell's law: μ i sin θ i = μ i+1 sin θ i+1 (2)
式中:μi和μi+1分别是两种介质的折射率;令vi和vi+1分别为入射和出射光路向量,则有θ1是v1和n1的夹角,θ2是v2和n1的夹角,θ3是v2和n2的夹角,θ4是v3和n2的夹角;将式(2)写成向量的形式,有Where: μ i and μ i+1 are the refractive indices of the two media respectively; let v i and v i+1 be the incident and outgoing optical path vectors respectively, then θ 1 is the angle between v 1 and n 1 , θ 2 is the angle between v 2 and n 1 , θ 3 is the angle between v 2 and n 2 , and θ 4 is the angle between v 3 and n 2 ; the formula (2) is written in the form of a vector,
vi+1=aivi+bini             (3)v i+1 =a i v i +b i n i (3)
式中:ai=μii+1
Figure PCTCN2017100407-appb-000002
初始相机光线v1由标定获得,由式(3)推得各段光路的方向向量;
Where: a iii+1 ,
Figure PCTCN2017100407-appb-000002
The initial camera ray v 1 is obtained by calibration, and the direction vector of each segment of the optical path is derived by the equation (3);
因此,物点P看作是由相机原点O经过各段光路的方向向量偏移得到,分段计算偏移向量;计算得,各段光路的偏移向量为
Figure PCTCN2017100407-appb-000003
ez为Z轴方向向量,则O点到P点的累积偏移为
Figure PCTCN2017100407-appb-000004
由此得出P点坐标:
Therefore, the object point P is regarded as the direction vector offset of the optical path of each segment by the camera origin O, and the offset vector is calculated in segments; the offset vector of each segment of the optical path is calculated as
Figure PCTCN2017100407-appb-000003
Ez is the Z-axis direction vector, then the cumulative offset from point O to point P is
Figure PCTCN2017100407-appb-000004
This gives the P point coordinates:
Figure PCTCN2017100407-appb-000005
Figure PCTCN2017100407-appb-000005
式中:d3=Z-d1-d2,Z为P点Z轴方向坐标值;则,式(4)记为:Where: d 3 = Zd 1 - d 2 , Z is the coordinate value of the P-axis Z-axis direction; then, the formula (4) is recorded as:
Figure PCTCN2017100407-appb-000006
Figure PCTCN2017100407-appb-000006
2)建立T2时刻的物点和像点光路关系2) Establish the relationship between the object point and the image point at T2
T2时刻是透镜旋转过程中不同于T1时刻的任意时刻,根据上述原理,同 样得出各段光路的方向向量如下:The time T2 is any time different from the time of T1 during the rotation of the lens. According to the above principle, the same The direction vector of each section of the optical path is as follows:
v′i+1=aiv′i+bin′i        (6)v' i+1 =a i v' i +b i n' i (6)
式中:ai=μii+1
Figure PCTCN2017100407-appb-000007
初始相机光线v′1由标定获得,由式(6)推得各段光路的方向向量;进一步得到物点和像点的关系模型,即:
Where: a iii+1 ,
Figure PCTCN2017100407-appb-000007
The initial camera ray v′ 1 is obtained by calibration, and the direction vector of each segment of the optical path is derived by the equation (6); further, a relationship model between the object point and the image point is obtained, namely:
Figure PCTCN2017100407-appb-000008
Figure PCTCN2017100407-appb-000008
式中:d′3=Z-d′1-d′2,Z为P点Z轴方向坐标值。则,式(7)记为:Where: d' 3 = Zd' 1 - d' 2 , Z is the coordinate value of the P-point Z-axis direction. Then, equation (7) is recorded as:
Figure PCTCN2017100407-appb-000009
Figure PCTCN2017100407-appb-000009
(3)求解三维信息(3) Solve three-dimensional information
式(5)式(8)联立,得像点像素坐标与相机坐标下物点三维坐标关系如下:Equation (5) (8) is connected in series, and the relationship between the pixel coordinates of the image point and the three-dimensional coordinates of the object point under the camera coordinates is as follows:
Figure PCTCN2017100407-appb-000010
Figure PCTCN2017100407-appb-000010
解算物点P空间三维坐标,完成了空间物点三维信息的测量。Solving the three-dimensional coordinates of the object point P space, the measurement of the three-dimensional information of the space object point is completed.
本发明的有益效果,采用基于旋转透镜对物体三维信息进行测量,选择两个不同时刻下的透镜位置,对物点三维信息进行单目相机测量,分别建立两时刻物点与像点的关系模型,并联立解算物点三维信息。这种设计将传统的双目相机系统精简为单目相机与旋转透镜的组合装置,大幅度降低了原有测量系统的经济成本,加快测量速度,并提高了测量的精确度,解决了单目视觉测量三维信息不精确以及双目视觉测量成本高等问题。The invention has the beneficial effects of measuring the three-dimensional information of the object based on the rotating lens, selecting the lens position at two different times, performing the monocular camera measurement on the three-dimensional information of the object point, and establishing the relationship model between the object point and the image point at two moments respectively. , in parallel, solve the three-dimensional information of the object point. This design reduces the traditional binocular camera system to a combination of a monocular camera and a rotating lens, which greatly reduces the economic cost of the original measurement system, speeds up the measurement, improves the accuracy of the measurement, and solves the monocular. Visual measurement of inaccurate three-dimensional information and high cost of binocular vision measurement.
附图说明 DRAWINGS
图1所示为基于旋转透镜的三维信息视觉测量方法装置模型图。FIG. 1 is a model diagram of a three-dimensional information visual measurement method based on a rotating lens.
图2基于旋转透镜的三维信息视觉测量方法的流程图,通过透镜旋转至T1和T2两时刻,物点与像点间光路的不同,解算物点空间三维坐标。2 is a flow chart of a three-dimensional information visual measurement method based on a rotating lens. The three-dimensional coordinates of the object point space are solved by the difference between the object point and the optical path between the image points by the rotation of the lens to T1 and T2.
图3是T1时刻,物点与像点间光路图与几何参数。Figure 3 is the optical path diagram and geometric parameters between the object point and the image point at time T1.
图4是T2时刻,物点与像点间光路图。Figure 4 is a light path diagram between the object point and the image point at time T2.
图中:1高速相机;In the picture: 1 high speed camera;
2斜切直圆柱体透镜,可绕光轴中心旋转,几何参数及光学参数已知;2 chamfered straight cylindrical lens, which can rotate around the center of the optical axis, and the geometric parameters and optical parameters are known;
3斜切直圆柱体透镜斜折射面;4斜切直圆柱体透镜平行折射面;3 obliquely cut straight cylindrical lens oblique refractive surface; 4 obliquely cut straight cylindrical lens parallel refractive surface;
5T1时刻光路;6T2时刻光路。5T1 time light path; 6T2 time light path.
具体实施方式Detailed ways
以下结合技术方案和附图,详细叙述本发明的具体实施方式。Specific embodiments of the present invention will be described in detail below with reference to the technical drawings and the accompanying drawings.
图1为基于旋转透镜的三维信息视觉测量方法装置模型图。通过相机前置的旋转透镜位置变换,建立T1时刻和T2时刻,旋转透镜位置下的物点与像点的光路关系模型。1 is a model diagram of a three-dimensional information visual measurement method based on a rotating lens. Through the positional transformation of the rotating lens in front of the camera, the optical path relationship model between the object point and the image point at the position of the rotating lens at T1 and T2 is established.
图2为基于旋转透镜的三维信息视觉测量方法的流程图,测量方法主要步骤为建立T1、T2时刻下,物点像点间的关系,然后联立求解出物点的三维坐标。2 is a flow chart of a three-dimensional information visual measurement method based on a rotating lens. The main steps of the measurement method are to establish a relationship between object point points at T1 and T2 times, and then jointly solve the three-dimensional coordinates of the object point.
(1)以精密加工的靶标板标定相机(1) Calibration camera with precision machined target board
本发明采用相机相对固定的方式,以精密加工的靶标板对相机进行标定的方法。仿真拍摄条件:相机CCD面积为2cm×2cm,图片像素为1280×1024,镜头焦距为20mm。以张正友等人提出的基于2D平面靶标的相机标定方法对相机进行内参数的标定,得到内参数如下: The invention adopts a method in which the camera is calibrated with a precisely processed target plate in a relatively fixed manner. Simulation shooting conditions: camera CCD area is 2cm × 2cm, picture pixels are 1280 × 1024, lens focal length is 20mm. The internal parameters of the camera are calibrated according to the 2D planar target camera calibration method proposed by Zhang Zhengyou et al., and the internal parameters are as follows:
Figure PCTCN2017100407-appb-000011
Figure PCTCN2017100407-appb-000011
(2)任取T1和T2两个时刻建立物点和像点光路关系(2) Establishing the relationship between the object point and the image point at two times T1 and T2
设置斜切直圆柱体式透镜形状参数如下:直径50mm,最低处高10mm,最高处高40mm。Set the shape parameters of the chamfered straight cylindrical lens as follows: diameter 50mm, lowest height 10mm, highest height 40mm.
1)建立T1时刻的物点和像点光路关系1) Establish the relationship between the object point and the image point at T1
根据平面几何原理,建立物点与像点间光路的数学模型。According to the plane geometry principle, a mathematical model of the optical path between the object point and the image point is established.
设空气和旋转透镜的折射率分别为μ1=1,μ2=1.6,在T1时刻,旋转透镜平行折射面和斜折射面的法向量分别为n1=[0,0,-1]T,n2=[0,-0.5145,-0.8575]T。[v1,v2,v3]分别为光心到平行折射面、平行折射面到斜折射面、斜折射面到物点P的光路方向向量,其中v1=[0,0.0082,1]T;[d1,d2,d3]分别为光心到平行折射面、平行折射面到斜折射面、斜折射面到物点P的各段光路在Z轴正方向上的投影距离,其中d1=150mm;(X,Y,Z)T为物点P的空间三维坐标。Let the refractive index of air and rotating lens be μ 1 =1, μ 2 =1.6, respectively. At T1, the normal vectors of the parallel and oblique refractive surfaces of the rotating lens are n 1 =[0,0,-1] T, respectively. , n 2 = [0, -0.5145, -0.8575] T . [v 1 , v 2 , v 3 ] are the optical path direction vectors from the optical center to the parallel refractive surface, the parallel refractive surface to the oblique refractive surface, and the oblique refractive surface to the object point P, respectively, where v 1 =[0,0.0082,1] T ; [d 1 , d 2 , d 3 ] are the projection distances of the optical paths from the optical center to the parallel refractive surface, the parallel refractive surface to the oblique refractive surface, and the oblique refractive surface to the object point P in the positive direction of the Z axis, respectively. d 1 =150 mm; (X, Y, Z) T is the spatial three-dimensional coordinate of the object point P.
物点P可以看作是由相机原点O经过各段光路的方向向量偏移得到,分段计算偏移向量即可。由于v1已知,则可根据公式(3),计算得到v2=[0,0.0051,1]T,v3=[0,-0.4026,0.9154]T。进一步求得,光路在平行折射面4和斜折射面3上反射点分别为q1=[0mm,1.2274mm,150mm]T,q2=[0mm,1.3511mm,174.1893mm]T,q1、q2在Z轴正方向上的投影距离d2=24.1m8,m9d3=Z-d1-d2=Z-174.1893(mm)。则,由公式(4)可得出P点坐标:The object point P can be regarded as the direction vector offset of the optical path of each segment by the camera origin O, and the offset vector can be calculated in stages. Since v 1 is known, v 2 =[0,0.0051,1] T and v 3 =[0,-0.4026,0.9154] T can be calculated according to formula (3). Further, the reflection points of the optical path on the parallel refractive surface 4 and the oblique refractive surface 3 are respectively q 1 = [0 mm, 1.2274 mm, 150 mm] T , q 2 = [0 mm, 1.3511 mm, 174.1893 mm] T , q 1 , The projection distance d 2 in the positive direction of the Z axis is d 2 = 24.1 m8, m9d 3 = Zd 1 - d 2 = Z-174.1893 (mm). Then, the P point coordinates can be obtained from the formula (4):
P=[0,77.9566-0.4398Z,Z]T        (11) P=[0,77.9566-0.4398Z,Z] T (11)
2)建立T2时刻的物点和像点光路关系2) Establish the relationship between the object point and the image point at T2
T2时刻的旋转透镜位置,根据上述原理,参数如下:空气和旋转透镜的折射率分别为μ1=1,μ2=1.6;旋转透镜平行折射面和斜折射面的法向量分别为n′1=[0,0,-1]T,n′2=[0,0.5145,-0.8575]T;光心到平行折射面、平行折射面到斜折射面、斜折射面到物点P的光路方向向量分别为v′1=[0,-0.1232,0.9924]T,v′2=[0,-0.0770,0.9970]T,v′3=[0,0.2536,0.9673]T;光路在平行折射面4和斜折射面3上的反射点分别为q′1=[0mm,-18.6218mm,150mm]T,q′2=[0mm,-19.6424mm,163.2146mm]T;光心到平行折射面、平行折射面到斜折射面、斜折射面到物点P的各段光路在Z轴正方向上的投影距离分别为d′1=150,d′2=13.2146mm,d′3=Z-d′1-d′2=Z-163.2146(mm);物点P的空间三维坐标为(X,Y,Z)TAccording to the above principle, the parameters of the rotating lens at time T2 are as follows: the refractive indices of air and rotating lens are μ 1 =1, μ 2 = 1.6, respectively; the normal vectors of the parallel and oblique refractive surfaces of the rotating lens are n' 1 respectively =[0,0,-1] T ,n' 2 =[0,0.5145,-0.8575] T ; optical path from the optical center to the parallel refractive surface, the parallel refractive surface to the oblique refractive surface, and the oblique refractive surface to the object point P The vectors are respectively v' 1 =[0,-0.1232,0.9924] T , v' 2 =[0,-0.0770,0.9970] T ,v′ 3 =[0,0.2536,0.9673] T ; the optical path is on the parallel refractive surface 4 And the reflection points on the oblique refractive surface 3 are q' 1 = [0 mm, -18.6218 mm, 150 mm] T , q' 2 = [0 mm, -19.6424 mm, 163.2146 mm] T ; the optical center to the parallel refractive surface, parallel The projection distances of the optical paths from the refractive surface to the oblique refractive surface and the oblique refractive surface to the object point P in the positive direction of the Z-axis are d' 1 =150, d' 2 = 13.2146 mm, d' 3 = Zd' 1 -d ' 2 = Z-163.2146 (mm); the spatial three-dimensional coordinates of the object point P are (X, Y, Z) T .
则由公式(7)可得出P点坐标:P=[0,0.2621Z-62.4249,Z]T       (12)Then, the coordinates of point P can be obtained from formula (7): P = [0, 0.2621Z-62.4249, Z] T (12)
(3)求解三维信息(3) Solve three-dimensional information
式(11)(12)两组方程联立,可得Equation (11) (12) two sets of equations, can be obtained
Figure PCTCN2017100407-appb-000012
Figure PCTCN2017100407-appb-000012
解算物点P空间三维坐标,完成了空间物点三维信息的测量。求得的物点空间三维坐标为:P=[0mm,-10.0043mm,200.0021mm]。 Solving the three-dimensional coordinates of the object point P space, the measurement of the three-dimensional information of the space object point is completed. The obtained three-dimensional coordinates of the object point space are: P = [0 mm, -10.0043 mm, 200.0021 mm].

Claims (1)

  1. 一种基于旋转透镜的三维信息视觉测量方法,其特征在于,所述的三维信息视觉测量方法基于旋转透镜的三维信息视觉测量装置,包括单目相机和旋转透镜,所述的旋转透镜采用透光度80%以上的玻璃材质斜切直圆柱体,将其置于单目相机镜头前,使其轴心与光轴重合,平行表面与镜头相对;A three-dimensional information visual measuring method based on a rotating lens, characterized in that the three-dimensional information visual measuring method is based on a three-dimensional information visual measuring device of a rotating lens, comprising a monocular camera and a rotating lens, wherein the rotating lens adopts light transmission 80% or more of the glass material is chamfered straight cylinder, placed in front of the monocular camera lens, its axis coincides with the optical axis, and the parallel surface is opposite to the lens;
    在测量时使旋转透镜旋转,在不同时刻下,物点和像点间光路通过旋转透镜斜面的法向及厚度不同,由两个时刻下的透镜参数以及单目相机内参数,即构造出物点与像点三维坐标的关系模型,将双目视觉对物体三维信息的测量转化为单目相机、旋转透镜不同时刻下物体三维信息的测量;During the measurement, the rotating lens is rotated. At different times, the normal direction and the thickness of the optical path between the object point and the image point through the rotating lens bevel are different, and the lens parameters at two moments and the parameters in the monocular camera are constructed. The relationship model between the point and the three-dimensional coordinates of the image point, the measurement of the three-dimensional information of the object by binocular vision is converted into the measurement of the three-dimensional information of the object at different times of the monocular camera and the rotating lens;
    步骤如下:Proceed as follows:
    (1)以精密加工的靶标板标定相机(1) Calibration camera with precision machined target board
    基于2D平面靶标的相机标定方法对相机进行内参数的标定,得到像素坐标系下坐标(u,v)T和像面坐标系下坐标(x,y)T的转换关系如下:The camera calibration method based on 2D planar target calibrates the internal parameters of the camera, and obtains the conversion relationship between the coordinates (u, v) T in the pixel coordinate system and the coordinates (x, y) T in the image coordinate system as follows:
    Figure PCTCN2017100407-appb-100001
    Figure PCTCN2017100407-appb-100001
    式中:(dx,dy)为每一像素在x轴、y轴上对应的物理尺寸,(u0,v0)为像面坐标系原点在像素坐标系下的坐标;Where: (dx, dy) is the physical size corresponding to each pixel on the x-axis and the y-axis, and (u 0 , v 0 ) is the coordinate of the origin of the image coordinate system in the pixel coordinate system;
    (2)任取T1和T2两个时刻建立物点和像点光路关系(2) Establishing the relationship between the object point and the image point at two times T1 and T2
    1)建立T1时刻的物点和像点光路关系1) Establish the relationship between the object point and the image point at T1
    旋转透镜的斜面为面3,旋转透镜的平面为面4;T1时刻为透镜旋转的任意时刻,在T1时刻,旋转透镜处于静止状态,[n1,n2]分别为面4和面3的法向量;[v1,v2,v3]分别为光心到面4、面4到面3、面3到物点P的光路方向向量;[q1,q2] 分别为光路在面4和面3上的反射点;[d1,d2,d3]分别为光心到面4、面4到面3、面3到物点P的各段光路在Z轴正方向上的投影距离;(X,Y,Z)T为物点P的空间三维坐标;The inclined surface of the rotating lens is the surface 3, the plane of the rotating lens is the surface 4; the time T1 is the arbitrary moment of the rotation of the lens, and at the time T1, the rotating lens is in a stationary state, [n 1 , n 2 ] are respectively the surface 4 and the surface 3 The normal vector; [v 1 , v 2 , v 3 ] is the optical path direction vector of the optical center to the surface 4, the surface 4 to the surface 3, and the surface 3 to the object point P; [q 1 , q 2 ] are respectively the optical path 4 and the reflection point on the surface 3; [d 1 , d 2 , d 3 ] are the projections of the optical paths from the optical center to the surface 4, the surface 4 to the surface 3, and the surface 3 to the object point P in the positive direction of the Z axis. Distance; (X, Y, Z) T is the spatial three-dimensional coordinate of the object point P;
    由斯涅尔定律得:μisinθi=μi+1sinθi+1  (2)From Snell's law: μ i sin θ i = μ i+1 sin θ i+1 (2)
    式中:μi和μi+1分别是两种介质的折射率;令vi和vi+1分别为入射和出射光路向量,则有θ1是v1和n1的夹角,θ2是v2和n1的夹角,θ3是v2和n2的夹角,θ4是v3和n2的夹角;将式(2)写成向量的形式,有Where: μ i and μ i+1 are the refractive indices of the two media respectively; let v i and v i+1 be the incident and outgoing optical path vectors respectively, then θ 1 is the angle between v 1 and n 1 , θ 2 is the angle between v 2 and n 1 , θ 3 is the angle between v 2 and n 2 , and θ 4 is the angle between v 3 and n 2 ; the formula (2) is written in the form of a vector,
    vi+1=aivi+bini  (3)v i+1 =a i v i +b i n i (3)
    式中:ai=μii+1
    Figure PCTCN2017100407-appb-100002
    初始相机光线v1由标定获得,由式(3)推得各段光路的方向向量;
    Where: a iii+1 ,
    Figure PCTCN2017100407-appb-100002
    The initial camera ray v 1 is obtained by calibration, and the direction vector of each segment of the optical path is derived by the equation (3);
    因此,物点P看作是由相机原点O经过各段光路的方向向量偏移得到,分段计算偏移向量;计算得,各段光路的偏移向量为
    Figure PCTCN2017100407-appb-100003
    ez为Z轴方向向量,则O点到P点的累积偏移为
    Figure PCTCN2017100407-appb-100004
    由此得出P点坐标:
    Therefore, the object point P is regarded as the direction vector offset of the optical path of each segment by the camera origin O, and the offset vector is calculated in segments; the offset vector of each segment of the optical path is calculated as
    Figure PCTCN2017100407-appb-100003
    e z is the Z-axis direction vector, then the cumulative offset from point O to point P is
    Figure PCTCN2017100407-appb-100004
    This gives the P point coordinates:
    Figure PCTCN2017100407-appb-100005
    Figure PCTCN2017100407-appb-100005
    式中:d3=Z-d1-d2,Z为P点Z轴方向坐标值;则,式(4)记为:Where: d 3 = Zd 1 - d 2 , Z is the coordinate value of the P-axis Z-axis direction; then, the formula (4) is recorded as:
    Figure PCTCN2017100407-appb-100006
    Figure PCTCN2017100407-appb-100006
    2)建立T2时刻的物点和像点光路关系2) Establish the relationship between the object point and the image point at T2
    T2时刻是透镜旋转过程中不同于T1时刻的任意时刻,根据上述原理,同样得出各段光路的方向向量如下:The T2 time is any time different from the time T1 during the rotation of the lens. According to the above principle, the direction vector of each optical path is also obtained as follows:
    v′i+1=aiv′i+bin′i  (6) v' i+1 =a i v' i +b i n' i (6)
    式中:ai=μii+1
    Figure PCTCN2017100407-appb-100007
    初始相机光线v′1由标定获得,由式(6)推得各段光路的方向向量;进一步得到物点和像点的关系模型,即:
    Where: a iii+1 ,
    Figure PCTCN2017100407-appb-100007
    The initial camera ray v′ 1 is obtained by calibration, and the direction vector of each segment of the optical path is derived by the equation (6); further, a relationship model between the object point and the image point is obtained, namely:
    Figure PCTCN2017100407-appb-100008
    Figure PCTCN2017100407-appb-100008
    式中:d′3=Z-d′1-d′2,Z为P点Z轴方向坐标值;则,式(7)记为:Where: d' 3 = Zd' 1 -d' 2 , Z is the coordinate value of the Z-axis direction of point P; then, equation (7) is recorded as:
    Figure PCTCN2017100407-appb-100009
    Figure PCTCN2017100407-appb-100009
    (3)求解三维信息(3) Solve three-dimensional information
    式(5)式(8)联立,得像点像素坐标与相机坐标下物点三维坐标关系如下:Equation (5) (8) is connected in series, and the relationship between the pixel coordinates of the image point and the three-dimensional coordinates of the object point under the camera coordinates is as follows:
    Figure PCTCN2017100407-appb-100010
    Figure PCTCN2017100407-appb-100010
    解算物点P空间三维坐标,完成了空间物点三维信息的测量。 Solving the three-dimensional coordinates of the object point P space, the measurement of the three-dimensional information of the space object point is completed.
PCT/CN2017/100407 2017-09-04 2017-09-04 Three-dimensional visual information measuring method based on rotating lens WO2019041349A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/100407 WO2019041349A1 (en) 2017-09-04 2017-09-04 Three-dimensional visual information measuring method based on rotating lens

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/100407 WO2019041349A1 (en) 2017-09-04 2017-09-04 Three-dimensional visual information measuring method based on rotating lens

Publications (1)

Publication Number Publication Date
WO2019041349A1 true WO2019041349A1 (en) 2019-03-07

Family

ID=65524710

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100407 WO2019041349A1 (en) 2017-09-04 2017-09-04 Three-dimensional visual information measuring method based on rotating lens

Country Status (1)

Country Link
WO (1) WO2019041349A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130182908A1 (en) * 2012-01-17 2013-07-18 Oki Electric Industry Co., Ltd. Vehicle type identification device
CN103759669A (en) * 2014-01-03 2014-04-30 河南科技大学 Monocular vision measuring method for large parts
CN105184857A (en) * 2015-09-13 2015-12-23 北京工业大学 Scale factor determination method in monocular vision reconstruction based on dot structured optical ranging
CN105571518A (en) * 2016-01-19 2016-05-11 大连理工大学 Three dimensional information vision measurement method based on refraction image deviation
CN105678783A (en) * 2016-01-25 2016-06-15 西安科技大学 Data fusion calibration method of catadioptric panorama camera and laser radar
CN107560554A (en) * 2017-09-04 2018-01-09 大连理工大学 A kind of three-dimensional information vision measuring method based on relay lens

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130182908A1 (en) * 2012-01-17 2013-07-18 Oki Electric Industry Co., Ltd. Vehicle type identification device
CN103759669A (en) * 2014-01-03 2014-04-30 河南科技大学 Monocular vision measuring method for large parts
CN105184857A (en) * 2015-09-13 2015-12-23 北京工业大学 Scale factor determination method in monocular vision reconstruction based on dot structured optical ranging
CN105571518A (en) * 2016-01-19 2016-05-11 大连理工大学 Three dimensional information vision measurement method based on refraction image deviation
CN105678783A (en) * 2016-01-25 2016-06-15 西安科技大学 Data fusion calibration method of catadioptric panorama camera and laser radar
CN107560554A (en) * 2017-09-04 2018-01-09 大连理工大学 A kind of three-dimensional information vision measuring method based on relay lens

Similar Documents

Publication Publication Date Title
CN108177143B (en) Robot positioning and grabbing method and system based on laser vision guidance
CN109242908B (en) Calibration method for underwater binocular vision measurement system
CN104101331B (en) Based on the noncooperative target pose measurement of all-optical field camera
CN110378969B (en) Convergent binocular camera calibration method based on 3D geometric constraint
CN109579695B (en) Part measuring method based on heterogeneous stereoscopic vision
Zhang et al. High-precision measurement of binocular telecentric vision system with novel calibration and matching methods
CN107560554A (en) A kind of three-dimensional information vision measuring method based on relay lens
CN106500625B (en) A kind of telecentricity stereo vision measurement method
CN113724337B (en) Camera dynamic external parameter calibration method and device without depending on tripod head angle
Liu et al. On-site calibration method for outdoor binocular stereo vision sensors
CN115359127A (en) Polarization camera array calibration method suitable for multilayer medium environment
CN106291788B (en) The determination method and its optical imaging method of free curved surface prism and its shape
Bi et al. Multi-camera stereo vision based on weights
Zhou et al. Three-dimensional measurement approach in small FOV and confined space using an electronic endoscope
Gu et al. Joint Dense 3D Reconstruction Method for Endoscopic Images of Weak Texture Scenes
CN105157562A (en) On-line dynamic visual measuring system and on-line dynamic visual measuring method for geometrical dimension of complex and precise workpiece in small space
WO2019041349A1 (en) Three-dimensional visual information measuring method based on rotating lens
CN111947598B (en) 360-degree three-dimensional human head measuring method based on plane reflector
CN110533702B (en) Underwater binocular vision stereo matching method based on optical field multilayer refraction model
Żak et al. Distance measurement using a stereo vision system
Sueishi et al. Mirror-based high-speed gaze controller calibration with optics and illumination control
CN107941147B (en) Non-contact online measurement method for three-dimensional coordinates of large-scale system
Zhang et al. Camera Calibration Algorithm for Long Distance Binocular Measurement
Zhu et al. A stereo vision depth estimation method of binocular wide-field infrared camera
CN104765702A (en) Profile data acquisition method in process of ship hull plate bending by line heating

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17923817

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17923817

Country of ref document: EP

Kind code of ref document: A1