CN110285827B - Distance-constrained photogrammetry high-precision target positioning method - Google Patents
Distance-constrained photogrammetry high-precision target positioning method Download PDFInfo
- Publication number
- CN110285827B CN110285827B CN201910348852.2A CN201910348852A CN110285827B CN 110285827 B CN110285827 B CN 110285827B CN 201910348852 A CN201910348852 A CN 201910348852A CN 110285827 B CN110285827 B CN 110285827B
- Authority
- CN
- China
- Prior art keywords
- image
- target
- coordinates
- distance
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 229910000831 Steel Inorganic materials 0.000 claims abstract description 28
- 239000010959 steel Substances 0.000 claims abstract description 28
- 229910052738 indium Inorganic materials 0.000 claims abstract description 27
- APFVFJFRJDLVQX-UHFFFAOYSA-N indium atom Chemical compound [In] APFVFJFRJDLVQX-UHFFFAOYSA-N 0.000 claims abstract description 27
- 238000005259 measurement Methods 0.000 claims abstract description 15
- 238000012937 correction Methods 0.000 claims abstract description 11
- 239000011159 matrix material Substances 0.000 claims description 22
- 238000000354 decomposition reaction Methods 0.000 claims description 8
- 238000002271 resection Methods 0.000 claims description 5
- 230000008676 import Effects 0.000 claims description 2
- 238000004364 calculation method Methods 0.000 description 5
- 238000012360 testing method Methods 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000004568 cement Substances 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C11/00—Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
- G01C11/02—Picture taking arrangements specially adapted for photogrammetry or photographic surveying, e.g. controlling overlapping of pictures
-
- 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
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/11—Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/16—Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/50—Depth or shape recovery
- G06T7/55—Depth or shape recovery from multiple images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
- G06T2207/10012—Stereo images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30244—Camera pose
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Pure & Applied Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Computational Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Software Systems (AREA)
- Algebra (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Computing Systems (AREA)
- Operations Research (AREA)
- Manufacturing & Machinery (AREA)
- Multimedia (AREA)
- Image Analysis (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
本发明公开了一种距离约束的摄影测量高精度目标定位方法,该方法包括以下步骤:步骤1、相机内参数标定;步骤2、拍摄包含铟钢尺的目标图像;步骤3、目标点图像坐标量测;步骤4、采用最小二乘法计算目标点的三维坐标,作为目标点的物理坐标初始值;步骤5、图像外方位元素初始值获取;步骤6、计算距离约束的网平差;步骤7、平差迭代收敛判断,判断每次计算出的改正数,直到满足限差要求;得到目标点的高精度坐标。本发明的方法毋需单独布设控制点,可获得毫米级目标点位精度,方法简单、快速,减少了作业时间,测量速度快,极大提高了测量作业效率。
The invention discloses a distance-constrained photogrammetric high-precision target positioning method. The method comprises the following steps: step 1, camera internal parameter calibration; step 2, shooting a target image containing an indium steel ruler; step 3, target point image coordinates Measurement; step 4, using the least squares method to calculate the three-dimensional coordinates of the target point, as the initial value of the physical coordinates of the target point; step 5, obtaining the initial value of the orientation element outside the image; step 6, calculating the network adjustment of the distance constraint; step 7 , Adjustment iterative convergence judgment, judge the correction number calculated each time, until the tolerance requirement is met; obtain the high-precision coordinates of the target point. The method of the present invention does not need to separately arrange control points, and can obtain millimeter-level target point accuracy. The method is simple and fast, reduces working time, has fast measuring speed, and greatly improves measuring work efficiency.
Description
技术领域Technical Field
本发明涉及摄影测量和计算机视觉几何定位技术领域,尤其涉及一种距离约束的摄影测量高精度目标定位方法。The invention relates to the technical field of photogrammetry and computer vision geometric positioning, and in particular to a distance-constrained photogrammetry high-precision target positioning method.
背景技术Background Art
摄影测量目标定位是利用摄像机,通过获取被测量目标的图像,经处理后而得到被摄物体的几何和位置信息,具有非接触性、速度快、可同时获取众多观测目标、精度高等优点。已经从航空摄影测量领域扩展到了考古(古文物、古建筑等)、生物医学、工业测量等众多领域。而其主要的缺陷在于,仅仅利用图像构建的测量目标在尺寸大小、相互距离等几何信息方面都是相对的,即利用图像构建的三维模型与实际物体是相似的,存在一个比例缩放。要想得到被测目标的绝对几何信息,就要依赖与外部控制点。一般的做法是利用其它测量工具(全站仪、激光扫描仪、激光跟踪仪等)观测少量被测目标中的几何信息或点的坐标值,将其作为外部控制,对构建的三维模型进行一定的比例缩放,从而得到观测目标的绝对几何信息。Photogrammetry target positioning is to use a camera to obtain the image of the measured target, and then obtain the geometric and position information of the photographed object after processing. It has the advantages of non-contact, fast speed, simultaneous acquisition of many observation targets, and high accuracy. It has expanded from the field of aerial photogrammetry to many fields such as archaeology (ancient cultural relics, ancient buildings, etc.), biomedicine, and industrial measurement. However, its main defect is that the measurement target constructed only by images is relative in terms of size, mutual distance and other geometric information, that is, the three-dimensional model constructed by images is similar to the actual object, and there is a scale. In order to obtain the absolute geometric information of the measured target, it is necessary to rely on external control points. The general practice is to use other measurement tools (total station, laser scanner, laser tracker, etc.) to observe the geometric information or coordinate values of a small number of measured targets, use it as an external control, and scale the constructed three-dimensional model to a certain extent, so as to obtain the absolute geometric information of the observed target.
为了获取高精度的控制信息,常常需要在被测目标前建立三维控制场。如利用全站仪交会测量建立三维控制场,首先要在被测目标前设立2-4个稳定的强制对中基座,用于安置全站仪,强制对中基座可用钢筋焊接或水泥现场浇筑。In order to obtain high-precision control information, it is often necessary to establish a three-dimensional control field in front of the target to be measured. For example, when using the total station intersection measurement to establish a three-dimensional control field, first, 2-4 stable forced centering bases should be set up in front of the target to be measured for the placement of the total station. The forced centering base can be welded with steel bars or cast on-site with cement.
将仪器安置于强制对中基座之后,首先对两台全站仪之间进行相对定向,确定角度观测的起始方向。旋转仪器法的操纵步骤为:After placing the instrument on the forced centering base, firstly perform relative orientation between the two total stations to determine the starting direction of the angle observation. The operation steps of the rotating instrument method are:
a)在两个要进行相互观测的全站仪A、B上分别固定大头针,将仪器严格精平,并用仪器粗瞄器互相瞄准对方仪器;a) Fix pins on the two total stations A and B that are to observe each other, strictly level the instruments, and use the coarse aiming device to aim at each other's instruments;
b)将全站仪A设置为盘左观测;b) Set total station A to face left observation;
c)照准B仪器上的大头针记录水平方向H1,并将B仪器水平方向置零;c) Sight the pin on instrument B and record the horizontal direction H1, and set the horizontal direction of instrument B to zero;
d)将全站仪B旋转180°,自全站仪A照准B仪器上的大头针记录水平方向H2;d) Rotate total station B 180°, aim at the pin on instrument B from total station A and record the horizontal direction H2;
e)将全站仪B旋转180°,转换为盘右观测;e) Rotate total station B 180° and switch to face-right observation;
f)重复(c)和(d)两步,完成一个测回,并将观测值取平均作为AB起始方向;f) Repeat steps (c) and (d) to complete a round of measurement, and take the average of the observed values as the starting direction AB;
按照同样的步骤可以确定BA的起始方向。The same steps can be followed to determine the starting direction of BA.
在确定起始方向之后,还要通过标准尺法测量铟钢尺上某一段已知长度来反算测站AB之间的精确距离,之后通过角度观测交会计算控制点坐标。After determining the starting direction, the standard ruler method is used to measure a known length on the indium steel ruler to reversely calculate the precise distance between measuring stations AB, and then the coordinates of the control points are calculated by angle observation intersection.
这种做法较为繁琐、工作量大,这与摄影测量快速获取大量被测目标的要求严重不符。而且,对于测量精度要求高,测量时间紧迫,测量空间有限的情况下根本无法实施。This method is cumbersome and labor-intensive, which is seriously inconsistent with the requirement of photogrammetry to quickly obtain a large number of measured targets. Moreover, it is simply impossible to implement it when the measurement accuracy is high, the measurement time is tight, and the measurement space is limited.
发明内容Summary of the invention
本发明要解决的技术问题在于针对现有技术中的缺陷,提供一种距离约束的摄影测量高精度目标定位方法。The technical problem to be solved by the present invention is to provide a distance-constrained photogrammetry high-precision target positioning method in view of the defects in the prior art.
本发明解决其技术问题所采用的技术方案是:The technical solution adopted by the present invention to solve the technical problem is:
本发明提供一种距离约束的摄影测量高精度目标定位方法,该方法包括以下步骤:The present invention provides a distance-constrained photogrammetry high-precision target positioning method, the method comprising the following steps:
步骤1、相机内参数标定;Step 1: Calibrate the camera parameters.
步骤2、拍摄包含铟钢尺的目标图像;Step 2, photographing a target image including an indium steel ruler;
步骤3、目标点图像坐标量测:将拍摄的目标图像导入量测软件,对待量测的目标,获取其在图像坐标系中的坐标,以图像一角为原点,同时量测出铟钢尺上具有一定距离的两点,作为图像点;Step 3, target point image coordinate measurement: import the captured target image into the measurement software, obtain the coordinates of the target to be measured in the image coordinate system, take one corner of the image as the origin, and simultaneously measure two points with a certain distance on the indium steel ruler as image points;
步骤4、采用最小二乘法计算目标点的三维坐标,作为目标点的物理坐标初始值;Step 4: Calculate the three-dimensional coordinates of the target point using the least squares method as the initial value of the physical coordinates of the target point;
步骤5、图像外方位元素初始值获取:在获取了目标点的三维坐标之后,使其和图像点相互对应,然后按照单片后方交会方法计算出图像的外方位元素,即三个位置参数、三个姿态参数;Step 5, obtaining the initial values of the exterior orientation elements of the image: after obtaining the three-dimensional coordinates of the target point, make them correspond to the image points, and then calculate the exterior orientation elements of the image, namely, three position parameters and three attitude parameters, according to the single-chip resection method;
步骤6、计算距离约束的网平差:对量测的图像点坐标按一定顺序编号,使其与物理坐标一一对应;然后按摄影测量共线条件模型进行线性化,建立平差的误差方程式;在建立误差方程时,对于铟钢尺上的两点,引入距离约束作为平差约束条件;Step 6, calculate the network adjustment of distance constraints: the measured image point coordinates are numbered in a certain order so that they correspond to the physical coordinates one by one; then linearized according to the photogrammetry collinearity condition model, and the error equation of adjustment is established; when establishing the error equation, for the two points on the indium steel ruler, the distance constraint is introduced as the adjustment constraint condition;
步骤7、平差迭代收敛判断:在每个图像点都建立误差方程之后,采用具有约束条件的最小二乘间接平差方法求解改正数,并对物理坐标初始值进行改正,重复步骤6和步骤7,判断每次计算出的改正数,直到满足限差要求;得到目标点的高精度坐标。Step 7, iterative adjustment convergence judgment: After the error equation is established for each image point, the least squares indirect adjustment method with constraints is used to solve the correction number, and the initial value of the physical coordinate is corrected. Repeat steps 6 and 7 to judge the correction number calculated each time until the limit error requirement is met; obtain the high-precision coordinates of the target point.
进一步地,本发明的步骤1中进行相机内参数标定的方法为:Furthermore, the method for calibrating the camera internal parameters in step 1 of the present invention is:
对选定的相机,在手动模式下调整好拍摄景深,然后将其固定不变;选择高精度室内三维标定场,保证相机从标定场正面左、中、右三个方向拍摄影像,提取图像上标志点图像坐标,并计算相机内参数。For the selected camera, adjust the shooting depth of field in manual mode and then fix it; select a high-precision indoor 3D calibration field to ensure that the camera captures images from the left, center, and right directions of the front of the calibration field, extract the image coordinates of the landmark points on the image, and calculate the camera's internal parameters.
进一步地,本发明的步骤2中拍摄包含铟钢尺的目标图像的方法具体为:Furthermore, the method for photographing the target image containing the indium steel ruler in step 2 of the present invention is specifically as follows:
对要进行量测的目标进行图像采集,采集时在目标的指定位置放置铟钢尺,保证拍摄的图像既包含要量测的目标,也包含铟钢尺;拍摄时要从正面、上面、下面、左面、右面五个不同方向进行拍摄,确保量测目标在不同影像上有重叠。Capture images of the target to be measured. Place an indium steel ruler at the specified position of the target to ensure that the captured image contains both the target to be measured and the indium steel ruler. Capture images from five different directions: front, top, bottom, left, and right to ensure that the measured target overlaps in different images.
进一步地,本发明的步骤4中目标点物理坐标初始值的获取方法为:Furthermore, the method for obtaining the initial value of the physical coordinates of the target point in step 4 of the present invention is:
目标点物理坐标初始值的计算采用运动结构算法,从多幅图像恢复物体三维几何形状;由量测的同名像点,在相差一个常数因子的情况下,采用最小二乘求解基础矩阵,并对其进行SVD分解得到本质矩阵,对本质矩阵进行奇异值分解计算摄影机运动参数,最后计算出目标点的三维坐标。The initial value of the physical coordinates of the target point is calculated using the motion structure algorithm to restore the three-dimensional geometric shape of the object from multiple images; the basic matrix is solved by least squares using the measured image points of the same name with a constant factor difference, and the essential matrix is obtained by SVD decomposition, the camera motion parameters are calculated by singular value decomposition of the essential matrix, and finally the three-dimensional coordinates of the target point are calculated.
进一步地,本发明的步骤5中图像外方位元素初始值获取的方法为:Furthermore, the method for obtaining the initial value of the image exterior orientation element in step 5 of the present invention is:
由目标点的三维坐标和每张图像对应的图像坐标,利用基于共线条件的单像空间后方交会方法,计算出相片的外方位元素值;由于基础矩阵求解时缺少一个常数因子,造成外方位线元素与实际值存在一定比例,改比例值由铟钢尺上的实际长度与初始值之比得到,并对外方位线元素进行改正。The exterior orientation element values of the photo are calculated from the three-dimensional coordinates of the target point and the image coordinates corresponding to each image using the single image space resection method based on the collinearity condition; due to the lack of a constant factor when solving the basic matrix, there is a certain ratio between the exterior orientation line elements and the actual values. The ratio value is obtained by the ratio of the actual length on the indium steel ruler to the initial value, and the exterior orientation line elements are corrected.
进一步地,本发明的步骤6中计算距离约束的网平差的方法为:Further, the method for calculating the distance-constrained network adjustment in step 6 of the present invention is:
在目标点初始值和外方位元素初始值都确定的情况下,基于摄影测量共线条件方程,建立误差方程式,最后按最小二乘平差方法进行求解;When the initial values of the target points and the initial values of the exterior orientation elements are determined, the error equation is established based on the collinearity condition equation of photogrammetry, and finally solved by the least squares adjustment method;
基于摄影测量共线条件方程为:The collinearity condition equation based on photogrammetry is:
将畸变量表示为:The distortion amount is expressed as:
式中,(x,y)为图像坐标;(X,Y,Z)为图像点对应的物方坐标;(XS,YS,ZS)为相机外方位线元素;(Rij,i,j=1,2,3)为相机外方位角元素构成的旋转矩阵;(f,x0,y0)为相机内方位元素;(k1,2,3,p1,2)为相机畸变参数;r2=x2+y2。In the formula, (x, y) is the image coordinate; (X, Y, Z) is the object coordinate corresponding to the image point; ( XS , YS , ZS ) is the camera exterior orientation line element; ( Rij , i, j = 1, 2, 3) is the rotation matrix composed of the camera exterior orientation angle elements; (f, x0 , y0 ) is the camera interior orientation element; (k1, 2, 3, p1, 2 ) is the camera distortion parameter; r2 = x2 + y2 .
本发明产生的有益效果是:本发明的距离约束的摄影测量高精度目标定位方法,基于摄影测量原理,用摄像机拍摄包含高精度铟钢尺和观测目标的影像,经距离约束的网平差计算,可以得到目标的高精度坐标,毋需单独布设控制点,可获得毫米级目标点位精度,方法简单、快速,减少了作业时间,测量速度快,极大提高了测量作业效率。The beneficial effects of the present invention are as follows: the distance-constrained photogrammetry high-precision target positioning method of the present invention is based on the principle of photogrammetry, uses a camera to shoot images containing a high-precision indium steel ruler and an observed target, and obtains high-precision coordinates of the target through distance-constrained network adjustment calculation. There is no need to arrange control points separately, and millimeter-level target point accuracy can be obtained. The method is simple and fast, reduces operation time, has a fast measurement speed, and greatly improves measurement operation efficiency.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
图1是本发明实施例的方法流程图。FIG1 is a flow chart of a method according to an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
如图1所示,本发明实施例的距离约束的摄影测量高精度目标定位方法,包括以下步骤:As shown in FIG1 , the distance-constrained photogrammetry high-precision target positioning method according to an embodiment of the present invention comprises the following steps:
1.相机内参数标定;1. Camera internal parameter calibration;
对选定的摄像机,在手动模式下调整好拍摄景深,然后将其固定不变。内参数的标定通过拍摄室内高精度三维控制场计算得到。For the selected camera, adjust the depth of field in manual mode and then fix it. The calibration of the intrinsic parameters is calculated by shooting a high-precision three-dimensional control field in the room.
2.选取铟钢尺;2. Select an indium steel ruler;
根据拍摄场景的实际情况,选取一定长度的铟钢尺,一般有1米、2米或3米长等型号。选取后的铟钢尺必须经过国家检测要求,即对铟钢尺间隔长度平均值及各分米分划误差有如下要求:铟钢尺米间隔长度平均值与标称值之差,一支标尺不得超过±0.1mm,一副标尺不得超过±0.05mm;一排分划的刻划标准差不得超过±13um。According to the actual situation of the shooting scene, select a certain length of indium steel ruler, generally 1 meter, 2 meters or 3 meters long. The selected indium steel ruler must pass the national testing requirements, that is, the average value of the interval length of the indium steel ruler and the error of each decimeter scale have the following requirements: the difference between the average value of the interval length of the indium steel ruler and the nominal value shall not exceed ±0.1mm for one ruler and ±0.05mm for a pair of rulers; the standard deviation of the scale of a row of scales shall not exceed ±13um.
3.目标点图像拍摄;3. Target point image shooting;
将铟钢尺放置在需要量测的目标点前,利用选定的摄像机拍摄包含铟钢尺和量测目标的影像,要求从不同位置进行拍摄,且相邻影像之间有60%以上的重叠度。获取的影像应光照均匀,目标清晰。Place the indium steel ruler in front of the target point to be measured, and use the selected camera to shoot images containing the indium steel ruler and the target to be measured. It is required to shoot from different positions, and there should be more than 60% overlap between adjacent images. The acquired image should have uniform lighting and clear targets.
4.目标点量测;4. Target point measurement;
将图像上目标点精确量测出来是计算其三维坐标的关键,在图像处理中称为特征点提取。对于多张图像而言,还要将特征点之间进行匹配,自动建立同一空间点在不同图像中所成像点之间对应关系,同一空间点在不同图像上的对应点被称为同名像点。量测时要将图像上同名点全部量测出来。Accurately measuring the target point on the image is the key to calculating its three-dimensional coordinates, which is called feature point extraction in image processing. For multiple images, it is also necessary to match the feature points and automatically establish the correspondence between the image points of the same spatial point in different images. The corresponding points of the same spatial point in different images are called the same-name image points. When measuring, all the same-name points on the image should be measured.
5.计算物理坐标初始值;5. Calculate the initial value of physical coordinates;
目标点物理坐标初始值是平差模型线性化的关键,采用运动结构算法,从多幅图像恢复物体三维几何形状。由量测的同名像点,在相差一个常数因子的情况下,采用最小二乘求解基础矩阵,并对其进行SVD分解得到本质矩阵,对本质进行奇异值分解估计摄影机运动参数,最后计算出目标点的三维坐标。具体计算过程如下:The initial value of the physical coordinates of the target point is the key to the linearization of the adjustment model. The structure-from-motion algorithm is used to restore the three-dimensional geometric shape of the object from multiple images. The least squares method is used to solve the basic matrix of the measured image points with the same name, and the SVD decomposition is performed to obtain the essential matrix. The singular value decomposition of the essence is performed to estimate the camera motion parameters, and finally the three-dimensional coordinates of the target point are calculated. The specific calculation process is as follows:
假设基础矩阵为量测的同名像点坐标为m=[u v 1]T,m′=[u′ v′ 1]T,则满足:Assume that the basic matrix is The measured coordinates of the image points with the same name are m = [uv 1] T , m′ = [u′ v′ 1] T , which satisfies:
m′Fm=0 (1)m′Fm=0 (1)
当量测了8对以上同名点时,则可利用最小二乘法对式(1)进行求解,即得到基础矩阵F。When more than 8 pairs of points with the same name are measured, the least square method can be used to solve equation (1) to obtain the basic matrix F.
由相机标定参数形成相机内部矩阵结合基础矩阵F可以计算出本质矩阵E为:The camera internal matrix is formed by the camera calibration parameters Combined with the basic matrix F, the essential matrix E can be calculated as:
E=K′FK (2)E=K′FK (2)
对本质矩阵进行奇异值分解,得到:Perform singular value decomposition on the essential matrix and get:
E=UDV′ (3)E=UDV′ (3)
利用分解结果计算摄像机的运动参数R和t为:The camera motion parameters R and t are calculated using the decomposition results:
R=UAN′,t=(0 0 1)′ (4)R=UAN′,t=(0 0 1)′ (4)
其中 in
由摄像机运动参数和摄像机内参数矩阵,形成不同位置的摄像机的投影矩阵:The projection matrix of cameras at different positions is formed by the camera motion parameters and the camera internal parameter matrix:
如果同名像点m和m′对应的物方点齐次坐标为(Xw Yw Zw 1),则满足:If the homogeneous coordinates of the object space points corresponding to the same-name image points m and m′ are (X w Y w Z w 1), then:
根据公式(6)即可求解目标点三维坐标。The three-dimensional coordinates of the target point can be solved according to formula (6).
6.计算图像外方位元素初始值;6. Calculate the initial value of the image exterior orientation element;
由目标点的三维坐标和每张图像对应的图像坐标,利用基于共线条件的单像空间后方交会方法,计算出相片的外方位元素值。由于基础矩阵是在差一个常数因子情况下求解出来的,造成外方位线元素与实际值存在一个比例,改比例值由铟钢尺上的实际长度与初始值之比得到,并对外方位线元素进行改正。The exterior orientation element values of the photo are calculated by using the single image space resection method based on the collinearity condition from the three-dimensional coordinates of the target point and the image coordinates corresponding to each image. Since the basic matrix is solved under the condition of a constant factor difference, there is a ratio between the exterior orientation line elements and the actual values. The ratio value is obtained by the ratio of the actual length on the indium steel ruler to the initial value, and the exterior orientation line elements are corrected.
7.自由网平差计算;7. Free network adjustment calculation;
在目标点初始值和外方位元素初始值都确定的情况下,基于摄影测量共线条件方程,如公式(7)所示,建立误差方程式,最后按最小二乘平差方法进行求解。When the initial values of the target points and the initial values of the exterior orientation elements are determined, the error equation is established based on the collinearity condition equation of photogrammetry, as shown in formula (7), and finally solved by the least squares adjustment method.
将畸变量表示为:The distortion amount is expressed as:
式中,(x,y)为图像坐标;(X,Y,Z)为图像点对应的物方坐标;(XS,YS,ZS)为相机外方位线元素;(Rij,i,j=1,2,3)为相机外方位角元素构成的旋转矩阵;(f,x0,y0)为相机内方位元素;(k1,2,3,p1,2)为相机畸变参数;r2=x2+y2。In the formula, (x, y) is the image coordinate; (X, Y, Z) is the object coordinate corresponding to the image point; ( XS , YS , ZS ) is the camera exterior orientation line element; ( Rij , i, j = 1, 2, 3) is the rotation matrix composed of the camera exterior orientation angle elements; (f, x0 , y0 ) is the camera interior orientation element; (k1, 2, 3, p1, 2 ) is the camera distortion parameter; r2 = x2 + y2 .
平差迭代收敛判断:在每个图像点都建立误差方程之后,采用具有约束条件的最小二乘间接平差方法求解改正数,并对物理坐标初始值进行改正。Iterative adjustment convergence judgment: After the error equation is established for each image point, the least squares indirect adjustment method with constraints is used to solve the correction number and correct the initial value of the physical coordinates.
给定改正阈值(根据精度要求,阈值范围可设定为0.1mm),判断改正值的大小,如果改正值小于给定的阈值,停止计算,得到目标点的高精度坐标。Given a correction threshold (according to the accuracy requirements, the threshold range can be set to 0.1mm), the size of the correction value is determined. If the correction value is less than the given threshold, the calculation is stopped to obtain the high-precision coordinates of the target point.
如果改正值大于阈值,则由平差后的相机运动参数,重新按照步骤6计算目标点的三维坐标,重复步骤7进行带约束条件的平差计算,再次判断计算出的改正值大小,直到满足限小于给定的阈值。If the correction value is greater than the threshold, the three-dimensional coordinates of the target point are recalculated according to step 6 based on the adjusted camera motion parameters, and step 7 is repeated to perform the adjustment calculation with constraints, and the calculated correction value is judged again until it meets the limit less than the given threshold.
8.结果验证8. Result Verification
为验证本发明方法的正确性和可行性,利用一台数码相机对室内设定的一组目标点进行定位试验,试验采用的相机参数如表1所示。选用的铟钢尺为2m长,经国家指定质量检验处检定。In order to verify the correctness and feasibility of the method of the present invention, a digital camera is used to conduct a positioning test on a set of target points set indoors. The camera parameters used in the test are shown in Table 1. The selected indium steel ruler is 2m long and has been verified by the national designated quality inspection office.
表1试验采用的相机参数Table 1 Camera parameters used in the experiment
将铟钢尺放置在量测目标前方,利用上述相机对目标拍摄图像,从不同位置共拍摄9幅图像,利用自行编写的图像量测程序,获取每个目标点在多张图像上的图像坐标,按照本发明所述流程计算目标点三维坐标。目标点的实际三维空间坐标由高精度全站仪观测得到,但由于在实验过程中是任意放置,所以其三维坐标值已发生变化,但目标点之间的距离没有改变,为评定本发明方法确定目标点的精度,利用本发明计算出来的点间距离与实际距离进行比较,结果如表2所示。An indium steel ruler is placed in front of the measurement target, and the above-mentioned camera is used to shoot images of the target. A total of 9 images are taken from different positions. The image coordinates of each target point on multiple images are obtained using a self-written image measurement program, and the three-dimensional coordinates of the target point are calculated according to the process described in the present invention. The actual three-dimensional spatial coordinates of the target point are obtained by observing the high-precision total station, but because it is placed arbitrarily during the experiment, its three-dimensional coordinate value has changed, but the distance between the target points has not changed. In order to evaluate the accuracy of the method of the present invention in determining the target point, the distance between the points calculated by the present invention is compared with the actual distance, and the results are shown in Table 2.
表2本发明方法精度评定Table 2 Accuracy evaluation of the method of the present invention
从表2可以看出,利用本发明方法所确定的点间距离与实际观测结果非常接近,两者之间的差值均在毫米级,从统计结果可值,距离差值最大1.7mm,距离差值均方根0.9mm,结果和传统高精度全站仪观测结果一致。这说明本发明所述的目标点确定方法是正确、可行的,能够简化传统作业方法。It can be seen from Table 2 that the distance between points determined by the method of the present invention is very close to the actual observation result, and the difference between the two is in the millimeter level. From the statistical results, it can be seen that the maximum distance difference is 1.7mm, and the root mean square of the distance difference is 0.9mm. The results are consistent with the observation results of the traditional high-precision total station. This shows that the target point determination method described in the present invention is correct and feasible, and can simplify the traditional operation method.
应当理解的是,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,而所有这些改进和变换都应属于本发明所附权利要求的保护范围。It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910348852.2A CN110285827B (en) | 2019-04-28 | 2019-04-28 | Distance-constrained photogrammetry high-precision target positioning method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910348852.2A CN110285827B (en) | 2019-04-28 | 2019-04-28 | Distance-constrained photogrammetry high-precision target positioning method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110285827A CN110285827A (en) | 2019-09-27 |
CN110285827B true CN110285827B (en) | 2023-04-07 |
Family
ID=68001841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910348852.2A Active CN110285827B (en) | 2019-04-28 | 2019-04-28 | Distance-constrained photogrammetry high-precision target positioning method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110285827B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114170307A (en) * | 2019-09-30 | 2022-03-11 | 深圳市瑞立视多媒体科技有限公司 | Active rigid body pose positioning method in single-camera environment and related equipment |
CN110992429B (en) * | 2019-11-12 | 2022-04-22 | 武汉华中天经通视科技有限公司 | Single-scene large-view-field camera external parameter calibration method |
CN113077517B (en) * | 2020-01-03 | 2022-06-24 | 湖南科天健光电技术有限公司 | Spatial light measurement system calibration device and method based on light beam straight line characteristics |
CN111538044B (en) * | 2020-04-10 | 2023-03-07 | 苏州市高新北斗导航平台有限公司 | Low-cost RTK receiver positioning accuracy testing method |
CN111457896B (en) * | 2020-04-20 | 2021-09-14 | 中国人民解放军空军航空大学 | Single-image space back intersection non-iterative method |
CN112857328B (en) * | 2021-03-30 | 2022-06-14 | 宁波市特种设备检验研究院 | Calibration-free photogrammetry method |
CN113324528B (en) * | 2021-05-18 | 2023-04-07 | 武汉大学 | Close-range photogrammetry target positioning method and system with known camera station position |
CN113701655B (en) * | 2021-06-30 | 2024-03-29 | 中国地质调查局水文地质环境地质调查中心 | Method for acquiring landslide high-precision three-dimensional deformation information |
CN113790711B (en) * | 2021-09-10 | 2022-10-25 | 同济大学 | Uncontrolled multi-view measurement method and storage medium for unmanned aerial vehicle low-altitude flight position and attitude |
CN113804166B (en) * | 2021-11-19 | 2022-02-08 | 西南交通大学 | Rockfall motion parameter digital reduction method based on unmanned aerial vehicle vision |
CN114383574A (en) * | 2021-12-29 | 2022-04-22 | 中国测绘科学研究院 | A fast 3D measurement method for unmanned aerial vehicle |
CN114858095B (en) * | 2022-04-27 | 2023-06-23 | 北京科技大学 | A Method for Measuring Occurrence of Rock Mass Structural Surface Based on Dual Image Analysis |
CN114862717B (en) * | 2022-05-11 | 2023-06-23 | 桂林理工大学 | Image pair calibration method of fisheye camera with principal optical axis and epipolar line orthogonal and horizontal axis collinear simultaneously constrained |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105910584A (en) * | 2016-05-06 | 2016-08-31 | 北京信息科技大学 | High-precision orientation and orientation precision evaluating method for large-size dynamic photogrammetric system |
CN105913417A (en) * | 2016-04-05 | 2016-08-31 | 天津大学 | Method for geometrically constraining pose based on perspective projection line |
CN107067437A (en) * | 2016-12-28 | 2017-08-18 | 中国航天电子技术研究院 | A kind of unmanned plane alignment system and method based on multiple view geometry and bundle adjustment |
US9857172B1 (en) * | 2017-09-25 | 2018-01-02 | Beijing Information Science And Technology University | Method for implementing high-precision orientation and evaluating orientation precision of large-scale dynamic photogrammetry system |
CN107656286A (en) * | 2017-09-26 | 2018-02-02 | 武汉大学 | Object localization method and system under big beveled distal end observing environment |
CN109483516A (en) * | 2018-10-16 | 2019-03-19 | 浙江大学 | A kind of mechanical arm hand and eye calibrating method based on space length and epipolar-line constraint |
-
2019
- 2019-04-28 CN CN201910348852.2A patent/CN110285827B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105913417A (en) * | 2016-04-05 | 2016-08-31 | 天津大学 | Method for geometrically constraining pose based on perspective projection line |
CN105910584A (en) * | 2016-05-06 | 2016-08-31 | 北京信息科技大学 | High-precision orientation and orientation precision evaluating method for large-size dynamic photogrammetric system |
CN108801218A (en) * | 2016-05-06 | 2018-11-13 | 北京信息科技大学 | Large scale dynamic photogrammtry system it is high-precision fixed to and orientation accuracy evaluation method |
CN107067437A (en) * | 2016-12-28 | 2017-08-18 | 中国航天电子技术研究院 | A kind of unmanned plane alignment system and method based on multiple view geometry and bundle adjustment |
US9857172B1 (en) * | 2017-09-25 | 2018-01-02 | Beijing Information Science And Technology University | Method for implementing high-precision orientation and evaluating orientation precision of large-scale dynamic photogrammetry system |
CN107656286A (en) * | 2017-09-26 | 2018-02-02 | 武汉大学 | Object localization method and system under big beveled distal end observing environment |
CN109483516A (en) * | 2018-10-16 | 2019-03-19 | 浙江大学 | A kind of mechanical arm hand and eye calibrating method based on space length and epipolar-line constraint |
Non-Patent Citations (2)
Title |
---|
自然场景中近景摄影测量相机的自标定方法;王涛等;《工具技术》;20180201;第52卷(第12期);全文 * |
车载全景相机的影像匹配和光束法平差;季顺平等;《测绘学报》;20130215(第01期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110285827A (en) | 2019-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110285827B (en) | Distance-constrained photogrammetry high-precision target positioning method | |
CN102364299B (en) | Calibration technology for multiple structured light projected three-dimensional profile measuring heads | |
CN105913439B (en) | A kind of large-field shooting machine scaling method based on laser tracker | |
CN110345921B (en) | Stereo visual field vision measurement and vertical axis aberration and axial aberration correction method and system | |
KR101346323B1 (en) | Method for self-calibration of non-metric digital camera using ground control point and additional parameter | |
CN109163657B (en) | Round target pose detection method based on binocular vision three-dimensional reconstruction | |
CN110057295A (en) | It is a kind of to exempt from the monocular vision plan range measurement method as control | |
CN109253706B (en) | A method for measuring three-dimensional topography of tunnels based on digital images | |
CN105424058B (en) | Digital camera projection centre position method for precisely marking based on photogrammetric technology | |
CN106447733B (en) | Method, system and device for determining cervical vertebra mobility and moving axis position | |
CN105486289B (en) | A kind of laser photography measuring system and camera calibration method | |
CN109141226A (en) | The spatial point coordinate measuring method of one camera multi-angle | |
CN108662987A (en) | The scaling method of 2D camera shooting type laser measuring heads | |
CN109272555B (en) | A method of obtaining and calibrating external parameters of RGB-D camera | |
CN205333067U (en) | Laser photogrammetric survey system | |
CN113324528A (en) | Close-range photogrammetry target positioning method and system with known camera station position | |
CN110736447B (en) | A method for checking and calibrating the vertical and horizontal position of an integrated image acquisition device | |
CN115457141A (en) | Large-view-field three-dimensional digital image correlation system calibration method based on photogrammetry | |
CN107564070A (en) | The ranging of large scene binocular and its bearing calibration in the monitoring of overhead power transmission channel image | |
CN111754584A (en) | A system and method for calibrating parameters of a long-distance large field of view camera | |
CN102589529A (en) | Scanning close-range photogrammetry method | |
CN109035343A (en) | A kind of floor relative displacement measurement method based on monitoring camera | |
CN115423884A (en) | Camera attitude angle calibration method by using river cross section water line | |
CN114445503A (en) | A long-distance large field of view binocular camera calibration method and three-dimensional measurement method | |
CN107976146B (en) | Self-calibration method and measurement method of linear array CCD camera |
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 |