CN110146032A - Calibration method of synthetic aperture camera based on light field distribution - Google Patents
Calibration method of synthetic aperture camera based on light field distribution Download PDFInfo
- Publication number
- CN110146032A CN110146032A CN201910436690.8A CN201910436690A CN110146032A CN 110146032 A CN110146032 A CN 110146032A CN 201910436690 A CN201910436690 A CN 201910436690A CN 110146032 A CN110146032 A CN 110146032A
- Authority
- CN
- China
- Prior art keywords
- pupil
- sub
- calibration plate
- coordinate system
- camera
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 210000001747 pupil Anatomy 0.000 claims abstract description 32
- 238000003384 imaging method Methods 0.000 claims abstract description 31
- 238000005516 engineering process Methods 0.000 claims abstract description 6
- 230000003287 optical effect Effects 0.000 claims abstract description 6
- 239000011159 matrix material Substances 0.000 claims description 13
- 238000013519 translation Methods 0.000 claims description 6
- 238000005457 optimization Methods 0.000 claims description 5
- 238000012897 Levenberg–Marquardt algorithm Methods 0.000 claims description 2
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 238000005070 sampling Methods 0.000 claims description 2
- 238000005259 measurement Methods 0.000 abstract description 9
- 230000004075 alteration Effects 0.000 abstract description 6
- 239000003550 marker Substances 0.000 description 4
- 238000000691 measurement method Methods 0.000 description 3
- 238000012937 correction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/24—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B21/00—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
- G01B21/02—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness
- G01B21/04—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness by measuring coordinates of points
- G01B21/042—Calibration or calibration artifacts
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C25/00—Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
-
- 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
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Studio Devices (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
技术领域technical field
本发明属于光学工程技术领域,具体涉及一种基于光场分布的合成孔径相机标定方法。The invention belongs to the technical field of optical engineering, and in particular relates to a method for calibrating a synthetic aperture camera based on light field distribution.
背景技术Background technique
在现代精密测量中,摄影测量术是常用的三维形貌测量技术。摄影测量术主要分为两类:针对漫反射的表面三维测量技术和针对镜面反射的表面三维测量技术。前者以三角测量法为典型代表,尤其是条纹投影技术在工业精密检测中应用十分广泛。其三维重建方法主要包括立体视觉和相位-高度映射。而针对镜面反射的表面,常用的是相位测量偏折术。由于其测量系统简单,动态范围大,抗干扰能力强,可用于复杂曲面的测量,近年来得到广泛关注。其原理是在显示器上产生规则条纹,经被测表面反射后条纹发生变形,采用CCD相机拍摄变形图样,由几何关系推导可以计算出被测面形的表面梯度分布,再通过积分得到面形高度。In modern precision measurement, photogrammetry is a commonly used 3D shape measurement technique. Photogrammetry is mainly divided into two categories: surface 3D measurement techniques for diffuse reflection and surface 3D measurement techniques for specular reflection. The former is typically represented by triangulation, especially fringe projection technology is widely used in industrial precision inspection. Its 3D reconstruction methods mainly include stereo vision and phase-height mapping. For specularly reflective surfaces, phase measurement deflection is commonly used. Because of its simple measurement system, large dynamic range, and strong anti-interference ability, it can be used for the measurement of complex surfaces, and has attracted extensive attention in recent years. The principle is to generate regular stripes on the display, and the stripes will be deformed after being reflected by the measured surface. The deformation pattern is taken by a CCD camera, and the surface gradient distribution of the measured surface can be calculated by deriving from the geometric relationship, and then the surface height can be obtained by integral. .
在摄影测量术和相机标定中,一般采用张正友标定法。把相机简化为理想的针孔成像模型,认为相机CCD每个像素的光线均通过同一点(相机光瞳主点)。但由于相机镜头的光瞳具有一定尺寸,这种假设会产生光瞳像差,所计算的光线位置与方向会含有明显的偏差,于是单一针孔模型不能完美的表达相机的物像关系,对三维测量精度造成严重影响。因此需要一种更简便的高精度相机标定方法。In photogrammetry and camera calibration, Zhang Zhengyou calibration method is generally used. The camera is simplified to an ideal pinhole imaging model, and it is considered that the light of each pixel of the camera CCD passes through the same point (the principal point of the camera pupil). However, since the pupil of the camera lens has a certain size, this assumption will produce pupil aberration, and the calculated light position and direction will contain obvious deviations, so the single pinhole model cannot perfectly express the object-image relationship of the camera. Three-dimensional measurement accuracy is seriously affected. Therefore, a more convenient and high-precision camera calibration method is needed.
发明内容Contents of the invention
本发明的目的在于提供一种能有效对相机成像过程进行模型构建的方法,以实现准确地光瞳像差校正。The purpose of the present invention is to provide a method that can effectively model the camera imaging process, so as to realize accurate pupil aberration correction.
本发明提出一种合成孔径相机联合标定优化方法,具体步骤如下:The present invention proposes a synthetic aperture camera joint calibration optimization method, the specific steps are as follows:
(1)基于光场分布的像面分割;利用数字微镜阵列(DMD)将成像光瞳进行采样,结合压缩感知技术计算成像系统的四维光场分布。根据光场分布,计算经过每个子光瞳的成像主光线,将像面分割为多个对应子光瞳的子区域,将每个子光瞳假设为一个针孔模型。(1) Image plane segmentation based on light field distribution; use digital micromirror array (DMD) to sample the imaging pupil, and combine compressed sensing technology to calculate the four-dimensional light field distribution of the imaging system. According to the distribution of the light field, the imaging chief ray passing through each sub-pupil is calculated, the image plane is divided into multiple sub-regions corresponding to the sub-pupils, and each sub-pupil is assumed to be a pinhole model.
(2)相机参数初始估计;使用LCD屏幕生成标志点图案作为标定板,并放置在不同的位置处拍摄标定图像。使用张正友标定法估算相机的内参insc和每个位置处的标定板外参{Rw2c|Tw2c}。标定板的成像过程可表示为:(2) Initial estimation of camera parameters; use the LCD screen to generate a marker point pattern as a calibration board, and place it at different positions to take calibration images. Use Zhang Zhengyou's calibration method to estimate the internal parameter ins c of the camera and the external parameter {R w2c |T w2c } of the calibration plate at each position. The imaging process of the calibration plate can be expressed as:
其中,(Xw,Yw,Zw)是标定板上标志点的世界坐标,(μ,v)是该标志点在CCD上的像素坐标,Zc是该标志点在相机坐标系下的Z轴坐标,(fx,fy)是相机焦距,(μ0,v0)是光轴在图像坐标的偏移量。Among them, (X w , Y w , Z w ) is the world coordinate of the mark point on the calibration board, (μ, v) is the pixel coordinate of the mark point on the CCD, and Z c is the coordinate of the mark point in the camera coordinate system Z-axis coordinates, (f x , f y ) is the focal length of the camera, (μ 0 , v 0 ) is the offset of the optical axis in the image coordinates.
LCD屏幕的像素坐标(μs,vs)到世界坐标(Xw,Yw)的转换关系如下:The conversion relationship between the pixel coordinates (μ s , v s ) of the LCD screen and the world coordinates (X w , Y w ) is as follows:
其中,假设标定板所在平面为XY平面,所以Zw设为0,(m,n)为屏幕的像素尺寸,(dx,dy)为标定板世界坐标原点的像素偏移量。Among them, it is assumed that the plane where the calibration board is located is the XY plane, so Z w is set to 0, (m, n) is the pixel size of the screen, and (d x , d y ) is the pixel offset of the world coordinate origin of the calibration board.
(3)合成孔径相机模型联合标定优化;在所提模型中每个子光瞳的内参都不一致,每个位置处的标定板到所有子光瞳的外参也不一致,所以需要对每个子光瞳的内外参数进行优化。在每个位置处的标定板在相机每个像面子区域分别选取q个标志点。待优化的目标方程如下:(3) Synthetic aperture camera model joint calibration optimization; in the proposed model, the internal parameters of each sub-pupil are inconsistent, and the external parameters from the calibration plate at each position to all sub-pupils are also inconsistent, so it is necessary to The internal and external parameters are optimized. The calibration board at each position selects q marker points in each image plane sub-area of the camera. The objective equation to be optimized is as follows:
其中,x={{insc,Rw2c,Tw2c}ij,inss}为待优化变量,inss={m,n}为LCD屏幕标定板的待优化参数,i为子光瞳的编号,j为标定板的位置编号,是第i个子光瞳对应的第j个位置处标定板的第k个标志点的真实成像坐标,是第i个子光瞳对应的第j个位置处标定板的第k个标志点的重投影坐标;公式(3)是非线性最小二乘问题,可以使用Levenberg-Marquardt算法解决该问题。步骤(2)中的张正友标定法所提供的相机内外参数可以作为Levenberg-Marquardt优化过程的初始解。Among them, x={{ins c ,R w2c ,T w2c } ij ,ins s } is the variable to be optimized, ins s ={m,n} is the parameter to be optimized of the LCD screen calibration board, and i is the number of the sub-pupil , j is the position number of the calibration plate, is the real imaging coordinate of the kth marker point of the calibration plate at the jth position corresponding to the ith sub-pupil, is the reprojection coordinate of the kth marker point of the calibration plate at the jth position corresponding to the ith sub-pupil; formula (3) is a nonlinear least squares problem, which can be solved by using the Levenberg-Marquardt algorithm. The internal and external parameters of the camera provided by the Zhang Zhengyou calibration method in step (2) can be used as the initial solution of the Levenberg-Marquardt optimization process.
(4)根据已得到的每个子光瞳的外参{Rw2c|Tw2c}将每个子光瞳统一到中心光瞳的坐标系下:(4) Unify each sub-pupil into the coordinate system of the central pupil according to the obtained external parameters {R w2c |T w2c } of each sub-pupil:
其中,是第i个光瞳坐标系到中心光瞳坐标系的旋转矩阵,是第i个光瞳坐标系到中心光瞳坐标系的平移矩阵,和是世界坐标系到中心光瞳坐标系的旋转矩阵和平移矩阵,和是同一个世界坐标系到第i个光瞳坐标系的旋转矩阵和平移矩阵。in, is the rotation matrix from the i-th pupil coordinate system to the central pupil coordinate system, is the translation matrix from the i-th pupil coordinate system to the central pupil coordinate system, and is the rotation matrix and translation matrix from the world coordinate system to the central pupil coordinate system, and is the rotation matrix and translation matrix from the same world coordinate system to the i-th pupil coordinate system.
本发明基于光场分布特性,将成像传感器分割为子光瞳对应的不同成像区域;再结合合成孔径相机模型联合标定优化,有效地构建一个更符合实际成像过程的相机模型。Based on the light field distribution characteristics, the invention divides the imaging sensor into different imaging regions corresponding to the sub-pupils; combined with the joint calibration optimization of the synthetic aperture camera model, a camera model more in line with the actual imaging process is effectively constructed.
本发明可有效消除针孔成像假设造成的光瞳像差,克服单目视觉的方向歧义性,准确计算成像光线的方向。对于提高摄影测量技术的测量精度有重要意义。The invention can effectively eliminate the pupil aberration caused by the hypothesis of pinhole imaging, overcome the direction ambiguity of monocular vision, and accurately calculate the direction of imaging light. It is of great significance to improve the measurement accuracy of photogrammetry technology.
附图说明Description of drawings
图1为单个子光瞳(DMD)对应成像区域图示。Figure 1 is an illustration of the corresponding imaging area of a single sub-pupil (DMD).
图2为相机成像模型图示。Figure 2 is a diagram of the camera imaging model.
图3为优化标定后的重投影误差。Figure 3 shows the reprojection error after optimized calibration.
具体实施方式Detailed ways
下面通过实施例结合附图进一步说明本发明。The present invention is further illustrated below by means of embodiments in conjunction with the accompanying drawings.
实施例1:在测量过程,搭建合适的成像光路,利用DMD进行5×5的光瞳采样。实验中所用CCD像素分辨率为3840×3840,所以光场矩阵L的维度为25×14745600((5×5)×(3840×3840))。由于实际成像过程不是严格的小孔成像,单个物点的光线只会经过部分光瞳成像于某一CCD像素上,即为光场分布,换句话说,每个子光瞳决定部分光线成像于CCD上,如图1所示。根据光场分布,将CCD像面按照子光瞳在像面的能量分布进行分割,将每个子光瞳看作针孔成像模型,新的相机成像模型如图2所示。物点P1经过第0个子光瞳成像于CCD的p1处,其经过的光瞳坐标为Oc0,物点P2经过第i个子光瞳成像于CCD的p2处,其经过的光瞳坐标为Oci。辅助张正友标定方法得到每个子光瞳的内外参数,然后将多个孔径成像模型进行联合优化,得到高精度的合成孔径相机参数,再利用公式4将每个光瞳坐标系统一到坐标系Oc0Xc0Yc0Zc0下,构建一个更符合实际成像过程的相机模型,有效地校正相机的光瞳像差。图3为利用优化后的相机参数得到的重投影误差图,重投影误差的RMS为0.12像素。Embodiment 1: During the measurement process, a suitable imaging optical path is set up, and the DMD is used to perform 5×5 pupil sampling. The CCD pixel resolution used in the experiment is 3840×3840, so the dimension of the light field matrix L is 25×14745600 ((5×5)×(3840×3840)). Since the actual imaging process is not strictly small-hole imaging, the light of a single object point will only pass through part of the pupil and be imaged on a certain CCD pixel, which is the light field distribution. In other words, each sub-pupil determines part of the light to be imaged on the CCD on, as shown in Figure 1. According to the light field distribution, the CCD image plane is divided according to the energy distribution of the sub-pupils on the image plane, and each sub-pupil is regarded as a pinhole imaging model. The new camera imaging model is shown in Figure 2. The object point P1 is imaged at p1 of the CCD through the 0th sub-pupil, and the passing pupil coordinate is O c0 , and the object point P2 is imaged at the p2 of the CCD through the i-th sub-pupil, and the passing pupil coordinate is O ci . Aid Zhang Zhengyou’s calibration method to obtain the internal and external parameters of each sub-pupil, and then jointly optimize multiple aperture imaging models to obtain high-precision synthetic aperture camera parameters, and then use formula 4 to convert each pupil coordinate system to the coordinate system O c0 Under X c0 Y c0 Z c0 , construct a camera model that is more in line with the actual imaging process, and effectively correct the pupil aberration of the camera. Figure 3 is the reprojection error map obtained by using the optimized camera parameters, and the RMS of the reprojection error is 0.12 pixels.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910436690.8A CN110146032B (en) | 2019-05-23 | 2019-05-23 | Synthetic aperture camera calibration method based on light field distribution |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910436690.8A CN110146032B (en) | 2019-05-23 | 2019-05-23 | Synthetic aperture camera calibration method based on light field distribution |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110146032A true CN110146032A (en) | 2019-08-20 |
CN110146032B CN110146032B (en) | 2020-09-25 |
Family
ID=67592991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910436690.8A Active CN110146032B (en) | 2019-05-23 | 2019-05-23 | Synthetic aperture camera calibration method based on light field distribution |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110146032B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111862237A (en) * | 2020-07-22 | 2020-10-30 | 复旦大学 | Camera calibration method for optical surface measurement and device for implementing the method |
CN112581547A (en) * | 2020-12-30 | 2021-03-30 | 安徽地势坤光电科技有限公司 | Rapid method for adjusting installation angle of imaging lens |
CN112762825A (en) * | 2020-12-24 | 2021-05-07 | 复旦大学 | Matrix spectrum radius method for representing three-dimensional coordinate reconstruction error of photogrammetric system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2492870A3 (en) * | 2006-06-02 | 2013-01-23 | LiberoVision AG | Method and system for generating a 3D representation of a dynamically changing 3D scene |
KR20130134405A (en) * | 2012-05-31 | 2013-12-10 | 한국과학기술연구원 | 3-dimensional display apparatus using time division scheme |
CN107644444A (en) * | 2017-09-07 | 2018-01-30 | 广东工业大学 | A kind of single image camera calibration method based on compressed sensing |
CN107845077A (en) * | 2017-11-01 | 2018-03-27 | 中国科学院长春光学精密机械与物理研究所 | A kind of method and storage medium of correction DMD micro mirrors member imaging Asymmetrical deformation |
CN108426585A (en) * | 2018-03-12 | 2018-08-21 | 哈尔滨工业大学 | A kind of geometric calibration method of light-field camera |
-
2019
- 2019-05-23 CN CN201910436690.8A patent/CN110146032B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2492870A3 (en) * | 2006-06-02 | 2013-01-23 | LiberoVision AG | Method and system for generating a 3D representation of a dynamically changing 3D scene |
KR20130134405A (en) * | 2012-05-31 | 2013-12-10 | 한국과학기술연구원 | 3-dimensional display apparatus using time division scheme |
CN107644444A (en) * | 2017-09-07 | 2018-01-30 | 广东工业大学 | A kind of single image camera calibration method based on compressed sensing |
CN107845077A (en) * | 2017-11-01 | 2018-03-27 | 中国科学院长春光学精密机械与物理研究所 | A kind of method and storage medium of correction DMD micro mirrors member imaging Asymmetrical deformation |
CN108426585A (en) * | 2018-03-12 | 2018-08-21 | 哈尔滨工业大学 | A kind of geometric calibration method of light-field camera |
Non-Patent Citations (1)
Title |
---|
ZHANG XIAOLEI 等: "Speckle removal in phase reconstruction of digital holography for structured surfaces", 《红外与激光工程》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111862237A (en) * | 2020-07-22 | 2020-10-30 | 复旦大学 | Camera calibration method for optical surface measurement and device for implementing the method |
CN111862237B (en) * | 2020-07-22 | 2024-01-05 | 复旦大学 | Camera calibration method for optical surface shape measurement and device for realizing method |
CN112762825A (en) * | 2020-12-24 | 2021-05-07 | 复旦大学 | Matrix spectrum radius method for representing three-dimensional coordinate reconstruction error of photogrammetric system |
CN112581547A (en) * | 2020-12-30 | 2021-03-30 | 安徽地势坤光电科技有限公司 | Rapid method for adjusting installation angle of imaging lens |
CN112581547B (en) * | 2020-12-30 | 2022-11-08 | 安徽地势坤光电科技有限公司 | Rapid method for adjusting installation angle of imaging lens |
Also Published As
Publication number | Publication date |
---|---|
CN110146032B (en) | 2020-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109357632B (en) | A method and device for measuring the three-dimensional shape of a mirror object | |
CN108921901B (en) | A large field of view camera calibration method based on precision two-axis turntable and laser tracker | |
CN105913439B (en) | A kind of large-field shooting machine scaling method based on laser tracker | |
CN108986070B (en) | Rock crack propagation experiment monitoring method based on high-speed video measurement | |
WO2016138758A1 (en) | Calibration method of telecentric imaging three-dimensional shape measurement system | |
CN106595528A (en) | Digital speckle-based telecentric microscopic binocular stereoscopic vision measurement method | |
CN110966935B (en) | Deflection measurement system integrated geometric calibration method based on mark points | |
CN102654391B (en) | Stripe projection three-dimensional measurement system based on bundle adjustment principle and calibration method thereof | |
CN106990776B (en) | Robot homing positioning method and system | |
CN106767540B (en) | A kind of intersection measurement camera optical axis and reflecting mirror angle error scaling method | |
WO2020199439A1 (en) | Single- and dual-camera hybrid measurement-based three-dimensional point cloud computing method | |
CN102155923A (en) | Splicing measuring method and system based on three-dimensional target | |
CN111091599B (en) | Multi-camera-projector system calibration method based on sphere calibration object | |
CN106643492B (en) | A kind of aero-engine damaged blade 3-dimensional digital speckle formative method | |
CN106871787A (en) | Large space line scanning imagery method for three-dimensional measurement | |
CN110672037A (en) | Linear light source grating projection 3D measurement system and method based on phase shift method | |
KR102160351B1 (en) | Double layer alignment device and method | |
CN108981608B (en) | A Novel Linear Structured Light Vision System and Calibration Method | |
CN110146032B (en) | Synthetic aperture camera calibration method based on light field distribution | |
CN112489109B (en) | Three-dimensional imaging system method and device and three-dimensional imaging system | |
CN110223355A (en) | A kind of feature mark poiX matching process based on dual epipolar-line constraint | |
CN107941153A (en) | A kind of vision system of laser ranging optimization calibration | |
CN114018167A (en) | A bridge deflection measurement method based on monocular 3D vision | |
CN110044266B (en) | Photogrammetry system based on speckle projection | |
CN110248179B (en) | A camera pupil aberration correction method based on light field coding |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |