[go: up one dir, main page]

CN105261047B - A method for extracting the center of butt ring based on short-range short-arc segment images - Google Patents

A method for extracting the center of butt ring based on short-range short-arc segment images Download PDF

Info

Publication number
CN105261047B
CN105261047B CN201510568069.9A CN201510568069A CN105261047B CN 105261047 B CN105261047 B CN 105261047B CN 201510568069 A CN201510568069 A CN 201510568069A CN 105261047 B CN105261047 B CN 105261047B
Authority
CN
China
Prior art keywords
center
short
pixel
torus
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.)
Active
Application number
CN201510568069.9A
Other languages
Chinese (zh)
Other versions
CN105261047A (en
Inventor
毛晓艳
何英姿
魏春岭
胡海东
朱志斌
唐强
张海博
徐栓峰
龚小谨
江文婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Institute of Control Engineering
Original Assignee
Beijing Institute of Control Engineering
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Institute of Control Engineering filed Critical Beijing Institute of Control Engineering
Priority to CN201510568069.9A priority Critical patent/CN105261047B/en
Publication of CN105261047A publication Critical patent/CN105261047A/en
Application granted granted Critical
Publication of CN105261047B publication Critical patent/CN105261047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/04Indexing scheme for image data processing or generation, in general involving 3D image data

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

A kind of docking ring center extracting method based on short distance short arc segments image of the present invention, step includes: to carry out polar curve correction for the binocular image comprising short arc segments butt joint ring, carries out Threshold segmentation using standard deviation method, anchor ring extraction is carried out using area attribute, then extracts its outer edge;Fine and close reconstruction is carried out to the annulus region extracted using half global matching process, obtains the three-dimensional point cloud under camera coordinates system;The anchor ring normal vector of calculating point cloud simultaneously will be in coordinate projection to the plane vertical with normal vector;Outer edge is distinguished in new plane, carries out the fitting of standard positive round respectively;It according to obtained outer edge center and radius, is constrained using concentric ring, finally obtains the accurate central coordinate of circle of butt joint ring.The present invention directly projects three dimensional point cloud in the space plane just penetrated from the characteristic of butt joint ring, ellipse fitting is reduced to round fitting, while eliminating erroneous point by the constraint condition of inner and outer ring, has the advantages that result is accurate, calculation amount is small.

Description

A kind of docking ring center extracting method based on short distance short arc segments image
Technical field
The present invention relates to the methods of anchor ring extraction and the estimation of the anchor ring center of circle, and in particular to one kind is based on short distance short arc segments The docking ring center extracting method of image.
Background technique
In field of aerospace, butt joint ring is target common in spacecraft, is only carried out to butt joint ring target quasi- True pose estimation just can be carried out accurate docking, to carry out the space tasks such as Material Transportation, aircraft repairing.Wherein anchor ring Detection and the estimation in the anchor ring center of circle are steps crucial in pose estimation.For decades, the pose estimation of butt joint ring is one always A hot issue, scholars propose the method for many pose estimations.
Currently, the pose estimation of spacecraft is carried out mainly for cooperative target, it can is marked in cooperative target Index point is carrying out that pose estimation can be carried out according to index point position in docking operation with aircraft.Flown based on index point The estimation of row device object pose needs to carry out careful mark before vehicle launch, so that Flight Vehicle Design work becomes cumbersome. Method based on mark point is not suitable for the noncooperative target of the non-labels tokens point in space.In addition, this method only needs to obtain mesh The binocular image of aircraft is marked, corresponding camera apparatus is portable, cheap.
Summary of the invention
Technology of the invention solves the problems, such as: overcoming the deficiencies of the prior art and provide a kind of based on short distance short arc segments image Docking ring center extracting method, this method, which can overcome in conventional method, to be needed the hand labeled index point on butt joint ring and consumes The shortcomings that a large amount of manpowers, while having avoided space annulus and having projected the distortion of projection after two-dimensional surface, do not take pains solution it is oval or The fitting problems of conic section, but the measurement image obtained by binocular camera, restore the three-dimensional information at its anchor ring and edge And project it on the projection plane just penetrated, simplify the positive round for being projected as two-dimensional surface of space annulus, simplify and calculate, only needs Anchor ring center can be accurately estimated according to the topography of annulus, under the premise of guaranteeing certain robustness, there is estimation knot The advantage that fruit is accurate, time-consuming is low.
The technical solution adopted by the present invention is that: as shown in Figure 1
(1) binocular image comprising short arc segments butt joint ring target obtained for short distance carries out polar curve correction, then adopts Binarization threshold segmentation is carried out with standard deviation method, the bianry image after being divided.Utilize the area attribute in bianry image Annulus region extraction is carried out, annulus region uses its outer edge of canny operator extraction after extracting;
(2) fine and close reconstruction is carried out to the annulus region extracted using half global matching process, obtained a large amount of on anchor ring The parallax value of point (being exactly all pixels that can be registrated on anchor ring, determined by the imaging area size and registration rate of anchor ring), To carry out the three-dimensional reconstruction under camera coordinates system, three-dimensional point cloud is obtained;
(3) multi-point fitting is used to the three-dimensional point cloud under camera coordinates system, the method for largest optimization calculates anchor ring normal vector And the three-dimensional point cloud indicated under camera coordinates system is projected in the plane vertical with normal vector;
(4) inward flange and outer edge are distinguished in the plane vertical with normal plane, using multi-point fitting, as a result optimal side Method carries out standard positive round fitting respectively, obtains center and the radius of butt joint ring outer edge;
(5) according to obtained outer edge center and radius, use butt joint ring for the constraint condition of concentric ring, inside and outside judgement The centre distance at edge is minimum, and the radius difference of outer edge is optimum with the comparable result of ring width is docked, final To the accurate central coordinate of circle of butt joint ring calculated from the binocular image comprising local butt joint ring target.
Above-mentioned steps (1) carry out binarization threshold segmentation using standard deviation method method particularly includes:
1) definition of standard deviation image is to calculate following standard deviation value to each pixel of image I:
Wherein, for any one pixel, uk() be centered on the point around (2k+1) × (2k+1) neighborhood The average value of interior value, k indicate window half-breadth;
2) statistics with histogram is carried out to standard deviation image, binarization threshold ξ, judgment criteria deviation is calculated using averaging method Each pixel of image, pixel value are denoted as 255 more than or equal to ξ's, are denoted as 0 less than ξ, the bianry image after being divided.
Above-mentioned steps (1) carry out annulus region extraction using the area attribute in bianry image method particularly includes:
1) constraint condition set according to area, excessive for area or too small region are rejected;
2) in removing the image behind excessive region or region fine crushing, the solid degree of annulus region is smaller than other regions, By calculating solid degree, solid degree Minimum Area is judged for the annulus region that finally extracts.The calculating of solid degree is public Formula is as follows:
Carry out the specific method of fine and close reconstruction in above-mentioned steps (2) to the anchor ring extracted using half global matching process Are as follows:
Half global registration algorithm is along one-dimensional path r, cost value L of the pixel p to be matched under the conditions of parallax dr(p,d) Recursive definition are as follows:
Wherein, min expression is minimized, and pixel indicates pixel p to be matched at parallax d matched data item C (p, d) Matching cost, matching cost selection sample insensitive method based on Birchfield and Tomasi and pixel intensity are calculated Difference.Section 2 indicates minimum cost value of adjacent pixel under the conditions of current pixel p parallax is d in path, and p-r indicates current road P's is upper under diameter.When the variation of a pixel unit occurs for the parallax of neighborhood pixels, cost value P1, when parallax changes When more than a pixel unit, cost value P2, P1With P2For given value.Last in above formula is chosen with current pixel p Parallax d it is unrelated, just to prevent L excessive, to meet L≤Cmax+P2Calculated result, CmaxIndicate the maximum of matching cost Value.I and k indicate the traversal of parallax from dminTo dmax, dminIndicate parallax minimum value, dmaxIndicate parallax maximum value.
Finally, the cost value of each pixel is all pathsrThe sum of cost value S (p, d)=∑rLr(p, d), it is each The matching result of point pixel is parallax corresponding to minimum cost value, so that the three-dimensional coordinate for completing each point in anchor ring calculates, It is i.e. fine and close to rebuild.
The three-dimensional reconstruction process under camera coordinates system is carried out in above-mentioned steps (2) are as follows: according to parallax under camera coordinates system As a result calculate the three-dimensional coordinate of each point, wherein camera coordinates system is defined as: cross camera photocentre, it is parallel as planar horizontal direction to The right side is xcAxis, in parallel as plane vertical direction is downwards ycAxis, zcAxis meets the right-hand rule.
Multi-point fitting is used in above-mentioned steps (3), the method for largest optimization calculates anchor ring normal vector are as follows:
Three points are arbitrarily taken in the three dimensional point cloud of anchor ring, are carried out plane fitting, are obtained the normal vector of plane equation Indicate, then calculate other points arrive plane distance, distance and minimum when normal vector as final output, exactly anchor ring Normal vector.
Above-mentioned steps project to the three-dimensional point cloud indicated under camera coordinates system in the plane vertical with normal vector in (3) Are as follows:
The normal vector of plane is (ph,qh,rh)(ph,qh,rhRespectively represent the direction along tri- directions current coordinate system XYZ Number) and (ph 2+qh 2+rh 2)=1, the coordinate of three-dimensional point cloud are (xi,yi,zi) i=0,1 ... n-1, n are the sum of three-dimensional point cloud Mesh.Following coordinate transform then is carried out to three-dimensional point cloud:
Inward flange and outer edge are distinguished in above-mentioned steps (4) in the plane vertical with normal plane, using multi-point fitting, knot The optimal method of fruit carries out standard positive round fitting respectively, obtains center and the radius of butt joint ring outer edge, specifically:
The inward flange and outer edge obtained according to canny operator obtains inward flange and outer edge using the corresponding relationship of point The three-dimensional coordinate of point calculates the average distance between two groups of points of inward flange and outer edge;Then respectively in interior group of edge points or outer The fitting that three points carry out positive round center and radius is randomly selected in group of edge points, judges other points in the group and is fitted annulus Distance is considered optimum apart from summation is the smallest, exports respectively, obtain center and the radius of butt joint ring outer edge.
Compared with the prior art, the invention has the beneficial effects that: the present invention overcomes need docking in conventional method Hand labeled index point on ring and the shortcomings that consume a large amount of manpowers, while having avoided space annulus and having projected the throwing after two-dimensional surface The fitting problems for solving oval or conic section are not taken pains in shadow deformation, but by the measurement image of binocular camera acquisition, restore The three-dimensional information at its anchor ring and edge simultaneously projects it on the projection plane just penetrated, and the two dimension that is projected as simplifying space annulus is put down The positive round in face simplifies and calculates, it is only necessary to can accurately estimate anchor ring center according to the topography of annulus, guarantee certain robust Property under the premise of, have the advantages that estimation result is accurate, time-consuming low.
Detailed description of the invention
Fig. 1 is the step schematic diagram of method of the invention;
Fig. 2 (a)-(i) is embodiment 1 using the docking ring center extracting method extraction pair based on short distance short arc segments image Connect the treatment process of ring center;Wherein (a) is the short arc segments butt joint ring target left images pair of input, (b) after for polar curve correction Effect picture, (c) is standard deviation image, and (d) the binaryzation effect picture of standard deviation figure (e) is belonged to using the region of solid degree Property carry out annulus region extraction after effect picture, (f) effect picture of butt joint ring edge extracting, (g) dock ring region densification matching Obtained disparity map, (h) annular section Three-dimensional Gravity is laid foundations the effect picture of cloud re-projection, and (i) concentric circles fitting constraint obtains final The schematic three dimensional views in the center of circle.
Specific embodiment
Below with reference to Fig. 1, Fig. 2 (a)-(i), the present invention is described in detail.
(1) input image to be detected: image to be detected is the binocular gray level image comprising short arc segments butt joint ring, including left figure And right figure, as shown in Fig. 2 (a).
(2) correction of image polar curve is carried out to binocular image, as shown in Fig. 2 (b).Spin moment between known left and right camera Battle array is that (the corresponding Eulerian angles of R are A to Rlr), translation matrix be T when, polar curve correct the step of it is as follows:
1) in order to keep two camera coordinates systems parallel, first time rotation is carried out to two coordinate systems.Left camera rotates Rl=F (Alr/ 2), right camera rotates Rr=F (- Alr/ 2), F represents the transfer function between spin matrix and Eulerian angles herein, after rotation Translation vector T2=RrT;
2) in order to guarantee T2Only in an X direction it is not 0 (i.e. base direction), second is carried out to Two coordinate system and is rotated, T is made2It is flat Row Yu Xiangliangn=[- 10 0]T
(3) binocular image binary conversion treatment:
1) definition of standard deviation image is to calculate following standard deviation value to each pixel of image I:
Wherein, for any one pixel, uk() be centered on the point around (2k+1) × (2k+1) neighborhood The average value of interior value, k indicate window half-breadth, determine window size, are taken as 2 here.| | indicate signed magnitude arithmetic(al).Practical meter Calculation process using integrogram method promoted speed, calculate integrogram only need it is primary to image traversal, it is any using integrogram Pixel value in one rectangle and can be determined by four vertex, calculate unrelated with rectangular dimension, it is only necessary to which four sub-additions are transported It calculates.Shown in standard deviation figure such as Fig. 2 (c).
2) statistics with histogram is carried out to standard deviation image, the method for average calculates binarization threshold ξ, judgment criteria offset images Each pixel, pixel value is denoted as 255 more than or equal to ξ, less than ξ is denoted as 0.Shown in binary image such as Fig. 2 (d).
(4) annulus region is extracted using area attribute:
1) since there are regions fine crushing in binary picture non-circular region, size can effectively remove area fine crushing according to area Domain;
2) in removing the image behind region fine crushing, the solid degree of annulus region is smaller than other regions, can pass through meter Solid degree is calculated finally to extract annulus region:
The extraction effect of annulus region is as shown in (e) in Fig. 2.
(5) edge extracting that annulus region is carried out using canny operator, obtains outer edge point position.Extraction effect is such as Shown in Fig. 2 (f).
(6) it because the texture of anchor ring is less, commonly uses matching process and is easy failure, anchor ring cause is carried out by half global method Close reconstruction.
Half global registration algorithm is along one-dimensional path r, cost value L of the pixel p to be matched under the conditions of parallax dr(p,d) Recursive definition are as follows:
Wherein, min expression is minimized, and pixel indicates pixel p to be matched at parallax d matched data item C (p, d) Matching cost, matching cost selection sample insensitive method based on Birchfield and Tomasi and pixel intensity are calculated Difference.Section 2 indicates minimum cost value of adjacent pixel under the conditions of current pixel p parallax is d in path, and p-r indicates current road P's is upper under diameter.When the variation of a pixel unit occurs for the parallax of neighborhood pixels, cost value P1, when parallax changes When more than a pixel unit, cost value P2, P1With P2For given value.Last in above formula is chosen with current pixel p Parallax d it is unrelated, just to prevent L excessive, to meet L≤Cmax+P2Calculated result, CmaxIndicate the maximum of matching cost Value.I and k indicate the traversal of parallax from dminTo dmax, dminIndicate parallax minimum value, dmaxIndicate parallax maximum value.
Finally, the cost value of each pixel is all pathsrThe sum of cost value S (p, d)=∑rLr(p, d), it is each The matching result of point pixel is parallax corresponding to minimum cost value, so that the three-dimensional coordinate for completing each point in anchor ring calculates, It is i.e. fine and close to rebuild.
Shown in disparity map effect such as Fig. 2 (g) that densification is rebuild, by taking the anchor ring extracted in left image as an example.
(7) solve plane of a loop equation according to the anchor ring of reconstruction: the present invention randomly chooses on anchor ring obtained in (6) step Any 3 three-dimensional point Xi,Yi,ZiI=1,2,3 calculate the parameter of one group of plane equation, and plane equation is as follows:
AX+bY+cZ+d=0 (4)
Wherein, a, b, c, d are the expression coefficient of plane equation.General plane equation is without going past coordinate axis center (anchor ring Have certain vertical range from camera), therefore above formula can simplify are as follows:
AX+BY+CZ=-1 (5)
By Xi,Yi,ZiI=1,2,3 bring above formula into, solve A, B, C.Then other three-dimensional point (x are calculatedj,yj,zj) arrive The distance of current planeAll distances are cumulative, and distance and the smallest result are exported, A, B, C are obtained, plane normal vector (p is converted toh,qh,rh), output In order to improve computational efficiency and obtain convergent as a result, by multiple Experiment statistics can obtain the smallest one group of result of ideal distance generally after 200 random selection calculating parameters.
(8) three-dimensional point cloud is projected in the plane vertical with normal vector according to the plane equation in step (7), is specifically done Method is:
The normal vector of plane is (ph,qh,rh) and (ph 2+qh 2+rh 2)=1, the coordinate of three-dimensional point cloud are (xi,yi,zi) i= 0,1 ... n-1, n are the total number of three-dimensional point cloud.Following coordinate transform then is carried out to three-dimensional point cloud, obtains new three-dimensional coordinate (x'i,y'i,z'i):
Shown in the three-dimensional point cloud effect such as Fig. 2 (h) projected in normal vector vertical plane.
(9) positive round fitting is carried out to the coordinate after projection, specific practice is:
Equation of a circle is (x'k-x0)2+(y'k-y0)2=R0 2, wherein (x'k,y'k) it is to be chosen in the obtained point cloud of (8) step Inner annular edge point, k=1,2,3 three points can solve, x0、y0And R0For amount to be asked.X is acquired using least square method0、y0With R0.Then by other inner annular edge point (x'l,y'l,z'l) substitute into ∑ ((x'l-x0)2+(y'l-y0)2-R0 2), overall error minimum is then Export x0、y0And R0
Similarly, (x' is takenm,y'm) it is the outer ring marginal point chosen in point cloud that (8) step obtains, m=1,2,3 three points are It can solve, x1、y1And R1For amount to be asked.X is acquired using least square method1、y1And R1.Then by other outer ring marginal point (x'n, y'n,z'n) substitute into ∑ ((x'n-x1)2+(y'n-y1)2-R1 2), overall error minimum then exports x1、y1And R1
(10) evaluation output is carried out to last result
Two center of circle x that (9) step obtains0、y0、x1、y1With radius R0, R1, judge the distance and radius of center location Then (x, y) is rotated back to before normal vector projection by difference less than the x and y coordinates as the output center of circle of given threshold Plane obtains the Spatial outlier value (x in the center of circlecenter,ycenter,zcenter).Determine butt joint ring center and the anchor ring three-dimensional effect of output Shown in fruit such as Fig. 2 (i).
Experimental example:
To (a) in image to be detected Fig. 2, successively handled according to each step in the present invention, from result The present invention can accurately detect circle ring area, and can be effectively carried out the reconstruction of plane of a loop and the estimation in the center of circle.

Claims (8)

1.一种基于近距离短弧段图像的对接环圆心提取方法,其特征在于实现步骤如下:1. a method for extracting the center of a docking ring based on a short-distance short-arc segment image, is characterized in that the realization steps are as follows: (1)对于近距离获取的包含短弧段对接环目标的双目图像,进行极线校正,然后采用标准差方法进行二值化阈值分割,得到分割后的二值图像,利用二值图像中的区域属性进行环面区域提取,环面区域提取之后采用canny算子提取其内外边缘;(1) Perform epipolar correction for the binocular image containing the short-arc docking ring target obtained at close range, and then use the standard deviation method to perform binarization threshold segmentation to obtain the segmented binary image. Extract the torus region based on the regional attributes of the torus, and use the canny operator to extract its inner and outer edges after the torus region extraction; (2)利用半全局的匹配方法对提取出的环面区域进行致密重建,得到环面上大量点的视差值,从而进行相机坐标系下的三维重建,得到三维点云;所述大量点是环面上所有能够配准的像素点,由环面的成像面积大小和配准率确定;(2) Use the semi-global matching method to perform dense reconstruction on the extracted torus area, and obtain the parallax value of a large number of points on the torus, so as to perform 3D reconstruction in the camera coordinate system, and obtain a 3D point cloud; the large number of points is all the pixels that can be registered on the torus, which is determined by the size of the imaging area and the registration rate of the torus; (3)对相机坐标系下的三维点云采用多点拟合,最大优化的方法计算环面法向量并将相机坐标系下表示的三维点云投影到与法向量垂直的平面内;(3) Multi-point fitting is used for the 3D point cloud in the camera coordinate system, and the maximum optimization method is used to calculate the normal vector of the torus and project the 3D point cloud represented in the camera coordinate system into a plane perpendicular to the normal vector; (4)在与法平面垂直的平面内区分内边缘和外边缘,采用多点拟合,结果最优的方法分别进行标准正圆拟合,得到对接环内外边缘的中心和半径;(4) Distinguish the inner edge and the outer edge in a plane perpendicular to the normal plane, and use multi-point fitting. The method with the best result is to perform standard perfect circle fitting respectively to obtain the center and radius of the inner and outer edges of the butt ring; (5)如果步骤(4)得到的对接环内外边缘的中心位置与半径的差值小于设定阈值,则根据得到的内外边缘中心和半径,采用对接环为同心环的约束条件,最终得到从包含局部短弧段对接环目标的双目图像中计算出的对接环准确的圆心坐标。(5) If the difference between the center position and the radius of the inner and outer edges of the butt ring obtained in step (4) is smaller than the set threshold, then according to the obtained center and radius of the inner and outer edges, the constraint condition that the butt ring is a concentric ring is adopted, and finally the The exact circle center coordinates of the docking ring calculated in the binocular image containing the local short arc segment docking ring target. 2.根据权利要求1所述的一种基于近距离短弧段图像的对接环圆心提取方法,其特征在于:所述步骤(1)中采用标准差方法进行二值化阈值分割的具体方法为:2. a kind of method for extracting the center of a docking ring based on a short-distance short arc segment image according to claim 1, is characterized in that: in the described step (1), the concrete method that adopts standard deviation method to carry out binarization threshold segmentation is as follows: : (11)标准偏差图像的定义为,对图像I的每个像素点计算如下的标准偏差值:(11) The definition of the standard deviation image is that the following standard deviation value is calculated for each pixel of the image I: 其中,对于任意一个像素点,uk(·)为以该点为中心的周围(2k+1)×(2k+1)邻域内取值的平均值,k表示窗口半宽;Among them, for any pixel point, u k ( ) is the average value of the values in the (2k+1)×(2k+1) neighborhood around the point, and k represents the half-width of the window; (12)对标准偏差图像进行直方图统计,采用均值法计算二值化阈值ξ,判断标准偏差图像的每个像素点,像素值大于等于ξ的记为255,小于ξ的记为0,得到分割后的二值图像。(12) Perform histogram statistics on the standard deviation image, use the mean method to calculate the binarization threshold ξ, and judge each pixel of the standard deviation image. The pixel value greater than or equal to ξ is recorded as 255, and the pixel value less than ξ is recorded as 0, to obtain The segmented binary image. 3.根据权利要求1所述的一种基于近距离短弧段图像的对接环圆心提取方法,其特征在于:所述步骤(1)利用二值图像中的区域属性进行环面区域提取的具体方法为:3 . The method for extracting the center of a butt ring based on a short-range short-arc segment image according to claim 1 , wherein the step (1) utilizes the region attribute in the binary image to extract the specific torus region. 4 . The method is: (21)根据面积设定的约束条件,对于面积过大或过小的区域予以剔除;(21) According to the constraints set by the area, the areas that are too large or too small are eliminated; (22)在除去过大区域或细碎区域后的图像中,环面区域的实心程度比其他区域小,通过计算实心程度,判断实心程度最小区域为最终提取出的环面区域,实心程度的计算公式如下:(22) In the image after removing the excessively large area or the finely divided area, the solid degree of the torus area is smaller than that of other areas. By calculating the solid degree, it is judged that the area with the smallest solid degree is the final extracted torus area. Calculation of the solid degree The formula is as follows: 4.根据权利要求1所述的一种基于近距离短弧段图像的对接环圆心提取方法,其特征在于:所述步骤(2)利用半全局的匹配方法对提取出的环面进行致密重建的具体方法为:4 . The method for extracting the center of a butt ring based on a short-range short-arc segment image according to claim 1 , wherein the step (2) utilizes a semi-global matching method to perform dense reconstruction on the extracted torus. 5 . The specific method is: 半全局匹配算法沿着一维路径r,待匹配像素点p在视差d条件下的代价值Lr(p,d)递归定义为:The semi-global matching algorithm follows a one-dimensional path r, and the cost value L r (p, d) of the pixel p to be matched under the condition of disparity d is recursively defined as: 其中,min表示取最小值,像素对匹配数据项C(p,d)表示待匹配像素p在视差d下的匹配代价,匹配代价选用基于Birchfield和Tomasi采样不敏感的方法计算得到像素亮度差,第二项表示路径中相邻像素在当前像素p视差为d条件下的最小代价值,p-r表示当前路径下p的上一点,当邻近像素的视差发生一个像素单元的变化时,代价值为P1,当视差变化超过一个像素单位时,代价值为P2,P1与P2为给定值;上式中的最后一项,与当前像素p选取的视差d无关,仅仅为了防止L过大,以满足L≤Cmax+P2的计算结果,Cmax表示匹配代价的最大取值,i和k表示视差的遍历从dmin到dmax,dmin表示视差最小值,dmax表示视差最大值;Among them, min represents the minimum value, and the pixel pair matching data item C(p, d) represents the matching cost of the pixel p to be matched under the parallax d. The matching cost is calculated by the method based on Birchfield and Tomasi sampling insensitive to calculate the pixel brightness difference, The second item represents the minimum cost value of adjacent pixels in the path under the condition that the disparity of the current pixel p is d, and pr represents the previous point of p in the current path. When the disparity of adjacent pixels changes by one pixel unit, the cost value is P 1. When the parallax change exceeds one pixel unit, the cost value is P 2 , and P 1 and P 2 are given values; the last item in the above formula has nothing to do with the parallax d selected by the current pixel p, only to prevent L from being too large. Large, to satisfy the calculation result of L≤C max +P 2 , C max represents the maximum value of the matching cost, i and k represent the traversal of the parallax from d min to d max , d min represents the minimum value of the parallax, and d max represents the parallax maximum value; 最后,每一像素点的代价值为所有路径r的代价值之和S(p,d)=∑rLr(p,d),每一点像素的匹配结果为最小代价值所对应的视差,从而完成环面内每个点的三维坐标计算,即致密重建。Finally, the cost value of each pixel is the sum of the cost values of all paths r S(p,d)=∑ r L r (p,d), the matching result of each pixel is the disparity corresponding to the minimum cost value, Thus, the three-dimensional coordinate calculation of each point in the torus is completed, that is, the dense reconstruction. 5.根据权利要求1所述的一种基于近距离短弧段图像的对接环圆心提取方法,其特征在于:所述步骤(2)中进行相机坐标系下的三维重建过程为:在相机坐标系下根据视差结果计算每个点的三维坐标,其中相机坐标系定义为:过相机光心,平行像平面水平方向向右的为xc轴,平行像平面垂直方向向下的为yc轴,zc轴满足右手定则。5. The method for extracting the center of a docking ring based on a short-distance short-arc segment image according to claim 1, wherein: in the step (2), the three-dimensional reconstruction process under the camera coordinate system is: Under the system, the three-dimensional coordinates of each point are calculated according to the parallax results, where the camera coordinate system is defined as: passing through the camera optical center, the horizontal direction parallel to the image plane is the x c axis to the right, and the vertical direction parallel to the image plane downward is the y c axis. , the z- c axis satisfies the right-hand rule. 6.根据权利要求1所述的一种基于近距离短弧段图像的对接环圆心提取方法,其特征在于:所述步骤(3)中采用多点拟合,最大优化的方法计算环面法向量为:6. The method for extracting the center of a docking ring based on a short-distance short-arc segment image according to claim 1, wherein: in the step (3), multi-point fitting is adopted, and the method of maximum optimization calculates the torus method The vector is: 在环面的三维点云数据中任意取三个点,进行平面拟合,得到平面方程的法向量表示,然后计算其它点到平面的距离,距离和最小时的法向量作为最终的输出,就是环面的法向量。Take three points arbitrarily in the 3D point cloud data of the torus, perform plane fitting, get the normal vector representation of the plane equation, and then calculate the distance from other points to the plane, the distance and the minimum normal vector are used as the final output, which is The normal vector of the torus. 7.根据权利要求1所述的一种基于近距离短弧段图像的对接环圆心提取方法,其特征在于:所述步骤(3)中将相机坐标系下表示的三维点云投影到与法向量垂直的平面内为:7. The method for extracting the center of a docking ring based on a short-distance short-arc segment image according to claim 1, wherein: in the step (3), the three-dimensional point cloud represented by the camera coordinate system is projected onto the and method The vector in the vertical plane is: 平面的法向量为(ph,qh,rh),ph,qh,rh分别代表沿当前坐标系XYZ三个方向的方向数)且ph 2+qh 2+rh 2=1,三维点云的坐标为(xi,yi,zi),i=0,1,…n-1,n为三维点云的总数目,则对三维点云进行如下坐标变换:The normal vector of the plane is (ph , q h , rh ), ph , q h , rh represent the direction numbers along the three directions of the current coordinate system XYZ respectively ) and ph 2 +q h 2 +r h 2 =1, the coordinates of the 3D point cloud are (x i , y i , z i ), i=0,1,...n-1, where n is the total number of 3D point clouds, then the following coordinate transformation is performed on the 3D point cloud: 8.根据权利要求1所述的一种基于近距离短弧段图像的对接环圆心提取方法,其特征在于:所述步骤(4)中在与法平面垂直的平面内区分内边缘和外边缘,采用多点拟合,结果最优的方法分别进行标准正圆拟合,得到对接环内外边缘的中心和半径,具体为:8. The method for extracting the center of a butt ring based on a short-range short-arc segment image according to claim 1, wherein in the step (4), the inner edge and the outer edge are distinguished in a plane perpendicular to the normal plane , using multi-point fitting, and the method with the best results performs standard perfect circle fitting respectively, and obtains the center and radius of the inner and outer edges of the butt ring, specifically: 根据canny算子得到的内边缘和外边缘,采用点的对应关系得到内边缘和外边缘点的三维坐标,计算内边缘和外边缘两组点之间的平均距离;然后分别在内边缘点组或外边缘点组中随机选取三个点进行正圆中心和半径的拟合,判断该组内其它点与拟合圆的距离,距离总和最小的认为是最佳结果,分别输出,得到对接环内外边缘的中心和半径。According to the inner edge and outer edge obtained by the canny operator, the three-dimensional coordinates of the inner edge and the outer edge point are obtained by using the corresponding relationship of the points, and the average distance between the two groups of points on the inner edge and the outer edge is calculated; Or randomly select three points in the outer edge point group to fit the center and radius of the perfect circle, judge the distance between other points in the group and the fitted circle, the smallest sum of distances is considered as the best result, and output them respectively to get the docking ring The center and radius of the inner and outer edges.
CN201510568069.9A 2015-09-08 2015-09-08 A method for extracting the center of butt ring based on short-range short-arc segment images Active CN105261047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510568069.9A CN105261047B (en) 2015-09-08 2015-09-08 A method for extracting the center of butt ring based on short-range short-arc segment images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510568069.9A CN105261047B (en) 2015-09-08 2015-09-08 A method for extracting the center of butt ring based on short-range short-arc segment images

Publications (2)

Publication Number Publication Date
CN105261047A CN105261047A (en) 2016-01-20
CN105261047B true CN105261047B (en) 2019-04-09

Family

ID=55100718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510568069.9A Active CN105261047B (en) 2015-09-08 2015-09-08 A method for extracting the center of butt ring based on short-range short-arc segment images

Country Status (1)

Country Link
CN (1) CN105261047B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107238374B (en) * 2017-05-04 2019-05-07 华南农业大学 A Classification, Identification and Positioning Method of Irregular Plane Parts
TWI657691B (en) * 2017-05-24 2019-04-21 鈺立微電子股份有限公司 Device capable of correcting wrong normal vectors of an original three-dimensional scan result and related method thereof
CN107248163B (en) * 2017-06-12 2020-11-10 天津大学 A method for automatic generation of decorative pattern for rotationally symmetric porcelain
CN108225319B (en) * 2017-11-30 2021-09-07 上海航天控制技术研究所 Monocular vision rapid relative pose estimation system and method based on target characteristics
CN109470170B (en) * 2018-12-25 2020-01-07 山东大学 High-precision measurement method and system of stereo vision space circular pose based on optimal projection plane
CN110068279B (en) * 2019-04-25 2021-02-02 重庆大学产业技术研究院 Prefabricated part plane circular hole extraction method based on point cloud data
CN110619660A (en) * 2019-08-21 2019-12-27 深圳市优必选科技股份有限公司 Object positioning method and device, computer readable storage medium and robot
CN110647156B (en) * 2019-09-17 2021-05-11 中国科学院自动化研究所 Method and system for adjusting the pose of a docking device based on a target docking ring
CN111127542B (en) * 2019-11-14 2023-09-29 北京控制工程研究所 Image-based non-cooperative target docking ring extraction method
CN111460624B (en) * 2020-03-11 2023-11-10 中奕智创医疗科技有限公司 Mathematical modeling method and device for human organs and storage medium
CN111739039B (en) * 2020-08-05 2020-11-13 北京控制与电子技术研究所 Rapid centroid positioning method, system and device based on edge extraction
CN112556658B (en) * 2020-09-24 2022-10-21 北京空间飞行器总体设计部 Butt joint ring capture point measuring method and system based on binocular stereo vision
CN114881955B (en) * 2022-04-28 2023-05-12 厦门微亚智能科技有限公司 Annular point cloud defect extraction method, device and equipment storage medium based on slice
CN116447977B (en) * 2023-06-16 2023-08-29 北京航天计量测试技术研究所 Round hole feature measurement and parameter extraction method based on laser radar
CN116697914B (en) * 2023-08-04 2023-10-17 南京航空航天大学 A real-time measurement method for assembly gaps based on digital twins

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001056883A1 (en) * 2000-02-02 2001-08-09 The Boeing Company Twin lobe spacecraft dispenser apparatus and method
CN102538793A (en) * 2011-12-23 2012-07-04 北京控制工程研究所 Double-base-line non-cooperative target binocular measurement system
CN104101331A (en) * 2014-07-24 2014-10-15 合肥工业大学 Method used for measuring pose of non-cooperative target based on complete light field camera
JP2015018324A (en) * 2013-07-09 2015-01-29 シャープ株式会社 Lens tilt detection device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001056883A1 (en) * 2000-02-02 2001-08-09 The Boeing Company Twin lobe spacecraft dispenser apparatus and method
CN102538793A (en) * 2011-12-23 2012-07-04 北京控制工程研究所 Double-base-line non-cooperative target binocular measurement system
JP2015018324A (en) * 2013-07-09 2015-01-29 シャープ株式会社 Lens tilt detection device
CN104101331A (en) * 2014-07-24 2014-10-15 合肥工业大学 Method used for measuring pose of non-cooperative target based on complete light field camera

Also Published As

Publication number Publication date
CN105261047A (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN105261047B (en) A method for extracting the center of butt ring based on short-range short-arc segment images
CN103247045B (en) A kind of method obtaining artificial scene principal direction and image border from multi views
Chen et al. Automatic extraction of discontinuity orientation from rock mass surface 3D point cloud
CN103727930B (en) A kind of laser range finder based on edge matching and camera relative pose scaling method
CN104778720B (en) A kind of fast volume measuring method based on space invariance characteristic
CN102938142B (en) Based on the indoor LiDAR missing data complementing method of Kinect
CN101216895B (en) An automatic extracting method for ellipse image features in complex background images
CN102589530B (en) Method for measuring position and gesture of non-cooperative target based on fusion of two dimension camera and three dimension camera
CN103295239B (en) A kind of autoegistration method of the laser point cloud data based on datum plane image
CN108665499B (en) Near distance airplane pose measuring method based on parallax method
CN107767456A (en) A kind of object dimensional method for reconstructing based on RGB D cameras
CN103761524A (en) Image-based linear target recognition and extraction method
CN106981081A (en) A kind of degree of plainness for wall surface detection method based on extraction of depth information
CN104077760A (en) Rapid splicing system for aerial photogrammetry and implementing method thereof
CN107862735B (en) RGBD three-dimensional scene reconstruction method based on structural information
CN104091369A (en) Unmanned aerial vehicle remote-sensing image building three-dimensional damage detection method
CN103697883B (en) A kind of aircraft horizontal attitude defining method based on skyline imaging
He et al. A value recognition algorithm for pointer meter based on improved Mask-RCNN
CN103871072B (en) Automatic extraction method of orthophoto mosaic line based on projection digital elevation model
CN107220996B (en) A matching method of UAV linear array and area array images based on the consistent triangular structure
CN109472802A (en) A Surface Mesh Model Construction Method Based on Edge Feature Self-Constraint
CN109087323A (en) A kind of image three-dimensional vehicle Attitude estimation method based on fine CAD model
CN102930525A (en) Line matching method based on affine invariant feature and homography
CN107238375A (en) Detect the one camera photogrammetric survey method of bridge rubber bearing displacement
CN106500594B (en) Merge the railroad track method for semi-automatically detecting of reflected intensity and geometric properties

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant