CN104408719B - A kind of conllinear three characteristic points monocular vision space-location method - Google Patents
A kind of conllinear three characteristic points monocular vision space-location method Download PDFInfo
- Publication number
- CN104408719B CN104408719B CN201410682742.7A CN201410682742A CN104408719B CN 104408719 B CN104408719 B CN 104408719B CN 201410682742 A CN201410682742 A CN 201410682742A CN 104408719 B CN104408719 B CN 104408719B
- Authority
- CN
- China
- Prior art keywords
- characteristic point
- coordinate
- projection
- characteristic
- points
- 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
Classifications
-
- 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
- G06T7/73—Determining position or orientation of objects or cameras using feature-based methods
-
- 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/10016—Video; Image sequence
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The present invention relates to the conllinear three characteristic points monocular vision space-location method of one kind, belong to field of machine vision.The present invention will determine positioning shooting machine system and be operated in perspective model, it is used as characteristic point by choosing three collinear points, and be wherein midpoint, characteristic point space coordinate and the relational expression of projection coordinate are determined according to perspective projection relation, the image for shooting characteristic point using video camera is used as projection coordinate, identified relational expression is resolved according to the position relationship between characteristic point, length and projection coordinate, so as to obtain the three dimensional space coordinate position of characteristic point, the positioning to characteristic point is realized.The localization method of the present invention can be completed using algebraic operation, it is to avoid interative computation, improve sterically defined precision and efficiency.
Description
Technical field
The present invention relates to the conllinear three characteristic points monocular vision space-location method of one kind, belong to technical field of machine vision.
Background technology
Monocular vision positioning is exactly only to complete positioning work with a video camera.It has easy to use and applied widely
, also will not be as full side without solving the problems, such as optimal distance and Feature Points Matching in stereoscopic vision between two video cameras etc. specific
Position vision sensor produces very big distortion like that.
In machine vision research field, how position is completed under the conditions of monocular vision and the solution of posture has become one
Individual important research direction, monocular vision location technology is applied to many aspects, for example:Camera calibration, robot localization, regard
Feel servo, target following and monitoring etc..
The researcher of various countries proposes a variety of algorithms to solve the problem of monocular vision is positioned, the spy being directed to
Levy a little have it is coplanar also have non-coplanar, the quantity of required characteristic point is also different, and algorithm uses the algorithm of iterative approach mostly,
Computational efficiency is low.
The content of the invention
The purpose of the present invention is a kind of conllinear three characteristic points monocular vision space-location method, to solve existing monocular vision
Space-location method uses the problem of computational efficiency caused by iterative approach algorithm is low and not accurate enough.
The technical scheme is that:A kind of conllinear three characteristic points monocular vision space-location method, it is characterised in that should
Localization method comprises the following steps:
1) three collinear points are chosen as characteristic point, and one of point is midpoint;
2) space coordinate of above three characteristic point and the relational expression of projection coordinate are determined according to projection projection relation;
3) image of positioning shooting machine shooting characteristic point is used as projection coordinate, according to the position between three characteristic points
Relation, length and projection coordinate are to step 2) determined by relational expression resolve, obtain characteristic point three dimensional space coordinate position
Put, realize the positioning to characteristic point.
The step 2) in determined by relational expression be:
Wherein (xa,ya,za)、(xb,yb,zb) and (x, y, z) be respectively three characteristic points A, B and C space coordinate, C is
Midpoint between AB, (xua,yua)、(xub,yub) and (xu, yu) be respectively the throwing of three characteristic points A, B and C on focal plane
Shadow coordinate, f is focal length used when shooting the projection coordinate of characteristic point.
The step 3) in positioning shooting machine be operated in perspective projection model.
The step 3) process that is resolved is as follows:
A) according to wherein for midpoint feature to step 2) determined by relational expression progress abbreviation,
z+Δz-a1*x-a1* Δ x=0
z-Δz-a2*x+a2* Δ x=0
z-a3* x=0
z+Δz-b1*y-b1* Δ y=0
z-Δz-b2*y+a2* Δ y=0
z-b3* y=0
Wherein, a1=f/xua, a2=f/xub, a3=f/xu, b1=f/yua, b2=f/yub, b3=f/yu, Δ x=xa-x
=x-xb, Δ y=ya- y=y-yb, Δ z=za- z=z-zb, the focal length that f is used when being shot by video camera, (xua,yua)、
(xub,yub), (xu, yu) be the feature point coordinates that arrives of video camera captured in real-time, a1、a2、a3、b1、b2、b3It can calculate in real time;
B) result after abbreviation further derive and can obtained:
Δ x=z/c1
Δ y=z/c2
Δ z=z/c3
Wherein c1=(a1-a2)*a3/(2a3-a1-a2), c2=(b1-b2)*b3/(2b3-b1-b2)c3=(a1-a2)*a3/
(a1*a3+a2*a3-2a1*a2);
C) length between any two characteristic point is brought into step B) relational expression and step 2 that are derived) pass that determines
It is formula, the space coordinate (x, y, z) for solving characteristic point C is:
Wherein L is AC length;
D) according to three characteristic points it is conllinear and one of them be midpoint feature and step C) the midpoint seat that calculates
Mark solves the space coordinate of other two characteristic points, so as to realize the space orientation to three collinear feature points.
The beneficial effects of the invention are as follows:The present invention will determine positioning shooting machine system and be operated in perspective model, pass through
Three collinear points are chosen as characteristic point, and are wherein midpoint, characteristic point space coordinate is determined according to perspective projection relation
With the relational expression of projection coordinate, the image using video camera shooting characteristic point is as projection coordinate, according to the position between characteristic point
Put relation, length and projection coordinate to resolve identified relational expression, so as to obtain the three dimensional space coordinate position of characteristic point
Put, realize the positioning to characteristic point.The localization method of the present invention can be completed using algebraic operation, it is to avoid interative computation, carried
High sterically defined precision and efficiency.
Brief description of the drawings
Fig. 1 is perspective projection model coordinate system schematic diagram;
Fig. 2 is characteristic point spatial relationship schematic diagram.
Embodiment
The embodiment to the present invention is further described below in conjunction with the accompanying drawings.
It is an object of the invention to provide a kind of monocular vision space-location method of conllinear three characteristic point, with quick, accurate
Completion characteristic point locus resolving.Current invention assumes that positioning shooting machine system is operated in perspective projection model.
1. choosing 3 collinear points as characteristic point, A (x are designated as respectivelya,ya,za)、B(xb,yb,zb) and C (x, y, z), A, B
Respectively two end points, C is the midpoint of AB lines, and AC length is L.
2. characteristic point space coordinate and the relation of projection coordinate are determined according to perspective projection relation.
As shown in figure 1, camera coordinate system is [Xc, Yc, Zc], image coordinate system is [xu, yu], is thrown according to perspective
Shadow equation, then have:
I.e. the x coordinate of subpoint is only related to imaging focal length, the x coordinate of characteristic point and z coordinate, and the y-coordinate of subpoint is only
It is related to imaging focal length, the y-coordinate of characteristic point and z coordinate.
Three feature point coordinates respectively A ' (xu that video camera captured in real-time is arriveda,yua)、B’(xub,yub)、C’(xu,
Yu), focal length used during shooting is f.Pass between characteristic point space coordinate and projection coordinate is determined according to perspective projection relation
It is to be:
3. according to the position relationship between three characteristic points, C is A, B midpoint, it is known that:
xa=x+ Δ x 2-1
xb=x- Δ x 2-2
ya=y+ Δ y 2-3
yb=y- Δ y 2-4
za=z+ Δ z 2-5
zb=z- Δ z 2-6
4. characteristic point space coordinate and projection according to determined by the relation pair of locus coordinate between three characteristic points
Relational expression between coordinate, which becomes, to be turned to:
5. formula is further simplified as:
z+Δz-a1*x-a1* Δ x=0 4-1
z-Δz-a2*x+a2* Δ x=0 4-2
z-a3* x=0 4-3
z+Δz-b1*y-b1* Δ y=0 4-4
z-Δz-b2*y+a2* Δ y=0 4-5
z-b3* y=0 4-6
Wherein:
a1=f/xua
a2=f/xub
a3=f/xu
b1=f/yua
b2=f/yub
b3=f/yu
F is known focal length, (xua,yua)、(xub,yub), (xu, yu) be the feature point coordinates that arrives of video camera captured in real-time,
Therefore, a1、a2、a3、b1、b2、b3It can also calculate in real time (being the equal of a datum).
Further derive and can obtain 6. formula will be obtained in step 5:
Δ x=z/c1 5-1
Δ y=z/c2 5-2
Δ z=z/c3 5-3
Wherein:
c1=(a1-a2)*a3/(2a3-a1-a2)
c2=(b1-b2)*b3/(2b3-b1-b2)
c3=(a1-a2)*a3/(a1*a3+a2*a3-2a1*a2)
7. because the information in projection process is lost, the space coordinate position of characteristic point can not be only obtained with above-listed formula
Put, it is therefore desirable to which extra and information is assisted.
Pass through demarcation in advance to characteristic point, it is known that AC length is L, then has:
Formula 5-1,5-2,5-3 substitution 5-4 can be obtained:
The z that 5-5 is solved, which is substituted into formula 1-3 and 1-6, can try to achieve x, y,
So far midpoint C space coordinate (x, y, z) is obtained.
The z that 5-5 is solved, which is substituted into formula 5-1,5-2 and 5-3, can try to achieve Δ x, Δ y, Δ z, by Δ x, Δ y, Δ z value
Substitution formula 2-1 to 2-6 can try to achieve A, B space coordinate coordinate A (xa,ya,za)、B(xb,yb,zb)。
Claims (2)
1. a kind of conllinear three characteristic points monocular vision space-location method, it is characterised in that the localization method comprises the following steps:
1) three collinear points are chosen as characteristic point, and one of point is midpoint;
2) space coordinate of above three characteristic point and the relational expression of projection coordinate are determined according to projection projection relation;
3) use the image that positioning shooting machine shoots characteristic point as projection coordinate, closed according to the position between three characteristic points
System, length and projection coordinate are to step 2) determined by relational expression resolve, obtain the three dimensional space coordinate position of characteristic point,
Realize the positioning to characteristic point;
The step 2) in determined by relational expression be:
Wherein (xa,ya,za)、(xb,yb,zb) and (x, y, z) be respectively three characteristic points A, B and C space coordinate, C be AB it
Between midpoint, (xua,yua)、(xub,yub) and (xu, yu) be respectively that projection on focal plane of three characteristic points A, B and C is sat
Mark, f is focal length used when shooting the projection coordinate of characteristic point;
The step 3) process that is resolved is as follows:
A) according to wherein for midpoint feature to step 2) determined by relational expression progress abbreviation,
z+Δz-a1*x-a1* Δ x=0
z-Δz-a2*x+a2* Δ x=0
z-a3* x=0
z+Δz-b1*y-b1* Δ y=0
z-Δz-b2*y+a2* Δ y=0
z-b3* y=0
Wherein, a1=f/xua, a2=f/xub, a3=f/xu, b1=f/yua, b2=f/yub, b3=f/yu, Δ x=xa- x=x-
xb, Δ y=ya- y=y-yb, Δ z=za- z=z-zb, f is focal length used when shooting the projection coordinate of characteristic point, (xua,
yua)、(xub,yub), (xu, yu) be the projection coordinate of three characteristic points A, B and C on focal plane, a1、a2、a3、b1、b2、b3Can
Calculate in real time;
B) result after abbreviation further derive and can obtained:
Δ x=z/c1
Δ y=z/c2
Δ z=z/c3
Wherein c1=(a1-a2)*a3/(2a3-a1-a2), c2=(b1-b2)*b3/(2b3-b1-b2), c3=(a1-a2)*a3/(a1*a3+
a2*a3-2a1*a2);
C the length between the length between characteristic point A and characteristic point C or characteristic point B and characteristic point C) is substituted into step B) pushed away
The relational expression and step 2 led) relational expression that determines, the space coordinate (x, y, z) for solving characteristic point C is:
Wherein L is AC length;
D) according to three characteristic points it is conllinear and one of them by midpoint feature and step C) the middle point coordinates that calculates asks
The space coordinate of other two characteristic points is solved, so as to realize the space orientation to three collinear feature points.
2. conllinear three characteristic points monocular vision space-location method according to claim 1, it is characterised in that the step
3) the positioning shooting machine in is operated in perspective projection model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410682742.7A CN104408719B (en) | 2014-11-24 | 2014-11-24 | A kind of conllinear three characteristic points monocular vision space-location method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410682742.7A CN104408719B (en) | 2014-11-24 | 2014-11-24 | A kind of conllinear three characteristic points monocular vision space-location method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104408719A CN104408719A (en) | 2015-03-11 |
CN104408719B true CN104408719B (en) | 2017-07-28 |
Family
ID=52646348
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410682742.7A Active CN104408719B (en) | 2014-11-24 | 2014-11-24 | A kind of conllinear three characteristic points monocular vision space-location method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104408719B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106441234B (en) * | 2016-09-22 | 2018-12-28 | 上海极清慧视科技有限公司 | Detect scaling method in a kind of 3D machine vision space |
CN106815872B (en) * | 2017-01-06 | 2020-04-28 | 芜湖瑞思机器人有限公司 | Monocular vision space positioning method based on conical projection transformation |
TWI728469B (en) * | 2018-09-27 | 2021-05-21 | 台灣塔奇恩科技股份有限公司 | Teaching path module for mobile vehicles |
CN112634360B (en) * | 2019-10-08 | 2024-03-05 | 北京京东乾石科技有限公司 | Visual information determining method, device, equipment and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7068303B2 (en) * | 2002-06-03 | 2006-06-27 | Microsoft Corporation | System and method for calibrating a camera with one-dimensional objects |
CN101702233B (en) * | 2009-10-16 | 2011-10-05 | 电子科技大学 | Three-dimension locating method based on three-point collineation marker in video frame |
-
2014
- 2014-11-24 CN CN201410682742.7A patent/CN104408719B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104408719A (en) | 2015-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104596502B (en) | Object posture measuring method based on CAD model and monocular vision | |
CN104408719B (en) | A kind of conllinear three characteristic points monocular vision space-location method | |
CN109202912B (en) | Method for registering target contour point cloud based on monocular depth sensor and mechanical arm | |
CN111775146B (en) | Visual alignment method under industrial mechanical arm multi-station operation | |
CN107192331A (en) | A kind of workpiece grabbing method based on binocular vision | |
CN108088390B (en) | Optical losses three-dimensional coordinate acquisition methods based on double eye line structure light in a kind of welding detection | |
CN109272570B (en) | Space point three-dimensional coordinate solving method based on stereoscopic vision mathematical model | |
CN104182982B (en) | Overall optimizing method of calibration parameter of binocular stereo vision camera | |
CN108109174A (en) | A kind of robot monocular bootstrap technique sorted at random for part at random and system | |
CN105894499B (en) | A kind of space object three-dimensional information rapid detection method based on binocular vision | |
CN104075688B (en) | A kind of binocular solid stares the distance-finding method of monitoring system | |
CN103278138B (en) | Method for measuring three-dimensional position and posture of thin component with complex structure | |
CN102567989A (en) | Space positioning method based on binocular stereo vision | |
CN105196292B (en) | Visual servo control method based on iterative duration variation | |
CN105328304B (en) | Based on statistical weld seam starting point automatic localization method | |
CN107945234A (en) | A kind of definite method and device of stereo camera external parameter | |
CN104180753A (en) | Rapid calibration method of robot visual system | |
CN107595388A (en) | A kind of near infrared binocular visual stereoscopic matching process based on witch ball mark point | |
CN107220999A (en) | The research of workpiece circular arc Edge Feature Points matching process | |
CN106060399A (en) | Automatic AA method and device for double cameras | |
CN109551856A (en) | A kind of contraposition applying method | |
CN102981406A (en) | Sole glue spraying thickness control method based on binocular vision | |
CN104822060B (en) | Information processing method, information processor and electronic equipment | |
CN104091345B (en) | Five-point relative orientation method based on forward intersection constraints | |
CN110866954B (en) | Method for measuring high-precision attitude of bullet target under length constraint |
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 |