CN100557379C - The binocular stereo vision measurement method of geometric parameters of spatial circle - Google Patents

The binocular stereo vision measurement method of geometric parameters of spatial circle Download PDF

Info

Publication number
CN100557379C
CN100557379C CNB2008100506304A CN200810050630A CN100557379C CN 100557379 C CN100557379 C CN 100557379C CN B2008100506304 A CNB2008100506304 A CN B2008100506304A CN 200810050630 A CN200810050630 A CN 200810050630A CN 100557379 C CN100557379 C CN 100557379C
Authority
CN
China
Prior art keywords
circle
space
plane
image
coordinate
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
Application number
CNB2008100506304A
Other languages
Chinese (zh)
Other versions
CN101261115A (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.)
Jilin University
Original Assignee
Jilin University
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 Jilin University filed Critical Jilin University
Priority to CNB2008100506304A priority Critical patent/CN100557379C/en
Publication of CN101261115A publication Critical patent/CN101261115A/en
Application granted granted Critical
Publication of CN100557379C publication Critical patent/CN100557379C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a kind of binocular stereo vision measurement method that is applicable to the geometric parameters of spatial circle of the geometric parameters of spatial circle non-contact type on-line measurement on the industrial products.Be intended to overcome the problem that measuring accuracy is not high, measuring speed is slow and automaticity is low of existence.Method is divided into calibration phase, Flame Image Process stage and space circle match stage.At first adopt nerual network technique to carry out camera calibration, utilize twin camera that space circle is carried out the sub-pix Edge extraction, develop simple algorithm based on the gradient of image and gray scale distribution characteristics then and realize the marginal point coupling, obtain the actual three dimensional space coordinate of rounded edge, at last by relevant mathematics geometric knowledge match space circle, try to achieve the geometric parameter of space circle, comprise the orientation on its radius, home position and plane, space circle place.Image processing speed of the present invention is fast, the automaticity height, and when angled about 50 ° of plane, space circle place and the plane of delineation, the relative error of measurement space circle is better than ± and 0.6%.

Description

The binocular stereo vision measurement method of geometric parameters of spatial circle
Technical field
The present invention relates to a kind of method that is applicable to the geometric parameters of spatial circle non-contact type on-line measurement on the industrial products, more particularly, it relates to a kind of binocular stereo vision measurement method of geometric parameters of spatial circle.
Background technology
Circle is a fundamental element of forming geometry of objects, and its precision characteristic often has influence on the final performance of entire product, thereby the geometric parameter of space circle has accurately been measured crucial meaning.Traditional geometric parameters of spatial circle measuring method adopts three coordinate measuring machine to carry out, but three coordinate measuring machine is bulky, and inconvenience is carried, and is contact type measurement, can not satisfy the needs that on-line measurement and large-scale circular hole are measured.Continuous development along with Flame Image Process, computer technology and industrial camera manufacture level, computer vision technique has also obtained development at full speed, can realize the quick measurement of object attitude and size in three dimensions, have that speed is fast, automaticity is high, good, the non-contacting advantage of precision, become important means and developing direction that product manufacturing dimension is measured just gradually.
More existing scholars did research for the vision measuring method of geometric parameters of spatial circle:
The method used of comrade Zhang Jianxin of University Of Tianjin be at first on the plane of delineation marginal point match circle with oval image draw centre coordinate, and then come (Zhang Jianxin by the three-dimensional coordinate that the inverse process of demarcating is obtained the space circle center of circle, the applied research of technique of binocular stereoscopic vision in commercial measurement, University Of Tianjin's doctorate paper, 1996), this method exists the error of principle, because it has ignored the change of shape that perspective projection brings, mistake is just big more more when the plane of delineation and plane included angle, space circle place, and can not the measurement space radius of a circle and the plane equation at circle place.
2. be published in Chinese Control in 2004 by Hu Chunhua, the cleer and peaceful Zhu Ji flood of scholar Liu three comrades and concentrate the paper of exercise question for " circle center image deformation error model research in the vision measurement " with the academic nd Annual Meeting of decision-making, careful analysis the difference between oval image center and the space circle center of circle subpoint, but do not provide the method for error compensation.
3. Chinese patent patent No. ZL 03142659.X, publication number CN1566900, open day 2005.01.19, applicant BJ University of Aeronautics ﹠ Astronautics, the vision measuring method of a kind of geometric parameters of spatial circle of invention and created name, this application case has proposed to utilize the polar curve constraint to obtain the actual three dimensional space coordinate of rounded edge and then carry out the space circle fitting method, its weak point is that this method needs artificial position and the quantity of determining polar curve, last measuring accuracy can be subjected to artificial factor, and the video camera measuring distance under its precision does not provide simultaneously.
4. Chinese patent application numbers 200710043742.2, applying date 2007.07.11, publication number CN101093160, open day 2007.12.26, applicant Shanghai Communications University, invention and created name is based on the measuring method of the geometric parameters of spatial circle of binocular stereo vision, the binocular stereo vision space circle measuring method that this application case proposes, though it is very suitable for independent navigation, but when industrial products are measured, world coordinate system is based upon circle centre position, and perhaps the method with left camera coordinate system opening relationships is unfavorable for global calibration.
Summary of the invention
Technical matters to be solved by this invention is to have overcome the problem that prior art exists, and a kind of binocular stereo vision measurement method of geometric parameters of spatial circle is provided.Make that space circle (comprising round place plane equation, radius of a circle and central coordinate of circle) measuring process automaticity is strong, both can satisfy the industrial products accuracy requirement, can reach very high precision again, and real-time.
For solving the problems of the technologies described above, the present invention adopts following technical scheme to be achieved.The binocular stereo vision measurement method of geometric parameters of spatial circle adopts calibration phase, Flame Image Process stage and space circle match stage.
The concrete steps of described calibration phase are as follows:
1) sets the 3 D stereo target, be covered with chequered with black and white gridiron pattern on the target face, tessellated size is 20mm * 20mm, with the public angle point of black box and white square as feature point for calibration, the quantity of feature point for calibration is 250~600, is that initial point is set up world coordinate system with three target hand-deliver points of three-dimensional target;
2) the fixed installation left and right cameras is set up the binocular tri-dimensional vision system, places three-dimensional target in the public view field scope of two video cameras, and photographic images for obtaining the image coordinate of feature point for calibration, improves Harris angle point extraction algorithm;
3) with left and right sides Method of Homonymy Points on Image to coordinate (u Il, v Il, u Ir, v Ir) as input, (z) as output, whole coordinate points is to being divided into three groups respectively as training sample, confirmatory sample and the test sample book of neural network for x, y for the feature point for calibration three-dimensional coordinate;
4) sample data is carried out normalized, make data area between-1~1;
5) set up network, the hidden neuron number is made as variable, mean square deviation is carried out network training as objective function, chooses the final neuron number of variable conduct that makes the objective function minimum, and suitably adopts the premature termination strategy, preserves network after training is finished;
6) utilization confirmatory sample and test sample book are confirmed the neural network of having built up and are tested, the generalization ability and the precision of checking network.
The concrete steps in described Flame Image Process stage are as follows:
1) space circle to be measured is placed in the public view field of binocular tri-dimensional vision system and takes, obtaining two width of cloth, to comprise the image of oval image of space circle right;
2) the logical OR computing between the utilization image, circle to be measured zone is separated from background image;
3) utilize 3 * 3 mean filter that image is handled earlier, remove the noise of some type in the image; Utilize median filter further to suppress noise again;
4) with the publish picture whole pixel edge of oval image of space circle on the picture plane of canny operator extraction, it is right to obtain the point that one group of coordinate by oval image edge pixel constitutes on the image of the left and right sides respectively;
5) with the shade of gray of image as matching characteristic, the utilization image is realized the coupling one by one of 2 image rounded edge points to shade of gray distance, neighborhood support and three constraint conditions of uniqueness, promptly respectively to the sad value setting threshold of shade of gray distance between the image border point of the left and right sides and marginal point neighborhood inside gradient and require satisfied uniqueness of mating to be limited;
6) utilization method of interpolation is rapidly and efficiently carried out floating-point operation to match point to coordinate, is accurate to the sub-pixel precision.
The concrete steps in described space circle match stage are as follows:
1), obtains the three dimensional space coordinate of space circle marginal point according to the neural network of having set up;
2) match on plane, space circle place;
3) rotation of space plane;
4) match of flat circle;
Obtain the plane equation on geometric center, radius and the plane, circle place of space circle.
Harris angle point extraction algorithm is improved described in the technical scheme is meant: be provided with one and merge threshold value on the basis of former algorithm, if two angle points just average interpolation arithmetic in merging threshold range, otherwise then keep former angular coordinate.The average interpolation operational formula is as follows:
u m = u i + u j 2 v n = v i + v j 2
u i, u jThe angle point horizontal ordinate that extracts for original Harris algorithm;
v i, v jThe angle point ordinate that extracts for original Harris algorithm;
u m, v nFor improving angle point horizontal stroke, the ordinate that back Harris algorithm extracts.
The match on the plane, space circle place described in the technical scheme is meant: the equation of space plane can be expressed as z=Ax+By+C, utilize the method for regretional analysis according to Gauss-markov linear model, distribution situation by the space circle coordinate points draws the regression plane equation, can obtain the normal vector of space plane.
The rotation of the space plane described in the technical scheme is meant: the normal vector of establishing space plane is for (C), α, β, γ are respectively plane normal and x for A, B w, y w, z wThe angle of axle then has relational expression:
cos α = A A 2 + B 2 + C 2 cos β = B A 2 + B 2 + C 2 cos γ = C A 2 + B 2 + C 2 - - - ( 1 )
Knowledge by space analysis geometry can pivot to space plane the position parallel with coordinate plane.
The match of the flat circle described in the technical scheme is meant: through the match on plane, space circle place and rotation two steps of space plane, space circle has been rotated on the plane parallel, used least square method that flat circle is carried out match again with coordinate plane.If the data point of match circular curve has n, circular curve can be expressed as x i 2+ y i 2+ Dx i+ Ey i+ F=0.
Error function e then i=x iD+y iE+F+l i, l wherein i=x i 2+ y i 2Can list n error equation by n error function.Because of having only 3 unknown numbers, so can form 3 rank normal equations:
[ xx ] [ xy ] [ x ] [ xy ] [ yy ] [ y ] [ x ] [ y ] n D E F = - [ x ( x 2 + y 2 ) ] - [ y ( x 2 + y 2 ) ] - [ x 2 + y 2 ] - - - ( 2 )
Then D E F = - [ xx ] [ xy ] [ x ] [ xy ] [ yy ] [ y ] [ x ] [ y ] n - 1 [ x ( x 2 + y 2 ) ] [ y ( x 2 + y 2 ) ] [ x 2 + y 2 ] - - - ( 3 )
Use the adjoint matrix method of inverting and solve (3) formula, at last:
Δ=nOT+2QUP-Q 2T-U 2O-nP 2 (4)
D = 1 Δ ( U 2 R - nTR + nPV - QUV + QTW - PUW ) - - - ( 5 )
E = 1 Δ ( nPR - QUR + Q 2 V - nOV + OUW - PQW ) - - - ( 6 )
F = 1 Δ ( QTR - PUR + OUV - QPV + P 2 W - OTW ) - - - ( 7 )
Wherein: O=[xx], P=[xy], Q=[x] and, R=[x (x 2+ y 2)], T=[yy], U=[y], V=[y (x 2+ y 2)],
Try to achieve D, E, after F three parameters, then central coordinate of circle and radius of circle are:
x 0 = - D 2 y 0 = - E 2 R = 1 2 D 2 + E 2 - 4 F
Passing through contrary twiddle operation more just can be in the hope of space circle heart coordinate.
Compared with prior art the invention has the beneficial effects as follows:
1. the present invention can disposablely accurately measure all geometric parameters of space circle, and the utilization nerual network technique has been avoided the computing of loaded down with trivial details inside and outside direction parameter, and all distortion factors are included in the middle of the network.
2. the present invention can separate zone to be measured from background image, significantly reduced calculated amount, the entire image processing process is very fast, satisfies the needs that automatic online is measured in real time, in contactless industrial products on-line measurement very high using value is arranged.
3. the matching algorithm and the approximating method of the present invention's employing are easily understood, and have reduced the error of manual operation, therefore, make the measuring accuracy of the binocular stereo vision measurement method of geometric parameters of spatial circle satisfy the industrial products accuracy requirement, and can reach more high precision.
Description of drawings
The present invention is further illustrated below in conjunction with accompanying drawing:
Fig. 1 is the binocular tri-dimensional sense sensor mathematical model of the binocular stereo vision measurement method of geometric parameters of spatial circle;
Fig. 2 is the three-dimensional target synoptic diagram that is adopted in the binocular stereo vision measurement method of geometric parameters of spatial circle;
Fig. 3 is the image that adopts original Harris angle point extraction algorithm to extract;
Fig. 4 is the image that adopts the Harris angle point extraction algorithm after improving to extract;
Fig. 5 is neural metwork training figure;
Fig. 6 is the left measurement image that adopts the binocular tri-dimensional vision system in the binocular stereo vision measurement method of geometric parameters of spatial circle to take;
Fig. 7 is the right measurement image that adopts the binocular tri-dimensional vision system in the binocular stereo vision measurement method of geometric parameters of spatial circle to take;
Fig. 8 is the logical OR computing between the image that adopts in the binocular stereo vision measurement method of geometric parameters of spatial circle splits circle to be measured zone from background image the left measurement image through amplifying;
Fig. 9 is the logical OR computing between the image that adopts in the binocular stereo vision measurement method of geometric parameters of spatial circle splits circle to be measured zone from background image the right measurement image through amplifying;
Figure 10 adopts the canny operator extraction to publish picture to measure the whole pixel edge image of oval image as the left side of space circle on the plane;
Figure 11 adopts the canny operator extraction to publish picture to measure the whole pixel edge image of oval image as the right side of space circle on the plane;
Figure 12 is the image coordinate of left image bore edges match point to be measured;
Figure 13 is the image coordinate of right image bore edges match point to be measured;
Figure 14 is the three dimensional space coordinate at space circle edge.
Embodiment
Below in conjunction with accompanying drawing the present invention is explained in detail:
Consult Fig. 1, shown in the figure is the binocular tri-dimensional vision system of optional position.O wx wy wz wBe world coordinate system, O lx ly lz lAnd O rx ry rz rBe respectively the left and right cameras coordinate system, o lu lv lAnd o ru rv rBeing respectively with the pixel is the left and right sides image coordinate system of unit.The binocular stereo vision measurement method of geometric parameters of spatial circle can be divided into calibration phase, Flame Image Process stage and space circle match stage, and its concrete implementation step is as follows:
1. calibration phase
1) sets the 3 D stereo target, be covered with chequered with black and white gridiron pattern on the target face, tessellated size is 20mm * 20mm, with the public angle point of black box and white square as feature point for calibration, the quantity of feature point for calibration is 250~600, with three target hand-deliver points of three-dimensional target is that initial point is set up world coordinate system, so the volume coordinate of feature point for calibration under world coordinate system just known.
2) fix left and right cameras and set up the binocular tri-dimensional vision system, in the public view field scope of two video cameras, place three-dimensional target, photographic images.For obtaining the image coordinate of feature point for calibration, to Harris angle point extraction algorithm (C.G.Harris and M.J.Stephens.A combined corner and edgedetector[J] .Proceedings Fourth Alvey Vision Conference, Manchester.1988,147-151) improve, thereby eliminate the polysemy phenomenon of former algorithm existence and improve coordinate precision.The improvement algorithm is: be provided with one and merge threshold value on the basis of former algorithm, if two angle points just average interpolation arithmetic in merging threshold range, otherwise then keep former angular coordinate.The average interpolation operational formula is as follows:
u m = u i + u j 2 v n = v i + v j 2
u i, u jThe angle point horizontal ordinate that extracts for original Harris algorithm;
v i, v jThe angle point ordinate that extracts for original Harris algorithm;
u m, v nFor improving angle point horizontal stroke, the ordinate that back Harris algorithm extracts;
3) with left and right sides Method of Homonymy Points on Image to coordinate (u Il, v Il, u Ir, v Ir) as input, (z) as output, whole coordinate points is to being divided into three groups respectively as training sample, confirmatory sample and the test sample book of neural network for x, y for the feature point for calibration three-dimensional coordinate.
4) sample data is carried out normalized (A.S.Weigand, D.E.Rumelhart, B.A.Hubeman.Generalization by weight elimination with application toforcasting.In Advances in Neural Information Processing System3, R.P.Lippman, J.E.Moody and D.J.Touretzky, eds, San Mateo, CA:MorganKaufmann, 1991,575-582), make data area between-1~1.
5) set up network, the hidden neuron number is made as variable, mean square deviation is carried out network training as objective function, choose the final neuron number of variable conduct that makes the objective function minimum, and suitably adopt premature termination (W.S.Sarle.Stopped training and other remendies for overfitting, toappear in Proceedings of the 27 ThSymposium on the Interface, 1995) strategy, after finishing, training preserves network.
6) utilization confirmatory sample and test sample book are confirmed the neural network of having built up and are tested, the generalization ability and the precision of checking network.
2. Flame Image Process stage
1) space circle to be measured is placed in the public view field of stereo visual system and takes, obtaining two width of cloth, to comprise the image of oval image of space circle right.
2) the logical OR computing between the utilization image, circle to be measured zone is separated from background image.
3) utilize 3 * 3 mean filter that image is handled earlier, remove the noise of some type in the image; Utilize median filter further to suppress noise again, can protect marginal information, for edge extracting is laid a good foundation.
4) with the publish picture whole pixel edge of oval image of space circle on the picture plane of canny operator extraction, it is right to obtain the point that one group of coordinate by oval image boundary pixel constitutes on the image of the left and right sides respectively.
5) with the shade of gray of image as matching characteristic, the utilization image is realized the coupling one by one of 2 image rounded edge points to three constraint conditions such as a shade of gray distance, neighborhood support and uniqueness, promptly respectively SAD (Sum of AbsoluteDifferences, absolute difference sum) the value setting threshold of shade of gray distance between the image border point of the left and right sides and marginal point neighborhood inside gradient and the uniqueness that requires to satisfy coupling are limited.
6) utilization method of interpolation (Wu Xiaobo etc. rapidly and efficiently, use the resolution that polynomial interpolating function improves the area array CCD dimensional measurement, be published in Chinese journal of scientific instrument, 1996,7 (2): 154) match point is carried out floating-point operation to coordinate, be accurate to the sub-pixel precision.
3. space circle match stage
1), obtains the three dimensional space coordinate of space circle marginal point according to the neural network of having set up.
2) match on plane, space circle place
The equation of space plane can be expressed as z=Ax+By+C, utilize the method for regretional analysis according to Gauss's one markov linear model, distribution situation by the space circle coordinate points draws regression plane equation (Zhou Fugong, Huang Yuncheng, use linear regression analysis [M], publishing house of the Renmin University of China, 1989.8), can obtain the normal vector of space plane.
3) rotation of space plane
If the normal vector of space plane is that (C), α, β, γ are respectively plane normal and x for A, B w, y w, z wThe angle of axle then has relational expression:
cos α = A A 2 + B 2 + C 2 cos β = B A 2 + B 2 + C 2 cos γ = C A 2 + B 2 + C 2 - - - ( 1 )
Knowledge by space analysis geometry can pivot to space plane the position parallel with coordinate plane.
4) match of flat circle
Through preceding two steps, space circle has been rotated on the plane parallel with coordinate plane, use least square method that flat circle is carried out match again.If the data point of match circular curve has n, circular curve can be expressed as x i 2+ y i 2+ Dx i+ Ey i+ F=0.
Error function e then i=x iD+y iE+F+l i, l wherein i=x i 2+ y i 2Can list n error equation by n error function.Because of having only 3 unknown numbers, so can form 3 rank normal equations:
[ xx ] [ xy ] [ x ] [ xy ] [ yy ] [ y ] [ x ] [ y ] n D E F = - [ x ( x 2 + y 2 ) ] - [ y ( x 2 + y 2 ) ] - [ x 2 + y 2 ] - - - ( 2 )
Then D E F = - [ xx ] [ xy ] [ x ] [ xy ] [ yy ] [ y ] [ x ] [ y ] n - 1 [ x ( x 2 + y 2 ) ] [ y ( x 2 + y 2 ) ] [ x 2 + y 2 ] - - - ( 3 )
Use the adjoint matrix method of inverting and solve (3) formula, at last:
Δ=nOT+2QUP-Q 2T-U 2O-nP 2 (4)
D = 1 Δ ( U 2 R - nTR + nPV - QUV + QTW - PUW ) - - - ( 5 )
E = 1 Δ ( nPR - QUR + Q 2 V - nOV + OUW - PQW ) - - - ( 6 )
F = 1 Δ ( QTR - PUR + OUV - QPV + P 2 W - OTW ) - - - ( 7 )
Wherein:
O=[xx],P=[xy],Q=[x],R=[x(x 2+y 2)],T=[yy],U=[y],V=[y(x 2+y 2)],
Try to achieve D, E, after F three parameters, then central coordinate of circle and radius of circle are:
x 0 = - D 2 y 0 = - E 2 R = 1 2 D 2 + E 2 - 4 F
Passing through contrary twiddle operation more just can be in the hope of space circle heart coordinate.
Like this, all geometric parameters of space circle comprise that plane, space circle place, space central coordinate of circle and space circle radius size all measured.
Embodiment
According to the step of the method for narrating above, the model of employing left and right cameras is the CMOS of DH-HV1302UM-T, and resolution is 1280 * 1024, and camera lens is the CCTV lens of 12.5mm-75mm F1.8.
Represented among Fig. 2 is three-dimensional target figure.Represented among Fig. 3 is the image that the Harris algorithm angle point before utilization improves extracts.Represented among Fig. 4 is the image that the Harris algorithm angle point after utilization improves extracts.To as importing, the volume coordinate under the world coordinate system is as output with the angular coordinate of the same name that obtains.Have 588 pairs of coordinates, the choosing wherein 294 pairs as training sample set, 147 pairs is the confirmatory sample collection, 147 pairs as the test sample book collection.Represented among Fig. 5 is the training plan of neural network, and drawing best hidden neuron number is 16, preserves network.Represented among Fig. 6 is that the binocular tri-dimensional vision system contains the left measurement image that space circular hole part is taken to one.Represented among Fig. 7 is that the binocular tri-dimensional vision system contains the right measurement image that space circular hole part is taken to one.Represented among Fig. 8 is the logical OR computing between image splits circle to be measured zone from background image the left measurement image through amplifying.Represented among Fig. 9 is the logical OR computing between image splits circle to be measured zone from background image the right measurement image through amplifying.Represented among Figure 10 is to adopt the canny operator extraction to publish picture to measure the whole pixel edge image of oval image as the left side of space circle on the plane.Represented among Figure 11 is to adopt the canny operator extraction to publish picture to measure the whole pixel edge image of oval image as the right side of space circle on the plane.Represented among Figure 12 is the distribution situation of coordinate on the plane of delineation of left image bore edges match point to be measured.Represented among Figure 13 is the distribution situation of coordinate on the plane of delineation of right image bore edges match point to be measured.Represented among Figure 14 is the three dimensional space coordinate at space circle edge.Normal vector through match space circle place plane equation is (0.30606,0.014453 ,-1), then space plane is rotated 1.2738 (Circular measures, down together) around the x axle, and then around z axle rotation 2.8443, space plane just rotates to and x like this wo wz wParallel plane position.The match of planar justifying again just can obtain the space circle parameter after contrary rotation.The plane, space circle place and the plane of delineation be into about 50 ° angle in the example, the about 2.5m of video camera measuring distance, and the space circle parameter is:
Central coordinate of circle: (246.204,197.341,261.810) mm
The normal vector on plane, circle place: (0.30606,0.014453 ,-1)
Radius of circle: R=12.986mm differs 0.076mm with the real radius of justifying.

Claims (5)

1. the binocular stereo vision measurement method of a geometric parameters of spatial circle adopts calibration phase, Flame Image Process stage and space circle match stage, it is characterized in that,
The concrete steps of described calibration phase are as follows:
1) sets the 3 D stereo target, be covered with chequered with black and white gridiron pattern on the target face, tessellated size is 20mm * 20mm, with the public angle point of black box and white square as feature point for calibration, the quantity of feature point for calibration is 250~600, is that initial point is set up world coordinate system with three target hand-deliver points of three-dimensional target;
2) the fixed installation left and right cameras is set up the binocular tri-dimensional vision system, places three-dimensional target in the public view field scope of two video cameras, and photographic images for obtaining the image coordinate of feature point for calibration, improves Harris angle point extraction algorithm;
3) with left and right sides Method of Homonymy Points on Image to coordinate (u Il, v Il, u Ir, v Ir) as input, (z) as output, whole coordinate points is to being divided into three groups respectively as training sample, confirmatory sample and the test sample book of neural network for x, y for the feature point for calibration three-dimensional coordinate;
4) sample data is carried out normalized, make data area between-1~1;
5) set up network, the hidden neuron number is made as variable, mean square deviation is carried out network training as objective function, chooses the final neuron number of variable conduct that makes the objective function minimum, and suitably adopts the premature termination strategy, preserves network after training is finished;
6) utilization confirmatory sample and test sample book are confirmed the neural network of having built up and are tested, the generalization ability and the precision of checking network;
The concrete steps in described Flame Image Process stage are as follows:
1) space circle to be measured is placed in the public view field of binocular tri-dimensional vision system and takes, obtaining two width of cloth, to comprise the image of oval image of space circle right;
2) the logical OR computing between the utilization image, circle to be measured zone is separated from background image;
3) utilize 3 * 3 mean filter that image is handled earlier, remove the noise of some type in the image; Utilize median filter further to suppress noise again;
4) with the publish picture whole pixel edge of oval image of space circle on the picture plane of canny operator extraction, it is right to obtain the point that one group of coordinate by oval image edge pixel constitutes on the image of the left and right sides respectively;
5) with the shade of gray of image as matching characteristic, the utilization image is realized the coupling one by one of 2 image rounded edge points to shade of gray distance, neighborhood support and three constraint conditions of uniqueness, promptly respectively to the sad value setting threshold of shade of gray distance between the image border point of the left and right sides and marginal point neighborhood inside gradient and require satisfied uniqueness of mating to be limited;
6) utilization method of interpolation is rapidly and efficiently carried out floating-point operation to match point to coordinate, is accurate to the sub-pixel precision;
The concrete steps in described space circle match stage are as follows:
1), obtains the three dimensional space coordinate of space circle marginal point according to the neural network of having set up;
2) match on plane, space circle place;
3) rotation of space plane;
4) match of flat circle;
Obtain the plane equation on geometric center, radius and the plane, circle place of space circle.
2. according to the binocular stereo vision measurement method of the described geometric parameters of spatial circle of claim 1, it is characterized in that, described Harris angle point extraction algorithm is improved is meant: be provided with one and merge threshold value on the basis of former algorithm, if two angle points just average interpolation arithmetic in merging threshold range, otherwise then keep former angular coordinate; The average interpolation operational formula is as follows:
u m = u i + u j 2 v n = v i + v j 2
u i, u jThe angle point horizontal ordinate that extracts for original Harris algorithm;
v i, v jThe angle point ordinate that extracts for original Harris algorithm;
u m, v nFor improving angle point horizontal stroke, the ordinate that back Harris algorithm extracts.
3. according to the binocular stereo vision measurement method of the described geometric parameters of spatial circle of claim 1, it is characterized in that, the match on plane, described space circle place is meant: the equation of space plane can be expressed as z=Ax+By+C, utilize the method for regretional analysis according to Gauss-markov linear model, distribution situation by the space circle coordinate points draws the regression plane equation, can obtain the normal vector of space plane.
4. according to the binocular stereo vision measurement method of the described geometric parameters of spatial circle of claim 1, it is characterized in that the rotation of described space plane is meant: the normal vector of establishing space plane is for (C), α, β, γ are respectively plane normal and x for A, B w, y w, z wThe angle of axle then has relational expression:
cos α = A A 2 + B 2 + C 2 cos β = B A 2 + B 2 + C 2 cos γ = C A 2 + B 2 + C 2 - - - ( 1 )
Knowledge by space analysis geometry can pivot to space plane the position parallel with coordinate plane.
5. according to the binocular stereo vision measurement method of the described geometric parameters of spatial circle of claim 1, it is characterized in that, the match of described flat circle is meant: through the match on plane, space circle place and rotation two steps of space plane, space circle has been rotated on the plane parallel with coordinate plane, use least square method that flat circle is carried out match again, if the data point of match circular curve has n, circular curve can be expressed as x i 2+ y i 2+ Dx i+ Ey i+ F=0,
Error function e then i=x iD+y iE+F+l i, l wherein i=x i 2+ y i 2, can list n error equation by n error function, because of having only 3 unknown numbers, so can form 3 rank normal equations:
[ xx ] [ xy ] [ x ] [ xy ] [ yy ] [ y ] [ x ] [ y ] n D E F = - [ x ( x 2 + y 2 ) ] - [ y ( x 2 + y 2 ) ] - [ x 2 + y 2 ] - - - ( 2 )
Then D E F = - [ xx ] [ xy ] [ x ] [ xy ] [ yy ] [ y ] [ x ] [ y ] n - 1 [ x ( x 2 + y 2 ) ] [ y ( x 2 + y 2 ) ] [ x 2 + y 2 ] - - - ( 3 )
Use the adjoint matrix method of inverting and solve (3) formula, at last:
Δ=nOT+2QUP-Q 2T-U 2O-nP 2 (4)
D = 1 Δ ( U 2 R - nTR + nPV - QUV + QTW - PUW ) - - - ( 5 )
E = 1 Δ ( nPR - QUR + Q 2 V - nOV + OUW - PQW ) - - - ( 6 )
F = 1 Δ ( QTR - PUR + OUV - QPV + P 2 W - OTW ) - - - ( 7 )
Wherein: O=[xx], P=[xy], Q=[x] and, R=[x (x 2+ y 2)], T=[yy], U=[y], V=[y (x 2+ y 2)],
Try to achieve D, E, after F three parameters, then central coordinate of circle and radius of circle are:
x 0 = - D 2 y 0 = - E 2 R = 1 2 D 2 + E 2 - 4 F
Passing through contrary twiddle operation more just can be in the hope of space circle heart coordinate.
CNB2008100506304A 2008-04-24 2008-04-24 The binocular stereo vision measurement method of geometric parameters of spatial circle Expired - Fee Related CN100557379C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2008100506304A CN100557379C (en) 2008-04-24 2008-04-24 The binocular stereo vision measurement method of geometric parameters of spatial circle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2008100506304A CN100557379C (en) 2008-04-24 2008-04-24 The binocular stereo vision measurement method of geometric parameters of spatial circle

Publications (2)

Publication Number Publication Date
CN101261115A CN101261115A (en) 2008-09-10
CN100557379C true CN100557379C (en) 2009-11-04

Family

ID=39961719

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2008100506304A Expired - Fee Related CN100557379C (en) 2008-04-24 2008-04-24 The binocular stereo vision measurement method of geometric parameters of spatial circle

Country Status (1)

Country Link
CN (1) CN100557379C (en)

Families Citing this family (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101571953B (en) * 2009-05-20 2012-04-25 深圳泰山在线科技有限公司 Object detection method, system and stereoscopic vision system
JP5337658B2 (en) * 2009-10-02 2013-11-06 株式会社トプコン Wide-angle imaging device and measurement system
CN101907448B (en) * 2010-07-23 2013-07-03 华南理工大学 Depth measurement method based on binocular three-dimensional vision
CN101995219B (en) * 2010-11-05 2012-11-14 天津工业大学 Three-point coding mark point based method for measuring key points of vehicle frame
TWI437476B (en) * 2011-02-24 2014-05-11 Au Optronics Corp Interactive stereo display system and method for calculating three dimensional coordinate
CN102288115B (en) * 2011-07-11 2013-04-17 南京信息工程大学 Method for precisely measuring roller geometric dimension on line
CN102322799A (en) * 2011-08-24 2012-01-18 苏州生物医学工程技术研究所 Space measurement positioning system for X-ray imaging device and method
CN102930544B (en) * 2012-11-05 2014-06-18 北京理工大学 Parameter calibration system of vehicle-mounted camera
CN103047943B (en) * 2012-12-31 2016-04-06 吉林大学 Based on the door skin geomery detection method of single projection coded structured light
CN103075973A (en) * 2012-12-31 2013-05-01 吉林大学 Non-contact online inspection method for automobile body gap size
CN103400377B (en) * 2013-07-22 2016-04-20 上海理工大学 A kind of three-dimensional circular target based on binocular stereo vision detects and determination methods
CN103455144B (en) * 2013-08-22 2017-04-12 深圳先进技术研究院 Vehicle-mounted man-machine interaction system and method
CN104330041A (en) * 2014-09-30 2015-02-04 中铁山桥集团有限公司 Measuring method for track switch steel rail member drill hole dimension
CN104634248B (en) * 2015-02-04 2017-02-22 西安理工大学 Revolving shaft calibration method under binocular vision
CN104897062B (en) * 2015-06-26 2017-10-27 北方工业大学 Visual measurement method and device for shape and position deviation of part non-coplanar parallel holes
CN105488807A (en) * 2015-12-25 2016-04-13 傅之成 Method for calibrating and rectifying telecentric lens
CN105444696B (en) * 2015-12-30 2018-04-24 天津大学 A kind of binocular ranging method and its application based on perspective projection line measurement model
CN106127789A (en) * 2016-07-04 2016-11-16 湖南科技大学 Stereoscopic vision scaling method in conjunction with neutral net Yu virtual target
CN106767422B (en) * 2017-03-01 2019-05-14 长春工程学院 Multiple unit train body critical size detection system solution neural network based
CN108038878B (en) * 2017-11-07 2021-02-12 武汉中观自动化科技有限公司 Method and system for determining normal direction and radius of mark point in photogrammetry
CN107909085A (en) * 2017-12-01 2018-04-13 中国科学院长春光学精密机械与物理研究所 A kind of characteristics of image Angular Point Extracting Method based on Harris operators
CN108871228B (en) * 2018-05-11 2019-11-22 天津大学 Binocular vision circular feature geometric parameter estimation method based on geometrical constraint
CN109470170B (en) * 2018-12-25 2020-01-07 山东大学 Stereoscopic vision space circular attitude high-precision measurement method and system based on optimal projection plane
CN109859206A (en) * 2019-02-28 2019-06-07 易思维(杭州)科技有限公司 A kind of extracting method of circular hole feature
CN109902696B (en) * 2019-03-06 2021-01-15 北京石油化工学院 Dangerous chemical stacking distance measurement method based on segmented straight line fitting
CN110110131B (en) * 2019-05-23 2021-04-13 北京航空航天大学 Airplane cable support identification and parameter acquisition method based on deep learning and binocular stereo vision
CN110443879B (en) * 2019-07-24 2021-06-11 华中科技大学 Perspective error compensation method based on neural network
CN110617772A (en) * 2019-10-09 2019-12-27 南京天创电子技术有限公司 Non-contact type line diameter measuring device and method
CN111209870A (en) * 2020-01-09 2020-05-29 杭州涂鸦信息技术有限公司 Binocular living body camera rapid registration method, system and device thereof
CN111408066B (en) * 2020-03-19 2021-04-16 山东大学 Tumor position calibration system and equipment based on magnetic resonance image
CN112254656B (en) * 2020-09-24 2022-02-11 哈尔滨工业大学 Stereoscopic vision three-dimensional displacement measurement method based on structural surface point characteristics
CN112526154B (en) * 2020-11-21 2021-09-03 西安交通大学 Unmarked measuring method for motion of circular template matching rotating structure under computer vision
CN112489065B (en) * 2020-11-27 2023-07-07 广东奥普特科技股份有限公司 Chessboard standard point sub-pixel extraction method
CN112381880A (en) * 2020-11-27 2021-02-19 航天科工智能机器人有限责任公司 Binocular vision pose estimation method based on circle features
CN112729167B (en) * 2020-12-21 2022-10-25 福建汇川物联网技术科技股份有限公司 Calculation method and device of plane equation
CN112857328B (en) * 2021-03-30 2022-06-14 宁波市特种设备检验研究院 Calibration-free photogrammetry method
CN114742876B (en) * 2022-06-13 2022-09-06 菏泽市土地储备中心 Land vision stereo measurement method

Also Published As

Publication number Publication date
CN101261115A (en) 2008-09-10

Similar Documents

Publication Publication Date Title
CN100557379C (en) The binocular stereo vision measurement method of geometric parameters of spatial circle
CN100476345C (en) Method for measuring geometric parameters of spatial circle based on technique of binocular stereoscopic vision
Sun et al. A subpixel edge detection method based on an arctangent edge model
CN105205858A (en) Indoor scene three-dimensional reconstruction method based on single depth vision sensor
CN103606147B (en) Multiple stage is not total to visual field and measures the coordinate system conversion scaling method of camera
CN104359403A (en) Plane part size measurement method based on sub-pixel edge algorithm
CN112561887B (en) Belt conveyor coal flow binocular vision measurement method based on deep migration learning
CN110009674A (en) Monocular image depth of field real-time computing technique based on unsupervised deep learning
CN109916322A (en) One kind being based on the matched digital speckle whole audience distortion measurement method of self-adapting window
CN103903260A (en) Target method for quickly calibrating intrinsic parameters of vidicon
CN109141226A (en) The spatial point coordinate measuring method of one camera multi-angle
Li et al. Research on the calibration technology of an underwater camera based on equivalent focal length
CN108765476A (en) A kind of polarization image method for registering
CN104809738A (en) Airbag overall dimension detection method based on binocular vision
CN103247029A (en) Geometric registration method for hyperspectral image generated by spliced detectors
CN104634248A (en) Revolving shaft calibration method under binocular vision
CN102749047A (en) Measuring method for size of roll bearing block
CN104050660A (en) Method for measuring workpiece round edges
CN104778716A (en) Truck carriage volume measurement method based on single image
Dufour et al. 3D surface measurements with isogeometric stereocorrelation—application to complex shapes
CN103900504A (en) Nano-scale real-time three-dimensional visual information feedback method
CN103075977A (en) Automatic combining algorithm for point cloud data in binocular stereoscopic vision system
CN102096920A (en) Target image-based sub-pixel registering method
Chen et al. Sub-pixel dimensional measurement with Logistic edge model
Chen et al. A novel monocular calibration method for underwater vision measurement

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091104

Termination date: 20150424

EXPY Termination of patent right or utility model