CN107133986B - A Camera Calibration Method Based on Two-Dimensional Calibration Object - Google Patents
A Camera Calibration Method Based on Two-Dimensional Calibration Object Download PDFInfo
- Publication number
- CN107133986B CN107133986B CN201710284292.XA CN201710284292A CN107133986B CN 107133986 B CN107133986 B CN 107133986B CN 201710284292 A CN201710284292 A CN 201710284292A CN 107133986 B CN107133986 B CN 107133986B
- Authority
- CN
- China
- Prior art keywords
- image
- iac
- calibration
- interior
- point
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 239000011159 matrix material Substances 0.000 claims abstract description 31
- 238000005070 sampling Methods 0.000 claims description 12
- 239000013598 vector Substances 0.000 claims description 9
- 238000005457 optimization Methods 0.000 description 20
- 238000002474 experimental method Methods 0.000 description 11
- 238000000605 extraction Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 5
- 238000004088 simulation Methods 0.000 description 5
- 238000013519 translation Methods 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000007476 Maximum Likelihood Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- 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
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
Abstract
Description
技术领域technical field
本发明涉及相机标定技术领域,尤其涉及基于二维标定物的相机标定技术,具体涉及基于标定图像优选的相机标定方法。The present invention relates to the technical field of camera calibration, in particular to a camera calibration technology based on a two-dimensional calibration object, and in particular to a camera calibration method based on calibration image optimization.
背景技术Background technique
相机标定技术指的是找到相机模型的参数。参数一般包含从场景到图像的参数(内参),以及从参考坐标系到相机坐标系的参数(外参)。另外还包含相机镜头由于制造误差而产生的非线性畸变参数。相机标定的精确性直接影响着三维重建、视觉检测和视觉导航的精度。有许多的学者对相机标定进行了研究,主要分为自标定和基于标定物的标定。自标定不用标定物,直接根据采集静态场景的图像上的对应点来标定相机,但它的对应点的提取精度有限,且有的场景没有对应点,并且它没有考虑镜头的畸变[2],因此它的标定精度受限[1]。在精度要求高的场合常采用基于标定物的标定方法。Camera calibration techniques refer to finding the parameters of the camera model. The parameters generally include parameters from the scene to the image (internal parameters), and parameters from the reference coordinate system to the camera coordinate system (external parameters). In addition, it also includes nonlinear distortion parameters of the camera lens due to manufacturing errors. The accuracy of camera calibration directly affects the accuracy of 3D reconstruction, visual detection and visual navigation. Many scholars have conducted research on camera calibration, mainly divided into self-calibration and calibration based on calibration objects. Self-calibration does not need to calibrate the object, and directly calibrates the camera according to the corresponding points on the image of the collected static scene, but the extraction accuracy of its corresponding points is limited, and some scenes have no corresponding points, and it does not consider the distortion of the lens [2], Therefore, its calibration accuracy is limited [1]. Calibration methods based on calibrator are often used in occasions where high precision is required.
基于标定物的标定方法主要分为基于三维标定物和基于二维标定物的方法,基于三维标定物的方法需要坐标精确已知的三维标定物,它需要的设备很昂贵。应用最广泛的是基于二维标定物的标定方法,最经典的是张正友的二维平面模板标定方法[3]。张正友的二维平面标定方法中需要采集多张不同视角的图像来进行标定,标定的精度依赖于合适的视角[3](当标定板的角度和相机的成像平面的角度为45度时,标定精度会较高)、角点提取的精确性等。不同的图像集会导致不同的标定精度。为了处理这个问题,[2]提出了用随机抽取一致性[4](RANSAC)来剔除不可靠的图像来达到更好的标定效果,但是由于标准的RANSAC有些缺点如下:(1)标准的RANSAC运行时间比理论上预测的更长[5],(2)它假设从内点里面得到的模型是与所有内点一致的,这个假设通常不成立,因为内点有时候也会受噪声的影响。因此RANSAC得到的内点数具有一定的随机性,与理论上的内点不相同,所得到的模型当然也不和理论相同。Calibration methods based on calibration objects are mainly divided into methods based on three-dimensional calibration objects and methods based on two-dimensional calibration objects. The method based on three-dimensional calibration objects requires three-dimensional calibration objects whose coordinates are precisely known, and the equipment it requires is very expensive. The most widely used is the calibration method based on two-dimensional calibration objects, and the most classic is Zhang Zhengyou’s two-dimensional planar template calibration method [3]. Zhang Zhengyou’s two-dimensional plane calibration method needs to collect multiple images of different viewing angles for calibration, and the calibration accuracy depends on the appropriate viewing angle [3] (when the angle of the calibration plate and the imaging plane of the camera is 45 degrees, the calibration The accuracy will be higher), the accuracy of corner point extraction, etc. Different image sets lead to different calibration accuracies. In order to deal with this problem, [2] proposed to use random extraction consistency [4] (RANSAC) to eliminate unreliable images to achieve better calibration results, but due to some shortcomings of standard RANSAC are as follows: (1) Standard RANSAC The running time is longer than theoretically predicted [5]. (2) It assumes that the model obtained from the interior points is consistent with all interior points. This assumption is usually not true, because interior points are sometimes affected by noise. Therefore, the number of interior points obtained by RANSAC has a certain degree of randomness, which is different from the theoretical interior points, and the obtained model is of course not the same as the theory.
相关参考文献:Related references:
[1]S.Bougnoux,“From projective to euclidean space under any practicalsituation,a criticism of self-calibration,”Proc.IEEE.International Conferenceon Computer Vision(ICCV 98),IEEE.CS Pess.Dec.1998,pp.790–796,doi:10.1109/ICCV.1998.710808.[1] S. Bougnoux, "From projective to euclidean space under any practical situation, a criticism of self-calibration," Proc.IEEE.International Conference on Computer Vision (ICCV 98), IEEE.CS Pess.Dec.1998, pp.790 –796, doi:10.1109/ICCV.1998.710808.
[2]Y.Lv,J.Feng,Z.Li,W.Li and J.Cao.“A New Robust 2D CameraCalibration Method using RANSAC,”Optik-International Journal for Light andElectron Optics,vol.126,Dec.2015,pp.4910–4915.[2] Y.Lv, J.Feng, Z.Li, W.Li and J.Cao. "A New Robust 2D CameraCalibration Method using RANSAC," Optik-International Journal for Light and Electron Optics, vol.126, Dec.2015 , pp. 4910–4915.
[3]Z.Zhang,“A Flexible New Technique for Camera Calibration,”IEEETransactions on Pattern Analysis and Machine Intelligence,vol.22,Dec.2000,pp.1330–1334,doi:10.1109/34.888718.[3] Z. Zhang, "A Flexible New Technique for Camera Calibration," IEEE Transactions on Pattern Analysis and Machine Intelligence, vol.22, Dec.2000, pp.1330–1334, doi:10.1109/34.888718.
[4]M.A.Fischler and R.C.Bolles,“Random Sample Consensus:A Paradigmfor Model Fitting with Applications to Image Analysis and AutomatedCartography,”Communications of the ACM,vol.24,Dec.1981,pp.381–395.[4] M.A.Fischler and R.C.Bolles, "Random Sample Consensus: A Paradigm for Model Fitting with Applications to Image Analysis and Automated Cartography," Communications of the ACM, vol.24, Dec.1981, pp.381–395.
[5]B.Tordoff and D.W.Murray,“Guided Sampling and Consensus for MotionEstimation,”Proc.European Conference on Computer Vision(ECCV 02),Springer-Verlag Press,Dec.2002,pp.82–96.doi:10.1007/3-540-47969-4_6.[5] B.Tordoff and D.W.Murray, "Guided Sampling and Consensus for MotionEstimation," Proc. European Conference on Computer Vision (ECCV 02), Springer-Verlag Press, Dec.2002, pp.82–96.doi:10.1007/ 3-540-47969-4_6.
[6]O.Chum,J.Matas and J.Kittler,“Locally optimized RANSAC,”LectureNotes in Computer Science,vol.2781,Dec.2003,pp.236–243.[6] O.Chum, J.Matas and J.Kittler, “Locally optimized RANSAC,” Lecture Notes in Computer Science, vol.2781, Dec.2003, pp.236–243.
[7]D.C.Brown,“Close-range Camera Calibration,”Photogramm Eng,vol.37,Dec.2002,pp.855–866.[7] D.C. Brown, "Close-range Camera Calibration," Photogramm Eng, vol.37, Dec.2002, pp.855–866.
[8]J.Salvi,X.Armangue and J.Batlle,“A Comparative Review of Cam-eraCalibrating Methods with Accuracy Evaluation,”Pattern Recognition,vol.35,Dec.2002,pp.1617–1635.[8] J.Salvi, X.Armangue and J.Batlle, "A Comparative Review of Cam-era Calibrating Methods with Accuracy Evaluation," Pattern Recognition, vol.35, Dec.2002, pp.1617–1635.
[9]R.Hartley and A.Zisserman,Multiple View Geometry in ComputerVision,2nd ed.,vol.30.Cambridge University Press,2003,pp.1865–1872.[9]R.Hartley and A.Zisserman,Multiple View Geometry in ComputerVision,2nd ed.,vol.30.Cambridge University Press,2003,pp.1865–1872.
[10]http://www.vision.caltech.edu/bouguetj/calib_doc/.[10] http://www.vision.caltech.edu/bouguetj/calib_doc/.
发明内容Contents of the invention
针对传统的基于二维模型的标定方法需要从不同的角度采取图像,标定的精度受采集角度,采集距离,特征点的定位的影响,本发明提供了一种用局部优化的随机抽取一致性来提高张正友相机标定法准确性的方法。In view of the fact that the traditional two-dimensional model-based calibration method needs to take images from different angles, and the calibration accuracy is affected by the acquisition angle, acquisition distance, and the location of feature points, the present invention provides a random extraction consistency using local optimization A method to improve the accuracy of Zhang Zhengyou's camera calibration method.
本发明技术方案提出一种基于二维标定物的相机标定方法,进行标定图像优选的基础上实现相机标定,包括以下步骤,The technical solution of the present invention proposes a camera calibration method based on a two-dimensional calibration object, and realizes camera calibration on the basis of optimizing calibration images, including the following steps,
步骤1,准备平面标定板;Step 1, prepare a plane calibration plate;
步骤2,用相机采集平面标定板每个角度的图像,设得到J幅图像;Step 2, use the camera to collect the images of each angle of the plane calibration plate, and obtain J images;
步骤3,对每幅图像进行角点提取,计算每幅图像对应的单应性矩阵,记为Hj,其中j为图像序号,取值为1,2,3,…,J;Step 3, extract the corner points of each image, and calculate the corresponding homography matrix of each image, denoted as Hj, where j is the image serial number, and the value is 1, 2, 3, ..., J;
步骤4,初始化随机抽取一致性的参数,包括取理论迭代次数k为∞,初始的实际迭代次数为i=0,最好的内点集为bestSub=[],最好的内点数为bestNin=0;[]表示空集;Step 4, initialize the parameters of random extraction consistency, including taking the theoretical iteration number k as ∞, the initial actual iteration number as i=0, the best inlier set as bestSub=[], and the best inlier number as bestNin= 0; [] represents an empty set;
步骤5,从步骤3所得所有的单应性矩阵Hj中随机选取s个单应性矩阵,计算IAC,并判断每幅图像对应的单应性矩阵Hj与IAC之间的距离Dj,根据预设的相应阈值thr判断是否Dj<thr,是则认为Hj为内点,否则认为Hj为外点,得到内点集sub和内点数的总和Nin;其中s为最小采样点数;所述IAC代表K-TK-1,K是内参数;i=i+1;Step 5, randomly select s homography matrices from all homography matrices Hj obtained in step 3, calculate IAC, and judge the distance Dj between the homography matrix Hj corresponding to each image and IAC, according to the preset The corresponding threshold value thr judges whether Dj<thr, if it is, Hj is considered as an interior point, otherwise Hj is considered as an exterior point, and the sum Nin of the interior point set sub and the number of interior points is obtained; where s is the minimum number of sampling points; the IAC represents K- T K -1 , K is an internal parameter; i=i+1;
步骤6,判断是否Nin>bestNin,如果是,进入步骤7进行局部优化,否则返回步骤5;Step 6, judge whether Nin>bestNin, if yes, go to step 7 for local optimization, otherwise return to step 5;
步骤7,进行局部优化,包括以下子步骤,Step 7, perform local optimization, including the following sub-steps,
步骤7.1,初始化局部优化的次数d=10,初始化当前迭代中的局部最多内点数lobestNin=0,局部最好内点集lobestSub=[];Step 7.1, initialize the number of times of local optimization d=10, initialize the local maximum inlier number lobestNin=0 in the current iteration, and the local best inlier set lobestSub=[];
步骤7.2,令n=4,Nin=0,sub=[],从当前的内点集sub中随机选取slo个内点计算IAC,slo大于最小采样点数s,判断每幅图像对应的单应性矩阵Hj与IAC之间的距离Dj;Step 7.2, set n=4, Nin=0, sub=[], randomly select slo interior points from the current interior point set sub to calculate IAC, slo is greater than the minimum number of sampling points s, and determine the corresponding homography of each image The distance Dj between matrix Hj and IAC;
步骤7.3,根据给定的阈值thr的n倍进行IAC内点数的判断,包括判断是否Dj<n*thr,如果则这认为Hj为内点,否则认为Hj为外点,对每幅图像判断完成后,得到当前的内点集sub和内点数的总和Nin,令n=n-1;Step 7.3, according to n times of the given threshold thr, judge the number of IAC internal points, including judging whether Dj<n*thr, if so, consider Hj as an internal point, otherwise consider Hj as an external point, and complete the judgment for each image Afterwards, the sum Nin of the current interior point set sub and the number of interior points is obtained, so that n=n-1;
步骤7.4,判断是否n>1,如果否则进入步骤7.5,如果是则由当前的内点集sub计算IAC,返回步骤7.3;Step 7.4, judge whether n>1, if not, go to step 7.5, if yes, calculate IAC from the current interior point set sub, and return to step 7.3;
步骤7.5,判断Nin>lobestNin,若是,lobestNin=Nin,lobestSub=sub,进入步骤7.6,若否则进入步骤7.6;Step 7.5, judge Nin>lobestNin, if so, lobestNin=Nin, lobestSub=sub, go to step 7.6, otherwise go to step 7.6;
步骤7.6,d=d-1,判断是否d<1,如果否则返回步骤7.2,如果是则返回最终结果lobestSub,lobestNin;Step 7.6, d=d-1, judge whether d<1, if otherwise return to step 7.2, if yes then return the final result lobestSub, lobestNin;
步骤8,根据步骤7返回的结果,令bestNin=lobestNin,betSub=lobestsub,i=i+1;根据bestNin得出内点比ε=bestNin/J,更新理论迭代次数k,判断是否i>k,如果否则返回到步骤5,是则进入步骤9;Step 8, according to the result returned in step 7, set bestNin=lobestNin, betSub=lobestsub, i=i+1; get interior point ratio ε=bestNin/J according to bestNin, update the number of theoretical iterations k, and judge whether i>k, If otherwise, go back to step 5, if yes, go to step 9;
步骤9,根据bestSub中的所有内点估计IAC,去除外点对应的图像集,完成标定图像优选;根据标定图像优选结果进一步得到标定结果。Step 9: Estimate the IAC according to all inliers in bestSub, remove the image set corresponding to the outliers, and complete the calibration image optimization; further obtain the calibration result according to the calibration image optimization results.
而且,所述计算IAC按照下式进行,And, the calculation IAC is carried out according to the following formula,
h1 TK-TK-1h2=0h 1 T K -T K -1 h 2 =0
h1 TK-TK-1h1=h2 TK-TK-1h2 h 1 T K -T K -1 h 1 =h 2 T K -T K -1 h 2
其中,h1,h2是单应性矩阵H的列向量。Among them, h 1 , h 2 are the column vectors of the homography matrix H.
而且,所述判断每幅图像对应的单应性矩阵Hj与IAC之间的距离Dj按照下式进行,Moreover, the determination of the distance Dj between the homography matrix Hj corresponding to each image and the IAC is performed according to the following formula,
其中,d为距离,B=K-TK-1,h30=h1-h2,h40=h1+h2,Bhi是B与hi的积,i=1,2,30,40,Bhi(1)代表Bh的第一个元素,Bhi(2)代表Bh的第二个元素。Where, d is the distance, B=K -T K -1 , h 30 =h 1 -h 2 , h 40 =h 1 +h 2 , Bh i is the product of B and h i , i=1,2,30 ,40, Bh i (1) represents the first element of Bh, and Bh i (2) represents the second element of Bh.
而且,所述更新理论迭代次数k按照下式进行,Moreover, the update theoretical iteration number k is carried out according to the following formula,
其中,ε是内点的比例,η是给定的相应阈值。where ε is the proportion of inliers and η is the given corresponding threshold.
而且,thr优选为2*10-5。Also, thr is preferably 2*10 -5 .
而且,J为20。Also, J is 20.
而且,s为2,slo=min(4,Nin)。Also, s is 2, and slo=min(4,Nin).
本发明提出,在相机标定之前首先进行标定图像优选,包括提出定义一个在单应性矩阵和绝对二次曲线的图像之间的距离,然后用局部优化的随机采样一致性(LO-RANSAC)来剔除不可靠的图像,消除RANSAC的随机性,从而可以获取稳定可靠的图像集,实现提升张正友二维平面的标定方法,获得更稳定可靠的标定精度,避免受采集角度、采集距离、特征点定位等因素的影响。从仿真实验和真实实验数据来看,应用本发明技术方案可以得到更好的标定结果,由于在标定之前就对不可靠图像进行准确筛选,使得张正友的二维平面标定方法执行精度和效率提高,系统资源消耗低,具有重要的市场价值。The present invention proposes to optimize the calibration image first before camera calibration, including proposing to define a distance between the homography matrix and the image of the absolute conic, and then use the locally optimized random sampling consistency (LO-RANSAC) to Eliminate unreliable images and eliminate the randomness of RANSAC, so that a stable and reliable image set can be obtained, and Zhang Zhengyou’s two-dimensional plane calibration method can be improved to obtain more stable and reliable calibration accuracy, and avoid being affected by acquisition angle, acquisition distance, and feature point positioning and other factors. From the simulation experiment and real experimental data, better calibration results can be obtained by applying the technical solution of the present invention. Since the unreliable images are accurately screened before calibration, the execution accuracy and efficiency of Zhang Zhengyou's two-dimensional plane calibration method are improved. The system resource consumption is low and has significant market value.
附图说明Description of drawings
图1为本发明实施例的流程原理图。Fig. 1 is a flow chart of an embodiment of the present invention.
图2为本发明实施例的局部优化随机抽取一致性流程原理图。FIG. 2 is a schematic diagram of a local optimization random extraction consistency process according to an embodiment of the present invention.
具体实施方式Detailed ways
以下结合附图和实施例详细说明本发明的具体实施方式。The specific implementation manner of the present invention will be described in detail below in conjunction with the accompanying drawings and examples.
相机的模型分为线性的模型和非线性的模型,基于二维标定板的线性的模型表示如下:The camera model is divided into linear model and nonlinear model. The linear model based on the two-dimensional calibration plate is expressed as follows:
其中m是比例因子,这里K是内参数,其中,fx,fy表示相机的焦距,为像素单位;(u0,v0)是图像中心的像素坐标;r1,r2是旋转矩阵的列向量且t是从参考坐标系到相机的坐标系的平移向量;(X,Y)是标定板的世界坐标;(u,v)是标定板对应的成像点的像素坐标.假设(X,Y)和(u,v)是已知的,本发明很容易得到标定板的世界坐标和像素坐标之间的单应性矩阵H,它为一个3*3的矩阵,其中h11,h12...,h33分别为H的元素。每幅图像都可以得到一个单应性矩阵。Where m is a scale factor, here K is an internal parameter, where f x , f y represent the focal length of the camera in pixel units; (u 0 , v 0 ) are the pixel coordinates of the image center; r 1 , r 2 are rotation matrices and t is the translation vector from the reference coordinate system to the camera coordinate system; (X, Y) is the world coordinate of the calibration board; (u, v) is the pixel coordinate of the imaging point corresponding to the calibration board. Suppose (X , Y) and (u, v) are known, the present invention can easily obtain the homography matrix H between the world coordinates of the calibration plate and the pixel coordinates, which is a 3*3 matrix, where h 11 , h 12 ..., h 33 are elements of H respectively. Each image can get a homography matrix.
相机的镜头畸变可以被分为以下三类:径向畸变,偏心畸变和薄棱镜畸变,其中径向畸变占比最大,并且主要被径向畸变的第一项所影响[7],因此本发明只考虑径向畸变的第一项,对于其它畸变也同样适用。并且更多的畸变考虑也不会提高畸变的精度[8]。畸变模型如下:The lens distortion of camera can be divided into following three categories: radial distortion, eccentric distortion and thin prism distortion, wherein radial distortion accounts for the largest, and is mainly affected by the first item of radial distortion [7], so the present invention Only the first item of radial distortion is considered, and it is also applicable to other distortions. And more distortion considerations will not improve distortion accuracy [8]. The distortion model is as follows:
这里r=(x+y)2,(x,y)是理想的图像坐标,(ud,vd)是畸变了的像素坐标。k1是径向畸变的系数,非线性模型是为了剔除相机的镜头畸变得到正确的线性模型,然后使用线性模型来恢复相机的参数。Here r=(x+y) 2 , (x, y) are ideal image coordinates, and (u d , v d ) are distorted pixel coordinates. k 1 is the coefficient of radial distortion, and the nonlinear model is to eliminate the lens distortion of the camera to obtain a correct linear model, and then use the linear model to restore the parameters of the camera.
在机器视觉,RANSAC广泛应用于从受粗大误差污染的数据集中来估计一个模型.首先随机选取一个最小子集的数据集来估计模型参数,然后计算数据点到模型的距离,那些离模型距离小于给定阈值的点认为是内点,内点越多的模型认为它越好。随机抽取的过程一直重复,直到比当前最好的模型找到更多内点的概率小于给定的阈值。即在k次采样中丢失一个内点集为s的样本的概率低于给定的相应阈值η。In machine vision, RANSAC is widely used to estimate a model from a data set polluted by gross errors. First, a smallest subset of the data set is randomly selected to estimate the model parameters, and then the distance between the data points and the model is calculated, and those distances from the model are less than Points with a given threshold are considered inliers, and the model with more inliers considers it better. The process of random selection is repeated until the probability of finding more inliers than the current best model is less than a given threshold. That is, the probability of missing a sample with inlier set s in k samples is lower than the given corresponding threshold η.
其中ε是内点的比例。where ε is the proportion of interior points.
需要注意的是RANSAC方法假设从内点里面得到的模型是与所有的内点是一致的,这个假设不正确的,因为内点也会被噪声影响,所以,RANSAC找到正确模型的时间要大于k次[5]。而且,RANSAC选择最小的样本来计算模型,因此噪声的影响对计算的模型的精确性影响会更大,这导致RANSAC找到的内点数比理论值更小,并且不稳定。It should be noted that the RANSAC method assumes that the model obtained from the interior point is consistent with all interior points. This assumption is incorrect, because the interior point will also be affected by noise, so the time for RANSAC to find the correct model is greater than k times [5]. Moreover, RANSAC selects the smallest sample to calculate the model, so the impact of noise will have a greater impact on the accuracy of the calculated model, which leads to the number of internal points found by RANSAC being smaller than the theoretical value and unstable.
为了处理RANSAC的这个问题,文献[6]提出了LO-RANSAC,它通过局部优化RANSAC每步中达到的最好模型,可以消除内点的噪声影响,可以获得稳定的,更精确的模型。因此本发明提出采用LO-RANSAC来剔除相机采集的不可靠的图像,从而获得稳定的,高精度的标定效果。在本发明中,当RANSAC到达每个当前最好的模型时,进行一次局部优化操作。In order to deal with this problem of RANSAC, the literature [6] proposes LO-RANSAC, which can eliminate the noise influence of internal points by locally optimizing the best model achieved in each step of RANSAC, and can obtain a stable and more accurate model. Therefore, the present invention proposes to use LO-RANSAC to eliminate unreliable images collected by the camera, so as to obtain a stable and high-precision calibration effect. In the present invention, when RANSAC reaches each current best model, a local optimization operation is performed.
局部优化使用一个内部RANSAC,加一个迭代,这在下面的两个段落里面进行解释。Local optimization uses an internal RANSAC, plus an iteration, which is explained in the next two paragraphs.
内部RANSAC:当RANSAC在第kth次迭代中到达了最好的模型,采样从最好的模型的内点集中选取,因此,这个采样的样本大小可以不为最小,实验显示越大的采样样本来估计模型,模型的精度越高[6]。Internal RANSAC: When RANSAC reaches the best model in the kth iteration, sampling is selected from the interior point set of the best model. Therefore, the sample size of this sampling may not be the minimum. Experiments show that the larger the sampling sample is Estimated model, the higher the accuracy of the model [6].
在内部RANSAC后,为了得到更可靠的结果,再使用一个迭代框架:使用所有的比一个更大的阈值n*thr小的点进行最小二乘法来估计模型,n为整数,再依次减小n并且迭代直到阈值为thr。这个迭代是因为使用最小二乘法时,一个误差粗大的数据点将会导致估计的模型的错误,在迭代中,每个采样点的距离都小于给定的阈值,因此没有误差很粗大的数据点。After the internal RANSAC, in order to get more reliable results, use an iterative framework: use all points smaller than a larger threshold n*thr to estimate the model by least squares, n is an integer, and then reduce n in turn And iterate until the threshold is thr. This iteration is because when using the least squares method, a data point with a coarse error will lead to an error in the estimated model. In the iteration, the distance of each sampling point is smaller than the given threshold, so there is no data point with a coarse error. .
内部RANSAC加上最小二乘法的迭代会减少内点的噪声的影响,因此可以得到更加精确和稳定的模型。The iteration of the internal RANSAC plus the least squares method will reduce the influence of the noise of the internal point, so a more accurate and stable model can be obtained.
在张正友的基于平面标定的方法中,标定结果受限于采集的图像的质量,在[3]中显示,最好的标定结果是在图像与标定板平面的角度为45度的时候,当角度增加时,透视畸变会让角点提取更不精确,不同的距离,也会导致角点提取的精确性。所有这些可以影响采样的图像的质量,不同的采样图像集将导致标定的精确性不一致。为了剔除这些不可靠的图像,得到最优的图像集,本发明使用LO-RANSAC来除去不可靠的图像。正如前面所说,LO-RANSAC可以减少RANSAC的随机性,可以得到更多的,更可靠的图像集,进而得到更加准确的标定参数。In Zhang Zhengyou’s method based on plane calibration, the calibration results are limited by the quality of the collected images. It is shown in [3] that the best calibration results are when the angle between the image and the plane of the calibration plate is 45 degrees. When the angle When increasing, the perspective distortion will make the corner point extraction more imprecise, and different distances will also lead to the accuracy of corner point extraction. All of these can affect the quality of the sampled images, and different sets of sampled images will lead to inconsistent calibration accuracy. In order to eliminate these unreliable images and obtain an optimal image set, the present invention uses LO-RANSAC to remove unreliable images. As mentioned earlier, LO-RANSAC can reduce the randomness of RANSAC, and can get more and more reliable image sets, and then get more accurate calibration parameters.
在张正友的标定中,2个约束条件如下:In Zhang Zhengyou's calibration, the two constraints are as follows:
其中h1,h2是单应性矩阵H的列向量,即h1=(h11 h21 h31)T,h2=(h12 h22 h32)T因此,至少需要两个方程(5)来计算K-TK-1,在文献[9],K-TK-1被称作绝对二次曲线的像(IAC,imageof the absolute conic),本发明不需要知道IAC的具体含义,本发明只需要知道它代表K- TK-1,在解出它后,方程(1)的封闭解可以得到。最终,这个封闭解作为初值,并考虑镜头畸变,用列温伯格算法进行非线性优化.因此,这个IAC的求解对初值的影响很大,不合理的初值容易导致非限制性优化陷入局部最优解。文献[2]定义了一个IAC和单应性矩阵之间距离如下:Where h 1 , h 2 are the column vectors of the homography matrix H, that is, h 1 =(h 11 h 21 h 31 ) T , h 2 =(h 12 h 22 h 32 ) T Therefore, at least two equations ( 5) To calculate K -T K -1 , in literature [9], K -T K -1 is called the image of the absolute conic (IAC, imageof the absolute conic), the present invention does not need to know the specific meaning of IAC , the present invention only needs to know that it represents K - T K -1 , after solving it, the closed solution of equation (1) can be obtained. In the end, this closed solution is used as the initial value, and lens distortion is considered, and the Lewenberg algorithm is used for nonlinear optimization. Therefore, the solution of this IAC has a great influence on the initial value, and an unreasonable initial value can easily lead to unrestricted optimization. Stuck in a local optimum. Literature [2] defines the distance between an IAC and the homography matrix as follows:
其中,d为距离,B=K-TK-1,h30=h1-h2,h40=h1+h2,Bhi是B与hi的积,i=1,2,30,40。并且Bhi(1)代表Bh的第一个元素,Bhi(2)代表Bh的第二个元素,具体实施时阈值是可根据仿真给定的,在本发明实施例中thr优选为2*10-5。为了剔除不可靠的图像,本发明提出利用此距离进行筛选。Where, d is the distance, B=K -T K -1 , h 30 =h 1 -h 2 , h 40 =h 1 +h 2 , Bh i is the product of B and h i , i=1,2,30 ,40. And Bh i (1) represents the first element of Bh, Bh i (2) represents the second element of Bh, the threshold value can be given according to the simulation during specific implementation, thr is preferably 2* in the embodiment of the present invention 10-5 . In order to eliminate unreliable images, the present invention proposes to use this distance for screening.
本发明进一步进行设计,提出的实现方案原理如下:The present invention is designed further, and the realization scheme principle that proposes is as follows:
1.从不同的角度采集标定板的足够的照片,优选采用20幅以上;1. Collect enough photos of the calibration board from different angles, preferably more than 20;
2.对每个图像提取角点,并且计算每幅图像的单应性矩阵;2. Extract the corner points for each image, and calculate the homography matrix of each image;
3.设置参数:s=2,ε=0,k=∞,thr=2*10-5,i=1;3. Setting parameters: s=2, ε=0, k=∞, thr=2*10 -5 , i=1;
4.随机抽取s张图像并计算IAC:K-TK-1;4. Randomly select s images and calculate IAC:K -T K -1 ;
5.根据给定的阈值thr根据式(6)计算判断每幅图像对应的单应性矩阵与IAC之间的距离,确定IAC的内点数Nin,即与IAC一致的图像集,更新内点比例ε。5. Calculate and judge the distance between the homography matrix corresponding to each image and IAC according to the given threshold thr according to formula (6), determine the number of interior points Nin of IAC, that is, the image set consistent with IAC, and update the proportion of interior points ε.
6.,如果更大的内点数发现了,进行局部优化。6. If a larger number of internal points is found, perform local optimization.
7.通过式(4)更新所需的采样次数如果i>k,转到第8步;否则i=i+1,转到第4步;7. if i>k, go to the 8th step by the required number of samplings of formula (4) renewal; Otherwise i=i+1, go to the 4th step;
8.RANSAC结束后,用来标定的图像的子集就确定了。然后用张正友的方法来标定相机的参数。8. After RANSAC ends, the subset of images used for calibration is determined. Then use Zhang Zhengyou's method to calibrate the parameters of the camera.
参见图1,实施例的具体流程实现说明如下:Referring to Figure 1, the implementation of the specific process of the embodiment is described as follows:
1.首先准备平面标定板,实施例采用12*13个棋盘格,每个棋盘格的尺寸为30mm,那么每个棋盘格的世界坐标(X,Y)即相应已知。1. First prepare a plane calibration board, the embodiment uses 12*13 checkerboards, the size of each checkerboard is 30mm, then the world coordinates (X, Y) of each checkerboard are known accordingly.
2.将棋盘格放在不同的角度,用相机采集每个角度的图像。设得到J幅图像,实施例中,采集得到20幅图像。2. Place the checkerboard at different angles, and use the camera to collect images from each angle. Assuming that J images are obtained, in the embodiment, 20 images are collected.
3.对每幅图像进行角点提取,得出棋盘格角点的像素坐标(u,v),根据每幅图像的棋盘格对应的像素坐标(u,v)和世界坐标(X,Y),根据式(2)计算每幅图像对应的单应性矩阵,记为Hj(j=1,2,3,…,20),其中j为图像序号,取值为1,2,3,…,J。3. Extract the corner points of each image to obtain the pixel coordinates (u, v) of the corner points of the checkerboard, according to the pixel coordinates (u, v) and world coordinates (X, Y) corresponding to the checkerboard of each image , calculate the homography matrix corresponding to each image according to formula (2), denoted as Hj (j=1,2,3,...,20), where j is the image number, the value is 1,2,3,... ,J.
4.初始化随机抽取一致性的参数,包括取理论迭代次数k为∞,初始的实际迭代次数为i=0,最好的内点集为bestSub=[],最好的内点数为bestNin=0。[]表示空集。4. Initialize the parameters of random extraction consistency, including taking the theoretical iteration number k as ∞, the initial actual iteration number as i=0, the best inlier set as bestSub=[], and the best inlier number as bestNin=0 . [ ] represents an empty set.
5.进行随机抽取一致性的迭代,从所有的图像集对应的单应性矩阵Hj(j=1,2,3,…,20)中随机选取s=2个单应性矩阵Hj(s为最小采样点数,实施例中记此处j=r1,r2,1<=r1<=20,1<=r2<=20,r1!=r2),根据式(5)计算IAC,并根据式(6)判断每幅图像对应的单应性矩阵Hj与IAC之间的距离Dj(j=1,2,3,…,20),根据预定的相应阈值thr判断是否Dj<thr。如果是,认为Hj为内点,否则认为Hj为外点。内点集为sub=(Hj|Hj是内点),计算内点数的总和Nin。并且i=i+1。5. Carry out iterations of random extraction consistency, randomly select s=2 homography matrices Hj (s is Minimum number of sampling points, note here j=r1, r2 in the embodiment, 1<=r1<=20, 1<=r2<=20, r1!=r2), calculate IAC according to formula (5), and according to formula ( 6) Judging the distance Dj (j=1, 2, 3, . If yes, consider Hj to be an interior point, otherwise consider Hj to be an exterior point. The interior point set is sub=(Hj|Hj is the interior point), and the sum Nin of interior points is calculated. And i=i+1.
本流程中所述IAC代表K-TK-1,K是内参数。The IAC mentioned in this process represents K -T K -1 , and K is an internal parameter.
具体判断流程可设计为,初始化j=1,sub=[],然后判断是否Dj<thr,若否则Hj为外点,j=j+1,若是则Nin=Nin+1,sub=(sub+Hj),Hj为内点,j=j+1,然后判断是否j>20,若否则返回至针对当前j判断是否Dj<thr,若是则进入步骤6。The specific judgment process can be designed as, initializing j=1, sub=[], then judge whether Dj<thr, if otherwise Hj is an out-point, j=j+1, if so then Nin=Nin+1, sub=(sub+ Hj), Hj is the interior point, j=j+1, then judge whether j>20, if not, return to judge whether Dj<thr for the current j, if so, go to step 6.
6.判断是否Nin>bestNin,如果是,进入步骤7进行局部优化,否则返回步骤5,重新进行随机抽取等处理。6. Determine whether Nin>bestNin, if yes, go to step 7 for local optimization, otherwise return to step 5, and perform random extraction and other processing again.
7.局部优化采用LO-RANSAC方式实现,包括以下子步骤,参见图2:7. Local optimization is implemented by LO-RANSAC, including the following sub-steps, see Figure 2:
7.1,初始化局部优化的次数d=10,初始化当前迭代中的局部最多内点数lobestNin=0,局部最好内点集lobestSub=[];7.1, initialize the number of times of local optimization d=10, initialize the local maximum inlier number lobestNin=0 in the current iteration, and the local best inlier set lobestSub=[];
7.2,令n=4,Nin=0,sub=[],n为阈值的倍数;从当前的内点集sub中随机选取大于最小采样点数s的内点集slo个内点来估计IAC,本实施例选择slo=min(4,Nin)幅图像对应的Hj,根据式(5)计算IAC,并根据式(6)判断每幅图像对应的单应性矩阵Hj与IAC之间的距离Dj,j=1,2,3,…,20。7.2, let n=4, Nin=0, sub=[], n is the multiple of the threshold; from the current interior point set sub, randomly select the interior points of the interior point set slo greater than the minimum number of sampling points s to estimate the IAC, this The embodiment selects Hj corresponding to slo=min (4, Nin) images, calculates IAC according to formula (5), and judges the distance Dj between the homography matrix Hj corresponding to each image and IAC according to formula (6), j = 1, 2, 3, . . . , 20.
7.3,根据给定的阈值thr的n倍来进行IAC内点数的判断,包括判断是否Dj<n*thr,*表示乘以,如果是,认为Hj为内点,否则认为Hj为外点。其中n的初始值为预设的倍数,随后迭代中逐步减小。对每幅图像判断完成后,得到当前的内点集sub,实现计算内点数的总和Nin,令n=n-1,进入下一步骤7.4。7.3. Judging the number of internal points in IAC according to n times the given threshold value thr, including judging whether Dj<n*thr, * means multiplying, if yes, consider Hj as an internal point, otherwise consider Hj as an external point. The initial value of n is a preset multiple, and gradually decreases in subsequent iterations. After the judgment of each image is completed, the current inlier set sub is obtained, and the sum Nin of inlier numbers is calculated, and n=n-1 is set, and the next step 7.4 is entered.
流程可设计为,初始化j=1,判断是否Dj<n*thr,如否则Hj为外点,j=j+1,若是则Nin=Nin+1,Hj为内点,然后令j=j+1,sub=sub+Hj;然后判断是否j>20,是则n=n-1,进入下一步骤7.4,否则返回针对当前j继续判断是否Dj<n*thr。The process can be designed as follows: initialize j=1, judge whether Dj<n*thr, if not, Hj is an outpoint, j=j+1, if so, then Nin=Nin+1, Hj is an inpoint, and then set j=j+ 1, sub=sub+Hj; then judge whether j>20, if yes, n=n-1, enter the next step 7.4, otherwise return to continue to judge whether Dj<n*thr for the current j.
7.4,判断是否n>1,如果否,进入步骤7.5,如果是,由当前的内点集根据式(5)来计算IAC,返回步骤7.3;7.4, judge whether n>1, if not, enter step 7.5, if yes, calculate IAC according to formula (5) from the current interior point set, return to step 7.3;
7.5,判断是否Nin>lobestNin,若是,lobestNin=Nin,lobestSub=sub,进入步骤7.6,若否进入步骤7.6。7.5. Determine whether Nin>lobestNin, if yes, lobestNin=Nin, lobestSub=sub, go to step 7.6, if not go to step 7.6.
7.6,d=d-1,判断是否d<1,如果否则返回步骤7.2,如果是则返回最终结果lobestSub,lobestNin。7.6, d=d-1, judge whether d<1, if not, return to step 7.2, if yes, return the final results lobestSub, lobestNin.
8.根据步骤7返回的结果,令bestNin=lobestNin,betSub=lobestsub,根据bestNin得出内点比εbestNin/20,根据式(4)更新理论迭代次数k,判断是否i>k,如果否,则返回到步骤5,是则进入步骤9。8. According to the result returned in step 7, set bestNin=lobestNin, betSub=lobestsub, obtain the interior point ratio εbestNin/20 according to bestNin, update the theoretical iteration number k according to formula (4), and judge whether i>k, if not, then Return to step 5, if yes, go to step 9.
9.将bestSub中的所有内点,用来估计IAC,去除外点对应的图像集,完成标定图像优选。根据标定图像优选结果进一步得到标定结果,包括进一步得到线性解,将线性解作为相机模型的初值,考虑一阶径向畸变,用最大似然进行优化得到最终的相机模型标定参数。流程结束,返回标定结果,及反投影误差。9. Use all the internal points in bestSub to estimate IAC, remove the image set corresponding to the external points, and complete the calibration image optimization. According to the optimization results of the calibration image, the calibration results are further obtained, including further obtaining the linear solution, which is used as the initial value of the camera model, considering the first-order radial distortion, and optimized by maximum likelihood to obtain the final camera model calibration parameters. At the end of the process, the calibration result and the back-projection error will be returned.
具体实施时,以上技术方案可采用计算机软件技术实现自动运行流程。During specific implementation, the above technical solutions can use computer software technology to realize the automatic operation process.
为验证本发明实施例技术效果,进行了仿真实验:In order to verify the technical effect of the embodiment of the present invention, a simulation experiment has been carried out:
如果随机选取相机参数来进行仿真实验,噪声的影响很大,可能会导致非实数的参数解,因此本发明实验采用从文献[10]里面的实际实验数据得到的标定结果作为相机的参数,选取的内参数如下:If the camera parameters are randomly selected for the simulation experiment, the impact of noise is great, which may lead to non-real parameter solutions. Therefore, the experiment of the present invention uses the calibration results obtained from the actual experimental data in the literature [10] as the camera parameters. The internal parameters are as follows:
fx=657.384416175761;f x = 657.384416175761;
fy=658.058046335663;f y =658.058046335663;
u0=303.625818604402;u 0 =303.625818604402;
v0=244.843359357986. v0 = 244.843359357986.
外参数是旋转矩阵r和平移向量t,在这里旋转矩阵r是用罗德里格斯矩阵表示,为3维的向量。20副不同的旋转矩阵和平移向量用表1和表2代表。本发明实验把镜头畸变设为0,合成的象棋标定板有12×13=144个角点,棋盘格大小为30mm×30mm。使用这些参数,本发明实验可以产生合成的标定板角点的图像坐标。最后本发明实验合成的图像坐标和世界坐标用来仿真标定算法。The external parameters are the rotation matrix r and the translation vector t, where the rotation matrix r is represented by a Rodrigues matrix, which is a 3-dimensional vector. 20 different rotation matrices and translation vectors are represented by Table 1 and Table 2. In the experiment of the present invention, the lens distortion is set to 0, and the synthetic chess calibration board has 12*13=144 corner points, and the size of the checkerboard is 30mm*30mm. Using these parameters, the experiment of the present invention can generate the image coordinates of the corner points of the synthetic calibration plate. Finally, the image coordinates and world coordinates synthesized by the experiment of the present invention are used to simulate the calibration algorithm.
表1旋转向量RTable 1 Rotation vector R
角点的图像坐标加入了均值为0,方差为以每步0.1的像素值增长的从0到1的像素噪声。计算了IAC与单应性矩阵之间的距离。实际中的噪声为0.2像素,所以本发明实验把thr设为2*10-5。接下来,本发明实验以方差为以每步0.2像素,从0到4像素增长的噪声加入图像坐标中。在每个噪声水平,RANSAC和本发明方法各执行100次。标定结果的平均误差中,包括fx和fy的平均相对误差,u0和v0的绝对误差。通过实验可以看到平均误差中,本发明方法所得结果是小于RANSAC,特别是u0,v0。这说明本发明的方法可以得到更精确的标定效果。标定结果的标准差中,包括包括fx和fy的相对误差的标准差,u0和v0的误差的标准差。通过实验可以看到标准差中,本发明方法所得结果是小于RANSAC,特别是u0,v0。这说明本发明的方法可以得到更稳定的标定效果。The image coordinates of the corner points are added with a mean of 0 and a variance of pixel noise from 0 to 1 that increases with a pixel value of 0.1 per step. The distance between the IAC and the homography matrix was calculated. The actual noise is 0.2 pixels, so the experiment of the present invention sets thr as 2*10 -5 . Next, in the experiment of the present invention, the noise that increases from 0 to 4 pixels with a variance of 0.2 pixels per step is added to the image coordinates. At each noise level, RANSAC and the method of the present invention were performed 100 times each. The average error of the calibration result includes the average relative error of f x and f y , and the absolute error of u 0 and v 0 . It can be seen through experiments that the average error obtained by the method of the present invention is smaller than that obtained by RANSAC, especially u 0 , v 0 . This shows that the method of the present invention can obtain a more accurate calibration effect. The standard deviation of the calibration results includes the standard deviation of the relative errors of f x and f y , and the standard deviation of the errors of u 0 and v 0 . It can be seen through experiments that the standard deviation obtained by the method of the present invention is smaller than that obtained by RANSAC, especially u 0 , v 0 . This shows that the method of the present invention can obtain a more stable calibration effect.
表2平移向量TTable 2 Translation vector T
为验证本发明实施例技术效果,进行了真实实验:In order to verify the technical effect of the embodiment of the present invention, a real experiment was carried out:
在这部分,本发明使用来自[10]的20幅图像来标定。由于不知道真实的实验数据,本发明使用平均反投影误差(将世界坐标点用标定得到的相机参数反投影到图像的像素坐标,并计算其与提取到的角点之间的误差)来代表标定的精度。RANSAC和本发明方法所得结果运行了100次。平均反投影误差和误差的方差显示在表3。可以从表3看到,LO-RANSAC的平均误差和方差都比RANSAC小,所以本发明方法可以得到一个比RANSAC更精确和更稳定的标定结果。In this part, the present invention uses 20 images from [10] for calibration. Since the real experimental data is not known, the present invention uses the average back-projection error (the world coordinate point is back-projected to the pixel coordinate of the image with the camera parameters obtained by calibration, and the error between it and the extracted corner point is calculated) to represent Calibrated accuracy. The results obtained by RANSAC and the method of the present invention were run 100 times. The average backprojection error and the variance of the error are shown in Table 3. It can be seen from Table 3 that the average error and variance of LO-RANSAC are smaller than RANSAC, so the method of the present invention can obtain a more accurate and stable calibration result than RANSAC.
表3真实实验结果Table 3 real experimental results
相机标定是计算机视觉中的基础问题,特别是在视觉测量中。测量的精确性很大程度上依赖于标定的精度,标定的精度是被实验条件和标定方法所限制的。在这里,本发明使用了局部优化的RANSAC来剔除不可靠的图像。本发明方法所得结果通过定义一个IAC和单应性矩阵之间的距离,在RANSAC达到最好的模型的时候进行局部优化,局部优化可以消除RANSAC受内点噪声影响的随机性,继而可以得到最优的图像集,得到最优的标定结果。仿真实验和真实实验证明本发明的方法是比传统的方法更精确,更稳定的。Camera calibration is a fundamental problem in computer vision, especially in vision measurement. The accuracy of measurement depends largely on the accuracy of calibration, which is limited by experimental conditions and calibration methods. Here, the present invention uses locally optimized RANSAC to reject unreliable images. The result obtained by the method of the present invention defines the distance between an IAC and the homography matrix, and performs local optimization when RANSAC reaches the best model. The local optimization can eliminate the randomness that RANSAC is affected by interior point noise, and then the optimal model can be obtained. The best image set can get the best calibration results. Simulation experiments and real experiments prove that the method of the present invention is more accurate and more stable than traditional methods.
以上所述均为本发明的较佳实施例,并不限于本实施例,凡在本实施例的精神和原则之内所做的修改、替换、改进等,均应包含在本专利的保护范围之内。All the above are preferred embodiments of the present invention, and are not limited to this embodiment. All modifications, replacements, improvements, etc. made within the spirit and principles of this embodiment should be included in the scope of protection of this patent within.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710284292.XA CN107133986B (en) | 2017-04-26 | 2017-04-26 | A Camera Calibration Method Based on Two-Dimensional Calibration Object |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710284292.XA CN107133986B (en) | 2017-04-26 | 2017-04-26 | A Camera Calibration Method Based on Two-Dimensional Calibration Object |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107133986A CN107133986A (en) | 2017-09-05 |
CN107133986B true CN107133986B (en) | 2019-08-20 |
Family
ID=59716464
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710284292.XA Expired - Fee Related CN107133986B (en) | 2017-04-26 | 2017-04-26 | A Camera Calibration Method Based on Two-Dimensional Calibration Object |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107133986B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108234819B (en) * | 2018-01-30 | 2019-08-13 | 西安电子科技大学 | Video synchronization method based on homograph |
CN110345875B (en) * | 2018-04-04 | 2021-04-27 | 灵动科技(北京)有限公司 | Calibration and ranging method, device, electronic equipment and computer readable storage medium |
CN109099835A (en) * | 2018-07-02 | 2018-12-28 | 广西电网有限责任公司北海供电局 | Power line clamp measurement method and its system based on mobile telephone image |
CN109242910B (en) * | 2018-08-21 | 2021-10-08 | 电子科技大学 | A Monocular Camera Self-Calibration Method Based on Any Known Plane Shape |
CN113496517B (en) * | 2020-03-20 | 2025-01-10 | 华为技术有限公司 | Ultra-wide-angle distortion calibration method and device |
CN113103238B (en) * | 2021-04-26 | 2024-10-25 | 福建(泉州)先进制造技术研究院 | Hand-eye calibration method based on data optimization |
CN113470117B (en) * | 2021-06-28 | 2022-12-27 | 上海交通大学 | Unit attitude three-dimensional structured light calibration system and method based on spherical reverse perspective projection |
CN114820815B (en) * | 2022-04-27 | 2025-03-21 | 群周科技(上海)有限公司 | A camera calibration optimization method based on sample space |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200905610A (en) * | 2007-05-22 | 2009-02-01 | Microsoft Corp | Camera calibration |
WO2012034092A1 (en) * | 2010-09-09 | 2012-03-15 | Qualcomm Incorporated | Online reference generation and tracking for multi-user augmented reality |
CN102999759A (en) * | 2012-11-07 | 2013-03-27 | 东南大学 | Light stream based vehicle motion state estimating method |
CN104182969A (en) * | 2014-08-08 | 2014-12-03 | 河南科技大学 | Internal and external parameter calibration method of single-scanline camera |
CN104240233A (en) * | 2014-08-19 | 2014-12-24 | 长春理工大学 | Method for solving camera homography matrix and projector homography matrix |
CN105096328A (en) * | 2015-08-13 | 2015-11-25 | 北京理工大学 | Camera self-calibration method based on IOS-PSO (Internetwork Operating System-Particle Swarm Optimization) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9282326B2 (en) * | 2013-10-28 | 2016-03-08 | The Regents Of The University Of Michigan | Interactive camera calibration tool |
-
2017
- 2017-04-26 CN CN201710284292.XA patent/CN107133986B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200905610A (en) * | 2007-05-22 | 2009-02-01 | Microsoft Corp | Camera calibration |
WO2012034092A1 (en) * | 2010-09-09 | 2012-03-15 | Qualcomm Incorporated | Online reference generation and tracking for multi-user augmented reality |
CN102999759A (en) * | 2012-11-07 | 2013-03-27 | 东南大学 | Light stream based vehicle motion state estimating method |
CN104182969A (en) * | 2014-08-08 | 2014-12-03 | 河南科技大学 | Internal and external parameter calibration method of single-scanline camera |
CN104240233A (en) * | 2014-08-19 | 2014-12-24 | 长春理工大学 | Method for solving camera homography matrix and projector homography matrix |
CN105096328A (en) * | 2015-08-13 | 2015-11-25 | 北京理工大学 | Camera self-calibration method based on IOS-PSO (Internetwork Operating System-Particle Swarm Optimization) |
Non-Patent Citations (2)
Title |
---|
"Locally Optimized RANSAC";Ondřej Chum et al.;《SrpingerLink》;20031231;全文 |
"Plane-Based Calibration of Central Catadioptric Cameras";Simone Gasparini et al.;《IEEExplore》;20100506;全文 |
Also Published As
Publication number | Publication date |
---|---|
CN107133986A (en) | 2017-09-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107133986B (en) | A Camera Calibration Method Based on Two-Dimensional Calibration Object | |
CN112102458B (en) | Single-lens three-dimensional image reconstruction method based on laser radar point cloud data assistance | |
CN111260731B (en) | A Checkerboard Sub-pixel Level Corner Adaptive Detection Method | |
Moulon et al. | Adaptive structure from motion with a contrario model estimation | |
Lourenço et al. | sRD-SIFT: keypoint detection and matching in images with radial distortion | |
Prescott et al. | Line-based correction of radial lens distortion | |
CN104574347B (en) | Satellite in orbit image geometry positioning accuracy evaluation method based on multi- source Remote Sensing Data data | |
CN103106688B (en) | Based on the indoor method for reconstructing three-dimensional scene of double-deck method for registering | |
CN102075785B (en) | A method for correcting lens distortion of ATM wide-angle camera | |
CN105913489A (en) | Indoor three-dimensional scene reconstruction method employing plane characteristics | |
CN105654421B (en) | Based on the projective transformation image matching method for converting constant low-rank texture | |
CN107945217B (en) | A method and system for fast screening of image feature point pairs suitable for automatic assembly | |
CN116452644A (en) | Three-dimensional point cloud registration method and device based on feature descriptors and storage medium | |
CN103886595B (en) | A kind of catadioptric Camera Self-Calibration method based on broad sense unified model | |
CN108550166B (en) | Spatial target image matching method | |
CN102096915B (en) | Camera lens cleaning method based on precise image splicing | |
CN116309880A (en) | Object pose determining method, device, equipment and medium based on three-dimensional reconstruction | |
CN103679193A (en) | FREAK-based high-speed high-density packaging component rapid location method | |
CN114998448B (en) | A method for multi-constrained binocular fisheye camera calibration and spatial point positioning | |
CN113706635B (en) | Long-focus camera calibration method based on point feature and line feature fusion | |
CN111126418A (en) | An Oblique Image Matching Method Based on Plane Perspective Projection | |
CN113160285A (en) | Point cloud matching method based on local depth image criticality | |
CN114998773A (en) | Characteristic mismatching elimination method and system suitable for aerial image of unmanned aerial vehicle system | |
Remondino et al. | Evaluating hand-crafted and learning-based features for photogrammetric applications | |
CN116894876A (en) | 6-DOF positioning method based on real-time image |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190820 Termination date: 20210426 |