CN111242901A - Space point-based global calibration system and method for automobile detection camera without common view field - Google Patents
Space point-based global calibration system and method for automobile detection camera without common view field Download PDFInfo
- Publication number
- CN111242901A CN111242901A CN201911426732.6A CN201911426732A CN111242901A CN 111242901 A CN111242901 A CN 111242901A CN 201911426732 A CN201911426732 A CN 201911426732A CN 111242901 A CN111242901 A CN 111242901A
- Authority
- CN
- China
- Prior art keywords
- camera
- coordinate system
- sub
- branch
- cylindrical target
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 39
- 238000000034 method Methods 0.000 title claims abstract description 35
- 239000011159 matrix material Substances 0.000 claims abstract description 69
- 238000013519 translation Methods 0.000 claims description 15
- 239000013598 vector Substances 0.000 claims description 15
- 238000006243 chemical reaction Methods 0.000 claims description 14
- 238000000354 decomposition reaction Methods 0.000 claims description 12
- 238000000605 extraction Methods 0.000 claims description 12
- 238000007689 inspection Methods 0.000 claims description 9
- 230000009466 transformation Effects 0.000 claims description 3
- 230000000007 visual effect Effects 0.000 claims 3
- 238000005259 measurement Methods 0.000 description 12
- 238000011160 research Methods 0.000 description 4
- 230000009977 dual effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012876 topography Methods 0.000 description 1
- 238000011179 visual inspection Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F16—ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
- F16M—FRAMES, CASINGS OR BEDS OF ENGINES, MACHINES OR APPARATUS, NOT SPECIFIC TO ENGINES, MACHINES OR APPARATUS PROVIDED FOR ELSEWHERE; STANDS; SUPPORTS
- F16M11/00—Stands or trestles as supports for apparatus or articles placed thereon ; Stands for scientific apparatus such as gravitational force meters
- F16M11/02—Heads
- F16M11/04—Means for attachment of apparatus; Means allowing adjustment of the apparatus relatively to the stand
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B17/00—Details of cameras or camera bodies; Accessories therefor
- G03B17/56—Accessories
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/80—Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
- G06T7/85—Stereo camera calibration
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Mechanical Engineering (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Studio Devices (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
本发明公开了一种基于空间点的汽车检测无共视场相机全局标定系统与方法,旨在解决基于空间点的汽车检测无共视场相机全局标定问题。基于空间点的汽车检测无共视场相机全局标定系统主要由总摄像机(1)、总摄像机支架(2)、分摄像机左(3)、分摄像机支架左(4)、分摄像机右(5)、分摄像机支架右(6)与圆柱靶标(7)组成。基于空间点的汽车检测无共视场相机全局标定方法由图像采集、根据总摄像机(1)采集的图像解算从圆柱靶标(7)到总摄像机(1)坐标系转换的单应矩阵等步骤组成,提供了一种结构简单、性能可靠的基于空间点的汽车检测无共视场相机全局标定系统与方法。
The invention discloses a system and method for global calibration of cameras without common field of view for vehicle detection based on space points, aiming at solving the problem of global calibration of cameras without common field of view for vehicle detection based on space points. The global calibration system for cameras without a common field of view for vehicle detection based on spatial points is mainly composed of a total camera (1), a total camera bracket (2), a sub-camera left (3), a sub-camera bracket left (4), and a sub-camera right (5). . The camera bracket right (6) and the cylindrical target (7) are composed. The global calibration method for cameras without a common field of view for vehicle detection based on spatial points is composed of image acquisition, and calculation of the homography matrix transformed from the cylindrical target (7) to the coordinate system of the general camera (1) according to the image collected by the general camera (1), etc. The invention provides a global calibration system and method for a vehicle detection without a common field of view based on a simple structure and reliable performance.
Description
技术领域technical field
本发明涉及一种汽车检测领域的测量设备与测量方法,更具体的说,它是一种基于空间点的汽车检测无共视场相机全局标定系统与方法。The invention relates to a measuring device and a measuring method in the field of automobile detection, more specifically, it is a global calibration system and method of a camera without a common field of view for automobile detection based on space points.
背景技术Background technique
汽车性能检测领域研究目的是对汽车的运行的安全性、可靠性、通过性等重要性能进行定期检测,保证车辆的安全运行和道路使用者的生命财产安全。视觉检测由于具有非接触、成本低、精度高等优点,在汽车车轮定位参数检测、汽车轴距差检测、汽车形貌检测、多轴车轴偏角检测、车型识别等汽车性能检测的重要研究方向上具有重要的研究意义和广泛的应用前景。单个摄像机由于视场受限,无法满足车辆等大型被测物体的形貌测量需求和多个车轮之间的定位参数等远距离被测物体的位置测量需求,因此需要采用多个相机构成的大范围的相机测量场或检测场进行测量和标定。对于双相机或多摄像机而言,可能存在标定参照物不能同时出现在两个摄像机相机的公共视场的情况,但是同时又需要将两个摄像机的测量结果结合起来统一到一个坐标系下进行测量和重建,因此,确定两个无公共视场摄像机之间的位姿关系是整个测量系统不可或缺的重要步骤。由于两相机方法可以推广到多个无公共视场相机的坐标系统一研究中,因此对高速轨道车辆的车轮定位、车轮定位参数、轴距差、形貌重建等相关领域的研究具有同样重要的研究价值。现有技术中的两相机标定法需要导轨工作台等大型的外部辅助设备参与工作,结构复杂、成本偏高、操作不便,无法在现场标定中使用。本申请采用独立相机和圆柱靶标构造三维空间点作为两个相机的桥梁,实现了基于空间点的汽车检测无共视场相机的坐标系统一。The purpose of research in the field of automobile performance testing is to regularly test the safety, reliability, passability and other important performance of automobiles, so as to ensure the safe operation of vehicles and the safety of life and property of road users. Due to its advantages of non-contact, low cost and high precision, visual inspection is used in important research directions of automobile performance detection such as automobile wheel alignment parameter detection, automobile wheelbase difference detection, automobile shape detection, multi-axis axle angle detection, and vehicle model identification. It has important research significance and broad application prospects. Due to the limited field of view, a single camera cannot meet the shape measurement requirements of large measured objects such as vehicles and the position measurement requirements of long-distance measured objects such as positioning parameters between multiple wheels. A wide range of camera measurement fields or inspection fields are used for measurement and calibration. For dual cameras or multiple cameras, there may be situations where the calibration reference object cannot appear in the common field of view of the two cameras at the same time, but at the same time, the measurement results of the two cameras need to be combined into one coordinate system for measurement. and reconstruction, therefore, determining the pose relationship between two cameras without a common field of view is an indispensable and important step for the entire measurement system. Since the two-camera method can be extended to the study of multiple coordinate systems without a common field of view camera, it is equally important to study the wheel alignment, wheel alignment parameters, wheelbase difference, and topography reconstruction of high-speed rail vehicles. research value. The two-camera calibration method in the prior art requires the participation of large-scale external auxiliary equipment such as a guide rail table, which is complicated in structure, high in cost, and inconvenient in operation, and cannot be used in on-site calibration. The present application adopts an independent camera and a cylindrical target to construct a three-dimensional space point as a bridge between the two cameras, and realizes the
发明内容SUMMARY OF THE INVENTION
本发明针对解决在汽车检测过程中,单个摄像机由于视场受限,无法满足大型系统测量需求,双相机可能存在标定参照物不能同时出现在两个摄像机相机的公共视场等问题,提出了一种灵活简便、工作安全可靠、结构简单的标定系统与方法。通过三个摄像机分别获取各视场内的图像,已确定三个摄像机之间的位姿关系,实现了空间点的汽车检测无共视场相机的坐标系统一。The invention aims to solve the problems that a single camera cannot meet the measurement requirements of a large-scale system due to the limited field of view in the process of automobile detection, and the calibration reference objects of the dual cameras may not appear in the public field of view of the two cameras at the same time. A flexible, simple, safe and reliable calibration system and method with a simple structure. The images in each field of view are acquired by three cameras respectively, the pose relationship between the three cameras has been determined, and the
结合说明书附图,本发明采用如下技术方案予以实现:In conjunction with the accompanying drawings of the description, the present invention adopts the following technical solutions to be realized:
基于空间点的汽车检测无共视场相机全局标定系统包括有总摄像机、总摄像机支架、分摄像机左、分摄像机支架左、分摄像机右、分摄像机支架右与圆柱靶标;The spatial point-based global calibration system for cameras without a common field of view for vehicle detection includes a total camera, a total camera bracket, a sub-camera left, a sub-camera bracket left, a sub-camera right, a sub-camera bracket right, and a cylindrical target;
总摄像机支架、右分摄像机支架、左分摄像机支架与圆柱靶标放置在地面上,分摄像机左与分摄像机右无共视场,总摄像机、分摄像机左与分摄像机右通过底部的螺纹孔分别与总摄像机支架、分摄像机支架左与分摄像机支架右顶部的螺栓螺纹固定连接。The main camera bracket, the right sub-camera bracket, the left sub-camera bracket and the cylindrical target are placed on the ground. The sub-camera left and sub-camera right have no common field of view. The main camera bracket, the left of the sub-camera bracket and the top right of the sub-camera bracket are fixedly connected with bolts and threads.
技术方案中所述的总摄像机支架为可调整高度的三角支架。The total camera bracket described in the technical solution is a height-adjustable tripod bracket.
技术方案中所述的分摄像机支架左为可调整高度的三角支架。The left side of the sub-camera bracket described in the technical solution is a height-adjustable tripod bracket.
技术方案中所述的分摄像机支架右为可调整高度的三角支架。The right side of the sub-camera bracket described in the technical solution is a height-adjustable tripod bracket.
技术方案中所述的总摄像机为广角工业相机。The total camera described in the technical solution is a wide-angle industrial camera.
技术方案中所述的分摄像机左为广角工业相机。The left side of the sub-camera described in the technical solution is a wide-angle industrial camera.
技术方案中所述的分摄像机右为广角工业相机。The right sub-camera described in the technical solution is a wide-angle industrial camera.
技术方案中所述的圆柱靶标是一个空心圆柱,外表面粘贴有棋盘格图案。The cylindrical target described in the technical solution is a hollow cylinder with a checkerboard pattern pasted on the outer surface.
基于空间点的汽车检测无共视场相机全局标定方法的具体步骤如下:The specific steps of the global calibration method for cameras without a common field of view for vehicle detection based on spatial points are as follows:
第一步:基于空间点的汽车检测无共视场相机全局标定的图像采集:The first step: vehicle detection based on spatial points Image acquisition without a common field of view camera global calibration:
总摄像机、分摄像机左以及分摄像机右分别固定在总摄像机支架、分摄像机支架左与分摄像机支架右上,将总摄像机支架、分摄像机支架左与分摄像机支架右放置在地面上,根据汽车检测对大检测范围的需要,分摄像机左与分摄像机右无公共视场,将圆柱靶标放置在地面上,并处于总摄像机与分摄像机左的视场内,总摄像机与分摄像机左分别采集一幅图像,移动圆柱靶标,使其处于总摄像机与分摄像机右的视场内,总摄像机与分摄像机右分别采集一幅图像;The main camera, sub-camera left and sub-camera right are respectively fixed on the main camera bracket, sub-camera bracket left and sub-camera bracket upper right, and the main camera bracket, sub-camera bracket left and sub-camera bracket right are placed on the ground. To meet the needs of a large detection range, there is no common field of view for the left and right of the sub-camera. The cylindrical target is placed on the ground and is in the field of view of the main camera and the left of the sub-camera. The main camera and the left of the sub-camera collect an image respectively. , move the cylindrical target so that it is in the field of view of the main camera and the right of the sub-camera, and the main camera and the right of the sub-camera collect an image respectively;
第二步:当圆柱靶标在总摄像机与分摄像机左公共视场内时,根据总摄像机采集的图像解算从圆柱靶标到总摄像机坐标系转换的单应矩阵:Step 2: When the cylindrical target is in the left common field of view of the total camera and the sub-camera, calculate the homography matrix converted from the cylindrical target to the total camera coordinate system according to the image collected by the total camera:
从圆柱靶标坐标系到总摄像机获取的图像坐标系的转换关系为The conversion relationship from the cylindrical target coordinate system to the image coordinate system obtained by the total camera is:
PT1,I0XT1=sxI0,T1 P T1, I0 X T1 = sx I0, T1
利用RANSAC点提取方法和DLT标定方法可求得投影矩阵PT1,I0=KT1,I0[RT1,I0tT1,I0],KT1,I0是总摄像机的内参数,RT1,I0,tT1,I0是根据QR分解获得的总摄像机的外参数,XT1为圆柱靶标特征点的圆柱靶标坐标系坐标,xI0,T1为圆柱靶标特征点XT1在总摄像机获取的图像下的图像坐标,s为比例因子,由旋转矩阵RT1,I0和平移向量tT1,I0可求得从圆柱靶标在分摄像机左视场下的坐标系到总摄像机坐标系转换的单应矩阵Using the RANSAC point extraction method and the DLT calibration method, the projection matrix P T1, I0 = K T1, I0 [R T1, I0 t T1, I0 ], K T1, I0 are the internal parameters of the total camera, R T1, I0 , t T1, I0 are the external parameters of the total camera obtained according to the QR decomposition, X T1 are the coordinates of the cylindrical target coordinate system of the cylindrical target feature point, x I0, T1 are the cylindrical target feature point X T1 under the image obtained by the total camera image Coordinates, s is the scale factor, the homography matrix converted from the coordinate system of the cylindrical target in the left field of view of the sub-camera to the coordinate system of the total camera can be obtained from the rotation matrix R T1, I0 and the translation vector t T1, I0
第三步:当圆柱靶标在总摄像机与分摄像机右公共视场内时,根据总摄像机1采集的图像解算从圆柱靶标到总摄像机坐标系转换的单应矩阵:Step 3: When the cylindrical target is in the right common field of view of the total camera and the sub-camera, calculate the homography matrix converted from the cylindrical target to the total camera coordinate system according to the image collected by the total camera 1:
圆柱靶标坐标系与总摄像机1获取的图像坐标系的转换关系为The conversion relationship between the cylindrical target coordinate system and the image coordinate system obtained by the
PT2,I0XT2=sxI0,T2 P T2, I0 X T2 =sx I0, T2
利用RANSAC点提取方法和DLT标定方法可求得投影矩阵PT2,I0=KT2,I0[RT2,I0tT2,I0],KT2,I0是总摄像机的内参数,RT2,I0,tT2,I0是根据QR分解获得的总摄像机的外参数,XT2为圆柱靶标特征点的圆柱靶标坐标系坐标,xI0,T2为圆柱靶标特征点XT2在总摄像机获取的图像下的图像坐标,由旋转矩阵RT2,I0和平移向量tT2,I0可求得从圆柱靶标在分摄像机右视场下的坐标系到总摄像机坐标系转换的单应矩阵Using the RANSAC point extraction method and the DLT calibration method, the projection matrix P T2, I0 =K T2, I0 [R T2, I0 t T2, I0 ], K T2, I0 are the internal parameters of the total camera, R T2, I0 , t T2, I0 are the external parameters of the total camera obtained by QR decomposition, X T2 are the coordinates of the cylindrical target coordinate system of the cylindrical target feature point, x I0, T2 are the image of the cylindrical target feature point X T2 under the image obtained by the total camera Coordinates, the homography matrix converted from the coordinate system of the cylindrical target in the right field of view of the sub-camera to the coordinate system of the total camera can be obtained from the rotation matrix R T2, I0 and the translation vector t T2, I0
根据所求得HT1,CO与HT2,CO可以得到从分摄像机左坐标系到分摄像机右坐标系的单应矩阵According to the obtained H T1, CO and H T2, CO , the homography matrix from the left coordinate system of the sub-camera to the right coordinate system of the sub-camera can be obtained
HT2,T1=HT2,C0(HT1,C0)-1 H T2, T1 = H T2, C0 (H T1, C0 ) -1
将HT2,T1进一步展开可得Expand H T2 and T1 further to get
第四步:当圆柱靶标在总摄像机与分摄像机左公共视场内时,根据分摄像机左采集的图像解算从圆柱靶标到分摄像机左坐标系转换的单应矩阵:Step 4: When the cylindrical target is in the left common field of view of the total camera and the sub-camera, calculate the homography matrix converted from the cylindrical target to the left coordinate system of the sub-camera according to the image collected by the left sub-camera:
圆柱靶标坐标系与分摄像机左获取的图像坐标系的转换关系为The conversion relationship between the cylindrical target coordinate system and the image coordinate system obtained by the left sub-camera is:
PT1,I1XT1=sxI1,T1 P T1, I1 X T1 =sx I1, T1
利用RANSAC点提取方法和DLT标定方法可求得投影矩阵PT1,I1=KT1,I1[RT1,I1tT1,I1],KT1,I1是分摄像机左的内参数,RT1,I1,tT1,I1是根据QR分解获得的分摄像机左的外参数,xI1,T1为圆柱靶标特征点XT1在分摄像机左获取的图像下的图像坐标,由旋转矩阵RT1,I1和平移向量tT1,I1可求得圆柱靶标在分摄像机左视场下的坐标系到分摄像机左坐标系的单应矩阵Using the RANSAC point extraction method and the DLT calibration method, the projection matrix P T1, I1 = K T1, I1 [R T1, I1 t T1, I1 ], K T1, I1 are the left internal parameters of the sub-camera, R T1, I1 , t T1, I1 are the external parameters of the left sub-camera obtained by QR decomposition, x I1, T1 are the image coordinates of the cylindrical target feature point X T1 under the image obtained by the sub-camera left, by the rotation matrix R T1, I1 and translation The vectors t T1, I1 can obtain the homography matrix from the coordinate system of the cylindrical target in the left field of view of the sub-camera to the left coordinate system of the sub-camera
第五步:当圆柱靶标在总摄像机与分摄像机右公共视场内时,根据分摄像机右采集的图像解算从圆柱靶标到分摄像机右坐标系转换的单应矩阵:Step 5: When the cylindrical target is in the right common field of view of the main camera and the sub-camera, calculate the homography matrix converted from the cylindrical target to the right coordinate system of the sub-camera according to the image collected from the right of the sub-camera:
圆柱靶标坐标系与分摄像机右获取的图像坐标系的转换关系为The conversion relationship between the cylindrical target coordinate system and the image coordinate system obtained by the right sub-camera is as follows:
PT2,I2XT2=sxI2,T2 P T2, I2 X T2 = sx I2, T2
利用RANSAC点提取方法和DLT标定方法可求得投影矩阵PT2,I2=KT2,I2[RT2,I2tT2,I2],KT2,I2是分摄像机右的内参数,RT2,I2,tT2,I2是根据QR分解获得的分摄像机右的外参数,xI2,T2为圆柱靶标特征点XT2在分摄像机右获取的图像下的图像坐标,由旋转矩阵RT2,I2和平移向量tT2,I2可求得圆柱靶标在分摄像机右视场下的坐标系到分摄像机右坐标系的单应矩阵Using the RANSAC point extraction method and the DLT calibration method, the projection matrix P T2, I2 = K T2, I2 [R T2, I2 t T2, I2 ], K T2, I2 are the internal parameters of the right sub-camera, R T2, I2 , t T2, I2 are the external parameters of the right sub-camera obtained by QR decomposition, x I2, T2 are the image coordinates of the cylindrical target feature point X T2 under the image acquired by the right sub-camera, by the rotation matrix R T2, I2 and translation The vectors t T2 and I2 can obtain the homography matrix from the coordinate system of the cylindrical target in the right field of view of the sub-camera to the right coordinate system of the sub-camera
第六步:分摄像机左坐标系与分摄像机右坐标系之间的单应矩阵解算:Step 6: Calculate the homography matrix between the left coordinate system of the sub-camera and the right coordinate system of the sub-camera:
根据第二步到第五步解得的一系列单应矩阵,可求得从分摄像机左坐标系到分摄像机右坐标系转换的单应矩阵According to a series of homography matrices solved in the second to fifth steps, the homography matrix converted from the left coordinate system of the sub-camera to the right coordinate system of the sub-camera can be obtained
HC1,C2=(HT2,C2)-1HT2,T1HT1,C1 H C1, C2 = (H T2, C2 ) -1 H T2, T1 H T1, C1
将单应矩阵HC1,C2展开可得分摄像机左坐标系到分摄像机右坐标系转换的单应矩阵与第二步到第五步中所得的各个旋转矩阵和平移向量的关系为Expanding the homography matrix H C1, C2 , the relationship between the homography matrix converted from the left coordinate system of the sub-camera to the right coordinate system of the sub-camera and the rotation matrices and translation vectors obtained in the second to fifth steps is:
本发明的有益效果是:The beneficial effects of the present invention are:
(1)本发明的方法针对无公共视场相机全局标定问题,引入了第三个相机和圆柱靶标构造了三维空间点,建立了无公共视场相机之间的转换桥梁,实现了基于空间点的汽车检测无共视场相机的坐标系统一。该方法能够实现高精度的标定,且不必知道不同位置的靶标之间的关系就可以确定相机之间的单应矩阵。(1) Aiming at the problem of global calibration of cameras without a common field of view, the method of the present invention introduces a third camera and a cylindrical target to construct a three-dimensional space point, establishes a conversion bridge between cameras without a common field of view, and realizes a point-based A coordinate system for vehicle detection without a common field-of-view camera. This method can achieve high-precision calibration, and the homography matrix between cameras can be determined without knowing the relationship between targets at different positions.
(2)本发明的系统使用方便、灵活,克服传统标定方法中外部辅助设备较大,受空间限制,便捷性差等缺点,通过扩展相机的数量,可进一步实现对多相机的标定。(2) The system of the present invention is convenient and flexible to use, overcomes the disadvantages of large external auxiliary equipment, limited space and poor convenience in the traditional calibration method, and can further realize the calibration of multiple cameras by expanding the number of cameras.
(3)本发明的系统测量范围广、性能可靠、装置结构简单、操作简便、成本低,解决了传统单相机重建测量范围小,双相机重建无公共视场标定方法需要大型固定接触式测量系统价格昂贵、测量效率低等问题。(3) The system of the present invention has a wide measurement range, reliable performance, simple device structure, simple operation and low cost, and solves the problem that the traditional single-camera reconstruction measurement range is small, and the dual-camera reconstruction has no common field of view calibration method requires a large-scale fixed contact type measurement system High price and low measurement efficiency.
附图说明Description of drawings
图1是基于空间点的汽车检测无共视场相机全局标定系统的轴测图;Fig. 1 is an axonometric view of a global calibration system for a vehicle detection without a common field of view based on a space point;
图2是基于空间点的汽车检测无共视场相机全局标定系统中总摄像机1的轴测图;Fig. 2 is the axonometric view of the
图3是基于空间点的汽车检测无共视场相机全局标定系统中总摄像机支架2的轴测图;Fig. 3 is the axonometric view of the
图4是基于空间点的汽车检测无共视场相机全局标定系统中圆柱靶标8的轴测图;FIG. 4 is an axonometric view of a cylindrical target 8 in a spatial point-based vehicle detection without a common field of view camera global calibration system;
图5是基于空间点的汽车检测无共视场相机全局标定方法的原理图;Figure 5 is a schematic diagram of a global calibration method for a camera without a common field of view for vehicle detection based on spatial points;
图6是基于空间点的汽车检测无共视场相机全局标定方法中求解从圆柱靶标7坐标系到总摄像机1以及到分摄像机左3坐标系转换的单应矩阵的流程图;6 is a flowchart of solving the homography matrix converted from the
图7是基于空间点的汽车检测无共视场相机全局标定方法中求解从圆柱靶标7坐标系到总摄像机1以及到分摄像机右5坐标系转换的单应矩阵的流程图;7 is a flow chart of solving the homography matrix converted from the
图8是基于空间点的汽车检测无共视场相机全局标定方法中求解从分摄像机左3坐标系到分摄像机右5坐标系转换的单应矩阵的流程图;8 is a flowchart of solving the homography matrix converted from the left 3 coordinate system of the sub-camera to the right 5 coordinate system of the sub-camera in the global calibration method of the camera without a common field of view based on the space point;
图中:1.总摄像机,2.总摄像机支架,3.分摄像机左,4.分摄像机支架左,5.分摄像机右,6.分摄像机支架右,7.圆柱靶标。In the picture: 1. Main camera, 2. Main camera bracket, 3. Sub-camera left, 4. Sub-camera bracket left, 5. Sub-camera right, 6. Sub-camera bracket right, 7. Cylindrical target.
具体实施方式Detailed ways
下面结合附图对本发明作进一步的详细描述:Below in conjunction with accompanying drawing, the present invention is described in further detail:
参阅图1至图4,基于空间点的汽车检测无共视场相机全局标定系统包括有总摄像机1、总摄像机支架2、分摄像机左3、分摄像机支架左4、分摄像机右5、分摄像机支架右6与圆柱靶标7;Referring to Figures 1 to 4, the spatial point-based vehicle detection global calibration system for cameras without a common field of view includes a
总摄像机支架2、分摄像机支架左4与分摄像机支架右6为相同的可调整高度的三角支架,总摄像机支架2、分摄像机支架左4、分摄像机支架右6与圆柱靶标7放置在地面上,总摄像机1、分摄像机左3与分摄像机右5均为广角工业相机,总摄像机1、分摄像机左3与分摄像机右5通过底部的螺纹孔分别与总摄像机支架2、分摄像机支架左4与分摄像机支架右6顶部的螺栓螺纹固定连接,根据汽车检测对大检测范围的需要,分摄像机左3与分摄像机右5无共视场,圆柱靶标7是一个空心圆柱,外表面粘贴有棋盘格图案。The
参阅图5至图8,基于空间点的汽车检测无共视场相机全局标定方法可分为以下六步:Referring to Figure 5 to Figure 8, the global calibration method for cameras without a common field of view for vehicle detection based on spatial points can be divided into the following six steps:
第一步:基于空间点的汽车检测无共视场相机全局标定的图像采集:The first step: vehicle detection based on spatial points Image acquisition without a common field of view camera global calibration:
总摄像机1、分摄像机左3以及分摄像机右5分别固定在总摄像机支架2、分摄像机支架左4与分摄像机支架右6上,将总摄像机支架2、分摄像机支架左4与分摄像机支架右6放置在地面上,根据汽车检测对大检测范围的需要,分摄像机左3与分摄像机右5无公共视场,将圆柱靶标7放置在地面上,并处于总摄像机1与分摄像机左3的视场内,总摄像机1与分摄像机左3分别采集一幅图像,移动圆柱靶标7,使其处于总摄像机1与分摄像机右5的视场内,总摄像机1与分摄像机右5分别采集一幅图像;The
第二步:当圆柱靶标7在总摄像机1与分摄像机左3公共视场内时,根据总摄像机1采集的图像解算从圆柱靶标7到总摄像机1坐标系转换的单应矩阵:Step 2: When the
从圆柱靶标7坐标系到总摄像机1获取的图像坐标系的转换关系为The conversion relationship from the coordinate system of the
PT1,I0XT1=sxI0,T1 P T1, I0 X T1 = sx I0, T1
利用RANSAC点提取方法和DLT标定方法可求得投影矩阵PT1,I0=KT1,I0[RT1,I0tT1,I0],KT1,I0是总摄像机1的内参数,RT1,I0,tT1,I0是根据QR分解获得的总摄像机1的外参数,XT1为圆柱靶标7特征点的圆柱靶标7坐标系坐标,xI0,T1为圆柱靶标7特征点XT1在总摄像机1获取的图像下的图像坐标,s为比例因子,由旋转矩阵RT1,I0和平移向量tT1,I0可求得从圆柱靶标7在分摄像机左3视场下的坐标系到总摄像机1坐标系转换的单应矩阵Using the RANSAC point extraction method and the DLT calibration method, the projection matrix P T1, I0 =K T1, I0 [R T1, I0 t T1, I0 ], K T1, I0 are the internal parameters of the
第三步:当圆柱靶标7在总摄像机1与分摄像机右5公共视场内时,根据总摄像机1采集的图像解算从圆柱靶标7到总摄像机1坐标系转换的单应矩阵:Step 3: When the
圆柱靶标7坐标系与总摄像机1获取的图像坐标系的转换关系为The conversion relationship between the coordinate system of the
PT2,I0XT2=sxI0,T2 P T2, I0 X T2 =sx I0, T2
利用RANSAC点提取方法和DLT标定方法可求得投影矩阵PT2,I0=KT2,I0[RT2,I0tT2,I0],KT2,I0是总摄像机1的内参数,RT2,I0,tT2,I0是根据QR分解获得的总摄像机1的外参数,XT2为圆柱靶标7特征点的圆柱靶标7坐标系坐标,xI0,T2为圆柱靶标7特征点XT2在总摄像机1获取的图像下的图像坐标,由旋转矩阵RT2,I0和平移向量tT2,I0可求得从圆柱靶标7在分摄像机右5视场下的坐标系到总摄像机1坐标系转换的单应矩阵Using the RANSAC point extraction method and the DLT calibration method, the projection matrix P T2, I0 =K T2, I0 [R T2, I0 t T2, I0 ], K T2, I0 are the internal parameters of the
根据所求得HT1,CO与HT2,CO可以得到从分摄像机左3坐标系到分摄像机右5坐标系的单应矩阵According to the obtained H T1, CO and H T2, CO , the homography matrix from the left 3 coordinate system of the sub-camera to the right 5 coordinate system of the sub-camera can be obtained
HT2,T1=HT2,C0(HT1,C0)-1 H T2, T1 = H T2, C0 (H T1, C0 ) -1
将HT2,T1进一步展开可得Expand H T2 and T1 further to get
第四步:当圆柱靶标7在总摄像机1与分摄像机左3公共视场内时,根据分摄像机左3采集的图像解算从圆柱靶标7到分摄像机左3坐标系转换的单应矩阵:Step 4: When the
圆柱靶标7坐标系与分摄像机左3获取的图像坐标系的转换关系为The conversion relationship between the coordinate system of the
PT1,I1XT1=sxI1,T1 P T1, I1 X T1 =sx I1, T1
利用RANSAC点提取方法和DLT标定方法可求得投影矩阵PT1,I1=KT1,I1[RT1,I1tT1,I1],KT1,I1是分摄像机左3的内参数,RT1,I1,tT1,I1是根据QR分解获得的分摄像机左3的外参数,xI1,T1为圆柱靶标7特征点XT1在分摄像机左3获取的图像下的图像坐标,由旋转矩阵RT1,I1和平移向量tT1,I1可求得圆柱靶标7在分摄像机左3视场下的坐标系到分摄像机左3坐标系的单应矩阵Using the RANSAC point extraction method and the DLT calibration method, the projection matrix P T1, I1 = K T1, I1 [R T1, I1 t T1, I1 ], K T1, I1 are the internal parameters of the left 3 of the sub-camera, R T1, I1 , t T1, I1 are the external parameters of the sub-camera left 3 obtained by QR decomposition, x I1, T1 are the image coordinates of the
第五步:当圆柱靶标7在总摄像机1与分摄像机右5公共视场内时,根据分摄像机右5采集的图像解算从圆柱靶标7到分摄像机右5坐标系转换的单应矩阵:Step 5: When the
圆柱靶标7坐标系与分摄像机右5获取的图像坐标系的转换关系为The conversion relationship between the coordinate system of the
PT2,I2XT2=sxI2,T2 P T2, I2 X T2 = sx I2, T2
利用RANSAC点提取方法和DLT标定方法可求得投影矩阵PT2,I2=KT2,I2[RT2,I2tT2,I2],KT2,I2是分摄像机右5的内参数,RT2,I2,tT2,I2是根据QR分解获得的分摄像机右5的外参数,xI2,T2为圆柱靶标7特征点XT2在分摄像机右5获取的图像下的图像坐标,由旋转矩阵RT2,I2和平移向量tT2,I2可求得圆柱靶标7在分摄像机右5视场下的坐标系到分摄像机右5坐标系的单应矩阵Using the RANSAC point extraction method and the DLT calibration method, the projection matrix P T2, I2 =K T2, I2 [R T2, I2 t T2, I2 ], K T2, I2 are the internal parameters of the
第六步:分摄像机左3坐标系与分摄像机右5坐标系之间的单应矩阵解算:Step 6: Calculate the homography matrix between the left 3 coordinate system of the sub-camera and the right 5 coordinate system of the sub-camera:
根据第二步到第五步解得的一系列单应矩阵,可求得从分摄像机左3坐标系到分摄像机右5坐标系转换的单应矩阵According to a series of homography matrices solved in the second to fifth steps, the homography matrix converted from the left 3 coordinate system of the sub-camera to the right 5 coordinate system of the sub-camera can be obtained
HC1,C2=(HT2,C2)-1HT2,T1HT1,C1 H C1, C2 = (H T2, C2 ) -1 H T2, T1 H T1, C1
将单应矩阵HC1,C2展开可得分摄像机左3坐标系到分摄像机右5坐标系转换的单应矩阵与第二步到第五步中所得的各个旋转矩阵和平移向量的关系为Expand the homography matrix H C1, C2 , the relationship between the homography matrix converted from the left 3 coordinate system of the sub-camera to the right 5 coordinate system of the sub-camera and the rotation matrices and translation vectors obtained in the second to fifth steps is:
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911426732.6A CN111242901A (en) | 2019-12-31 | 2019-12-31 | Space point-based global calibration system and method for automobile detection camera without common view field |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911426732.6A CN111242901A (en) | 2019-12-31 | 2019-12-31 | Space point-based global calibration system and method for automobile detection camera without common view field |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111242901A true CN111242901A (en) | 2020-06-05 |
Family
ID=70874299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911426732.6A Pending CN111242901A (en) | 2019-12-31 | 2019-12-31 | Space point-based global calibration system and method for automobile detection camera without common view field |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111242901A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112288827A (en) * | 2020-11-22 | 2021-01-29 | 吉林大学 | Linear light field-based global calibration method and system for automobile detection camera without public view field |
CN112747673A (en) * | 2020-12-25 | 2021-05-04 | 中国人民解放军陆军工程大学 | Calibration method of monocular multiline structured light sensor based on calibration cylinder |
CN114018164A (en) * | 2021-10-22 | 2022-02-08 | 广西壮族自治区计量检测研究院 | Method and device for detecting automobile wheelbase difference |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106485755A (en) * | 2016-09-26 | 2017-03-08 | 中国科学技术大学 | A kind of multi-camera system scaling method |
CN109540033A (en) * | 2019-01-14 | 2019-03-29 | 吉林大学 | The global free reconstructing system of the consistent binocular active vision automobile pattern of closed loop and method |
CN211626384U (en) * | 2019-12-31 | 2020-10-02 | 吉林大学 | Automobile detection non-common-view-field camera global calibration system based on surface light field |
-
2019
- 2019-12-31 CN CN201911426732.6A patent/CN111242901A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106485755A (en) * | 2016-09-26 | 2017-03-08 | 中国科学技术大学 | A kind of multi-camera system scaling method |
CN109540033A (en) * | 2019-01-14 | 2019-03-29 | 吉林大学 | The global free reconstructing system of the consistent binocular active vision automobile pattern of closed loop and method |
CN211626384U (en) * | 2019-12-31 | 2020-10-02 | 吉林大学 | Automobile detection non-common-view-field camera global calibration system based on surface light field |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112288827A (en) * | 2020-11-22 | 2021-01-29 | 吉林大学 | Linear light field-based global calibration method and system for automobile detection camera without public view field |
CN112288827B (en) * | 2020-11-22 | 2022-09-02 | 吉林大学 | Linear light field-based global calibration method and system for automobile detection camera without public view field |
CN112747673A (en) * | 2020-12-25 | 2021-05-04 | 中国人民解放军陆军工程大学 | Calibration method of monocular multiline structured light sensor based on calibration cylinder |
CN112747673B (en) * | 2020-12-25 | 2022-10-25 | 中国人民解放军陆军工程大学 | Calibration method of monocular multiline structured light sensor based on calibration cylinder |
CN114018164A (en) * | 2021-10-22 | 2022-02-08 | 广西壮族自治区计量检测研究院 | Method and device for detecting automobile wheelbase difference |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110148169B (en) | Vehicle target three-dimensional information acquisition method based on PTZ (pan/tilt/zoom) pan-tilt camera | |
CN109357632B (en) | A method and device for measuring the three-dimensional shape of a mirror object | |
CN105716542B (en) | A kind of three-dimensional data joining method based on flexible characteristic point | |
CN102034238B (en) | Multi-camera system calibrating method based on optical imaging probe and visual graph structure | |
CN111242901A (en) | Space point-based global calibration system and method for automobile detection camera without common view field | |
CN102692214B (en) | Narrow space binocular vision measuring and positioning device and method | |
CN103615980B (en) | Method and system for measuring parameters of round holes in plate | |
CN105139411B (en) | Big visual field camera calibration method based on four sets of conllinear constraint demarcation chis | |
CN104897060A (en) | large Large field of view global measurement method using coordinates tracking control board | |
CN107421502B (en) | A method for automatic measurement of the limit of railway freight cars | |
CN110793464B (en) | Large-field fringe projection vision three-dimensional measurement system and method | |
CN104484887B (en) | External parameters calibration method when video camera is used in combination with scanning laser range finder | |
CN103530880A (en) | Camera calibration method based on projected Gaussian grid pattern | |
WO2020199439A1 (en) | Single- and dual-camera hybrid measurement-based three-dimensional point cloud computing method | |
CN111091076A (en) | Measurement method of tunnel boundary data based on stereo vision | |
CN111311659B (en) | Calibration method based on three-dimensional imaging of oblique plane mirror | |
CN103644894B (en) | A kind of method that complex-curved target identification and three-dimensional pose are measured | |
CN107024175A (en) | Motorbus vehicle body critical size detecting system solution based on multi-vision visual | |
CN112288827B (en) | Linear light field-based global calibration method and system for automobile detection camera without public view field | |
CN209399945U (en) | Active visual inspection system for vehicle shape based on unconstrained concentric beam family | |
CN211060831U (en) | Automobile detection non-common-view-field camera global calibration system based on space points | |
CN111412854A (en) | Point and circle invariant based active vision reconstruction system and method for automobile morphology | |
CN205300519U (en) | Iron tower warp measuring device | |
CN201945293U (en) | Flexibility stereoscopic vision measurement device of target space coordinate | |
CN205607332U (en) | Measuring device is striden to bridge crane crane span structure based on machine vision |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |