CN104988818B - Intersection multi-lane calibration method based on perspective transformation - Google Patents
Intersection multi-lane calibration method based on perspective transformation Download PDFInfo
- Publication number
- CN104988818B CN104988818B CN201510274275.9A CN201510274275A CN104988818B CN 104988818 B CN104988818 B CN 104988818B CN 201510274275 A CN201510274275 A CN 201510274275A CN 104988818 B CN104988818 B CN 104988818B
- Authority
- CN
- China
- Prior art keywords
- line segment
- line
- represent
- subset
- vertical
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 230000009466 transformation Effects 0.000 title abstract 3
- 239000004020 conductor Substances 0.000 claims description 6
- 238000012216 screening Methods 0.000 claims description 6
- 238000000605 extraction Methods 0.000 abstract 1
- 238000002372 labelling Methods 0.000 description 6
- 238000010276 construction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000033228 biological regulation Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
Landscapes
- Image Analysis (AREA)
Abstract
Disclosed is an intersection multi-lane calibration method based on perspective transformation. The intersection multi-lane calibration method comprises the following steps that 1, an image with an obvious lane line is selected from a monitor video of an intersection; 2, edge extraction is performed through a Canny operator on the basis of the selected image, and then n straight line segments are extracted by means of Hough transformation; 3, horizontal line segment sets H and vertical line segment sets S are obtained according to slopes; 4, the sets H and S obtained in the step 3 are screened preliminarily; 5, the H and S finally obtained from the step 4 are marked as H' and S', and the line segments are further filtered; 6, a red light line is determined in H'' and S'' is further filtered so as to determine a lane line; 7, the line segment representing the lane line is found out from the set S''' obtained from the step 6.
Description
Technical field
The present invention relates to intelligent transportation field, specifically a kind of to analyze intersection image to demarcate respectively by perspective transform
The method of lane position.
Background technology
With developing rapidly for China's communication, the automobile quantity in city increases year by year, and urban highway traffic is blocked, gathered around
Crowded problem seems more and more prominent.The construction of modern transportation control system, can but be greatly improved the utilization of existing road
Rate, and reliable peccancy detection is the guarantee of intelligent transportation application.
It is to differentiate that violating the regulations one is crucial that the multilane of intersection is demarcated.At present in the embedded induction coil in intersection
Not only high cost, construction are difficult for mode, are also inconvenient for safeguarding in some crowded section of highway.Computer vision technique as an alternative is because of which
Light the features such as, has obtained extensive concern in intelligent transportation field.
Different from the single, double lane identification currently used for DAS (Driver Assistant System), the intersection in city generally requires together
When recognize more tracks and calibrate red light stop line position.
The content of the invention
The present invention to be overcome the disadvantages mentioned above of prior art, with perspective transform as foundation, there is provided a kind of intersection it is many
Track scaling method.The present invention comprises the steps:
Step 1:The obvious image of lane line is chosen from the monitor video of intersection, it is to avoid occlusion etc. is disturbed,
Wherein the height of image is height, and width is width, and unit is pixel;
Step 2:Edge extracting is carried out using Canny operators in the image basis chosen, is then carried using Hough transform
Take out n bar straightway li(i=1,2 ..., n), wherein liStart-stop extreme coordinates be denoted as A respectivelyi(xAi,yAi) and Bi(xBi,
yBi), zero is the image upper left corner, and the corresponding slope of every line segment is ki, computing formula is as follows:
Step 3:Horizontal line section set H and vertical line segment aggregate S is obtained according to slope, wherein:
H={ li|ki∈(-0.1,0.1),i∈{1,2,…,n}} (2)
S={ li|ki∈(-∞,-0.65)∪(0.65,∞),i∈{1,2,…,n}} (3)
Step 4:The set H obtained to step 3 and S carries out preliminary screening, specially:
Step 4.1:All extreme coordinates are metAndStraightway liFrom
Reject in horizontal line section set H and vertical line segment aggregate S, obtain new H and S;
Step 4.2 (optional):If video image includes that timestamp is stabbed with place, further extreme coordinates are located at
The image set time stabs and stabs the straightway l in region with placeiReject from horizontal line section set H and vertical line segment aggregate S, again
Obtain H and the S for updating;
Step 5:Make the final H that step 4 is obtained H ' and S ' is designated as with S, further line segment is filtered:
Step 5.1:Calculated by below equation and horizontal line section set H ' is clustered and r subset h is obtainedt:
AndAnd ht={ ltk| t=1,2 ..., r;K=1,2 ... wt} (4)
Wherein p=1,2 ..., r;Q=1,2 ..., r;p≠q (5)
Wherein, wtRepresent subset htIn line segment number;ltkRepresent the kth bar line segment of t-th subset;In formula (6), lpsRepresent
Subset hpIn the s article line segment, lqzRepresent subset hqIn the z article line segment, DistY (lps,lqz) represent line segment lpsWith line segment lqz
Between vertical distance, yApsRepresent subset hpIn s article of line segment starting endpoint vertical coordinate, yBpsRepresent subset hpIn the s article
The vertical coordinate of the termination end points of line segment, yAqzRepresent subset hqIn z article of line segment starting endpoint vertical coordinate, yBqzRepresent subset
hqIn z article of line segment termination end points vertical coordinate;Formula (7) represents line segment lpsWith line segment lqzBetween vertical distance should meet
Condition;Formula (8) represents subset hpInternal i-th line section lpiWith j-th strip line segment lpjBetween vertical distance should meet
Condition, wpRepresent subset hpLine segment number;
Step 5.2:Extract each subset ht(t=1,2 ..., r) in most long line segment constitute new horizontal line section set
H″;
Step 5.3:Cluster is carried out to vertical line segment aggregate S ' by below equation calculating and obtains m subset st:
AndAnd st={ ltv| t=1,2 ..., m;V=1,2 ... ut} (9)
Wherein p=1,2 ..., m;Q=1,2 ..., m;p≠q (10)
Wherein, utRepresent subset stIn line segment number, ltvRepresent the v article line segment of t-th subset;In formula (11), lpsTable
Show subset spIn the s article line segment, lqzRepresent subset sqIn the z article line segment, DistX (lps,lqz) represent line segment lpsWith line segment
lqzBetween horizontal range, xApsRepresent subset spIn s article of line segment starting endpoint abscissa, xBpsRepresent subset spIn
The abscissa of the termination end points of s bar line segments, xAqzRepresent subset sqIn z article of line segment starting endpoint abscissa, xBqzRepresent
Subset sqIn z article of line segment termination end points abscissa;Formula (12) represents line segment lpsWith line segment lqzBetween horizontal range should
The condition of the satisfaction;Formula (13) represents subset spInternal i-th line section lpiL is estimated with j-th strip linepjBetween horizontal range should
The condition of satisfaction, upRepresent subset spLine segment number;
Step 5.4:Extract each subset st(t=1,2 ..., m) in most long line segment constitute new vertical line segment aggregate
S″;
Step 6:Further filter in H " middle to determine red light line and to S ", specially:
Step 6.1:Horizontal line section set H " is sorted according to the following rules:Make i-th line section liWith j-th strip line segment ljEnd
Point coordinates meetsWherein li∈ H ", lj∈ H ", i < j;
Step 6.2:Retain sequence after H " in the 1st article of line segment as red light stop line;
Step 6.3:Calculate vertical line segment aggregate S " in any two line segments liWith ljExtending line intersection point Cij(xij,yij), i ≠
J, builds intersection point collection P:
P={ Cij(xij,yij) | i=1,2 ..., n ";J=1,2 ..., n " } (14)
yij=ki(xij-xAi)+yAi (16)
Wherein kiAnd kj" the middle conductor l corresponding to SiAnd ljSlope, the quantity of n " represent S " middle conductor, (xAi,yAi) represent
Line segment liStarting endpoint coordinate, (xAj,yAj) represent line segment ljStarting endpoint coordinate;
Step 6.4:Vanishing point V (x are found out from intersection point collection Po,yo), wherein vanishing point represents friendship of the parallel lines in perspective projection
Point, vanishing point V (xo,yo) feature be:And any point G (x in antinode collection Pg,yg) meetG is subscript, and other arbitrfary points of vanishing point V are different from representing intersection point collection P;
Step 6.5:Obtain vanishing point V (xo,yo) to vertical line segment aggregate S " middle arbitrary line sections liApart from di, whereinReject vertical line segment aggregate S " inAll line segments obtain new vertical
Line segment aggregate S " ';
Step 7:Find out the set S that step 6 is obtained " ' in represent the line segment of lane line, specially:
Step 7.1:To vertical line segment aggregate S " ' be ranked up so that i-th line section l after sequenceiWith j-th strip line segment lj's
Extreme coordinates meetli∈ S " ', lj∈ S " ', i < j, i=1,2 ..., n " ', j=1,2 ...,
N " ', wherein n " ' represent S " ' in line segment quantity, xAiAnd xBiRepresent line segment liStarting and termination end points abscissa, xAjWith
xBjRepresent line segment ljStarting and termination end points abscissa;
Step 7.2:Using dynamic programming algorithm to vertical line segment aggregate S " ' screen, reservation as much as possible is wherein
Line segment, and make any of which line segment liTo adjacent segments li+1Horizontal range meet formula (17) and (18):
Formula (11) is shown in the wherein definition of DistX;
Step 7.3:Vanishing point V (x are drawn one by oneo,yo) to through step 7.2 screening after vertical line segment aggregate S " ' in per bar
Line segment liThe ray at midpoint can mark the multilane position at each crossing.
It is an advantage of the invention that:The present invention can effectively exclude the interference of intersection complex background, accurate using perspective transform
Intersection multilane position is calibrated really.
Description of the drawings
Fig. 1 is four intersection images that embodiments of the invention are chosen.
Fig. 2 is four intersection images through step 3 process of the present invention.
Fig. 3 is four intersection images through step 4 process of the present invention.
Fig. 4 is four intersection images through step 5 process of the present invention.
Fig. 5 is four intersection images through step 6.3 process of the present invention.
Fig. 6 is four intersection images through step 6.4 process of the present invention.
Fig. 7 is four intersection images through step 6.5 process of the present invention.
Fig. 8 is four intersection images through step 7.2 process of the present invention.
Fig. 9 is four intersection images through step 7.3 process of the present invention.
Specific embodiment
The intersection multilane scaling method based on perspective transform of the present invention is elaborated with reference to embodiment
Specific embodiment.
Step 1:The obvious image of lane line is chosen from the monitor video of intersection, it is to avoid occlusion etc. is disturbed,
Wherein the height of image is height, and width is width, and unit is pixel.The four intersection images such as Fig. 1 institutes for choosing
Show.
Step 2:Edge extracting is carried out using Canny operators in the image basis chosen, is then carried using Hough transform
Take out n bar straightway li(i=1,2 ..., n), wherein liStart-stop extreme coordinates be denoted as A respectivelyi(xAi,yAi) and Bi(xBi,
yBi), zero is the image upper left corner.The corresponding slope of every line segment is ki, computing formula is as follows:
Step 3:Horizontal line section set H and vertical line segment aggregate S is obtained according to slope, wherein:
H={ li|ki∈(-0.1,0.1),i∈{1,2,…,n}} (2)
S={ li|ki∈(-∞,-0.65)∪(0.65,∞),i∈{1,2,…,n}} (3)
As shown in Fig. 2 wherein, the straightway in horizontal line section set H is marked the straightway for extracting with a, vertical line segment
Straightway in set S is marked with b.
Step 4:The set H obtained to step 3 and S carries out simple screening, specially:
Step 4.1:All extreme coordinates are metAndStraightway liFrom
Reject in horizontal line section set H and vertical line segment aggregate S, obtain new H and S.
Step 4.2 (optional):If video image includes that timestamp is stabbed with place, further extreme coordinates are located at
The image set time stabs and stabs the straightway l in region with placeiReject from horizontal line section set H and vertical line segment aggregate S, again
Obtain H and the S for updating.
As shown in figure 3, the straightway in horizontal line section set H this moment is marked with a ', the straight line in vertical line segment aggregate S
Section is marked with b '.
Step 5:Make the final H that step 4 is obtained H ' and S ' is designated as with S, carry out line segment and filter roughly:
Step 5.1:Cluster is carried out to horizontal line section set H ' and obtains r subset ht, it is desired to meet following condition:
AndAnd ht={ ltk| t=1,2 ..., r;K=1,2 ... wt} (4)
Wherein p=1,2 ..., r;Q=1,2 ..., r;p≠q (5)
Wherein, wtRepresent subset htIn line segment number;ltkRepresent the kth bar line segment of t-th subset;In formula (6), lpsRepresent
Subset hpIn the s article line segment, lqzRepresent subset hqIn the z article line segment, DistY (lps,lqz) represent line segment lpsWith line segment lqz
Between vertical distance, yApsRepresent subset hpIn s article of line segment starting endpoint vertical coordinate, yBpsRepresent subset hpIn the s article
The vertical coordinate of the termination end points of line segment, yAqzRepresent subset hqIn z article of line segment starting endpoint vertical coordinate, yBqzRepresent subset
hqIn z article of line segment termination end points vertical coordinate;Formula (7) represents line segment lpsWith line segment lqzBetween vertical distance should meet
Condition;Formula (8) represents subset hpInternal i-th line section lpiWith j-th strip line segment lpjBetween vertical distance should meet
Condition, wpRepresent subset hpLine segment number;
Step 5.2:Extract each subset ht(t=1,2 ..., r) in most long line segment constitute new horizontal line section set
H″。
Step 5.3:Cluster is carried out to vertical line segment aggregate S ' and obtains m subset st, it is desirable to meet following condition:
AndAnd st={ ltv| t=1,2 ..., m;V=1,2 ... ut} (9)
Wherein p=1,2 ..., m;Q=1,2 ..., m;p≠q (10)
Wherein, utRepresent subset stIn line segment number, ltvRepresent the v article line segment of t-th subset;In formula (11), lpsTable
Show subset spIn the s article line segment, lqzRepresent subset sqIn the z article line segment, DistX (lps,lqz) represent line segment lpsWith line segment
lqzBetween horizontal range, xApsRepresent subset spIn s article of line segment starting endpoint abscissa, xBpsRepresent subset spIn
The abscissa of the termination end points of s bar line segments, xAqzRepresent subset sqIn z article of line segment starting endpoint abscissa, xBqzRepresent
Subset sqIn z article of line segment termination end points abscissa;Formula (12) represents line segment lpsWith line segment lqzBetween horizontal range should
The condition of the satisfaction;Formula (13) represents subset spInternal i-th line section lpiL is estimated with j-th strip linepjBetween horizontal range should
The condition of satisfaction, upRepresent subset spLine segment number;
Step 5.4:Extract each subset st(t=1,2 ..., m) in most long line segment constitute new vertical line segment aggregate
S″。
As shown in figure 4, horizontal line section set H this moment " in straightway first straight line (1) mark, vertical line-segment sets
Straightway second straight line (2) in conjunction S " is marked.
Step 6:Further filter in H " middle to determine red light line and to S ", specially:
Step 6.1:Horizontal line section set H " is sorted according to the following rules:Make i-th line section liWith j-th strip line segment ljEnd
Point coordinates meetsWherein li∈ H ", lj∈ H ", i < j.
Step 6.2:Retain sequence after H " in the 1st article of line segment as red light stop line.
Step 6.3:Calculate vertical line segment aggregate S " in any two line segments liWith ljExtending line intersection point Cij(xij,yij), i ≠
J, builds intersection point collection P:
P={ Cij(xij,yij) | i=1,2 ..., n ";J=1,2 ..., n " } (14)
yij=ki(xij-xAi)+yAi (16)
Wherein kiAnd kj" the middle conductor l corresponding to SiAnd ljSlope, the quantity of n " represent S " middle conductor, (xAi,yAi) represent
Line segment liStarting endpoint coordinate, (xAj,yAj) represent line segment ljStarting endpoint coordinate.As shown in figure 5, red light this moment stops
Line is marked with the 5th straight line (5), vertical line segment aggregate S " in straightway marked with the 4th straight line (4), the prolongation of all line segments
Line and its intersection point all use the 3rd straight line (3) labelling.
Step 6.4:Vanishing point V (x are found out from intersection point collection Po,yo), wherein vanishing point represents friendship of the parallel lines in perspective projection
Point, vanishing point V (xo,yo) feature be:And any point G (x in antinode collection Pg,yg) meetG is subscript, and other arbitrfary points of vanishing point V are different from representing intersection point collection P.As shown in fig. 6,
Red light stop line this moment is marked with the 8th straight line (8), vertical line segment aggregate S " in straightway marked with the 7th straight line (7),
The extended line of all line segments and its intersection point all use the 6th straight line (6) labelling.Vanishing point position O labellings.
Step 6.5:Obtain vanishing point V (xo,yo) to vertical line segment aggregate S " middle arbitrary line sections liApart from di, whereinReject vertical line segment aggregate S " inAll line segments obtain new vertical
Line segment aggregate S " '.It is straight in as shown in fig. 7, red light stop line this moment is marked with the 9th straight line (9), vertical line segment aggregate S " '
Line segment is marked with the tenth straight line (10), vanishing point position O labellings.
Step 7:Find out the set S that step 6 is obtained " ' in represent the line segment of lane line, specially:
Step 7.1:To vertical line segment aggregate S " ' be ranked up so that wherein i-th line section liWith j-th strip line segment ljEnd
Point coordinates meetsli∈ S " ', lj∈ S " ', i < j, i=1,2 ..., n " ', j=1,2 ..., n " ',
Line segment quantity in wherein n " ' expression S " ', xAiAnd xBiRepresent line segment liStarting and termination end points abscissa, xAjAnd xBjTable
Timberline section ljStarting and termination end points abscissa.
Step 7.2:Using dynamic programming algorithm to vertical line segment aggregate S " ' screen, reservation as much as possible is wherein
Line segment, and make any of which line segment liTo adjacent segments li+1Horizontal range meet formula (17) and (18):
Formula (11) is shown in the wherein definition of DistX.As shown in figure 8, red light stop line this moment is marked with the 11st straight line (11)
Go out, vertical line segment aggregate S " ' in straightway marked with the 12nd straight line (12), vanishing point position O labellings.
Step 7.3:Vanishing point V (x are drawn one by oneo,yo) to through step 7.2 screening after vertical line segment aggregate S " ' in per bar
Line segment liThe ray at midpoint can mark the multilane position at each crossing.As shown in figure 9, red light stop line this moment is used
14th straight line (14) is marked, and the lane position in single intersection direction is marked with the tenth trilete rays (13), vanishing point position O labellings.
Content described in this specification embodiment is only enumerating to the way of realization of inventive concept, the protection of the present invention
Being not construed as of scope is only limitted to the concrete form stated by embodiment, and protection scope of the present invention is also and in this area skill
Art personnel according to present inventive concept it is conceivable that equivalent technologies mean.
Claims (1)
1. a kind of intersection multilane scaling method based on perspective transform, comprises the following steps:
Step 1:The obvious image of lane line is chosen from the monitor video of intersection, it is to avoid the interference of occlusion, wherein
The height of image is height, and width is width, and unit is pixel;
Step 2:Edge extracting is carried out using Canny operators in the image basis chosen, is then extracted using Hough transform
N bar straightway li(i=1,2 ..., n), wherein liStart-stop extreme coordinates be denoted as A respectivelyi(xAi,yAi) and Bi(xBi,yBi), sit
Mark origin is the image upper left corner, and the corresponding slope of every line segment is ki, computing formula is as follows:
Step 3:Horizontal line section set H and vertical line segment aggregate S is obtained according to slope, wherein:
H={ li|ki∈(-0.1,0.1),i∈{1,2,…,n}} (2)
S={ li|ki∈(-∞,-0.65)∪(0.65,∞),i∈{1,2,…,n}} (3)
Step 4:The set H obtained to step 3 and S carries out preliminary screening, specially:
Step 4.1:All extreme coordinates are metAndStraightway liFrom horizontal line
Reject in Duan Jihe H and vertical line segment aggregate S, obtain new H and S;
Step 4.2:If video image includes that timestamp is stabbed with place, when extreme coordinates being located at image fixation further
Between stamp with place stab region straightway liReject from horizontal line section set H and vertical line segment aggregate S, obtain what is updated again
H and S;
Step 5:Make the final H that step 4 is obtained H ' and S ' is designated as with S, further line segment is filtered:
Step 5.1:Calculated by below equation and horizontal line section set H ' is clustered and r subset h is obtainedt:
AndAnd ht={ ltk| t=1,2 ..., r;K=1,2 ... wt} (4)
Wherein p=1,2 ..., r;Q=1,2 ..., r;p≠q (5)
Wherein, wtRepresent subset htIn line segment number;ltkRepresent the kth bar line segment of t-th subset;In formula (6), lpsRepresent subset
hpIn the s article line segment, lqzRepresent subset hqIn the z article line segment, DistY (lps,lqz) represent line segment lpsWith line segment lqzBetween
Vertical distance, yApsRepresent subset hpIn s article of line segment starting endpoint vertical coordinate, yBpsRepresent subset hpIn the s article line segment
Termination end points vertical coordinate, yAqzRepresent subset hqIn z article of line segment starting endpoint vertical coordinate, yBqzRepresent subset hqIn
The vertical coordinate of the termination end points of z article of line segment;Formula (7) represents line segment lpsWith line segment lqzBetween vertical distance should meet
Condition;Formula (8) represents subset hpInternal i-th line section lpiWith j-th strip line segment lpjBetween the bar that should meet of vertical distance
Part, wpRepresent subset hpLine segment number;
Step 5.2:Extract each subset ht(t=1,2 ..., r) in most long line segment constitute new horizontal line section set H ";
Step 5.3:Cluster is carried out to vertical line segment aggregate S ' by below equation calculating and obtains m subset st:
AndAnd st={ ltv| t=1,2 ..., m;V=1,2 ... ut} (9)
Wherein p=1,2 ..., m;Q=1,2 ..., m;p≠q (10)
Wherein, utRepresent subset stIn line segment number, ltvRepresent the v article line segment of t-th subset;In formula (11), lpsRepresent son
Collection spIn the s article line segment, lqzRepresent subset sqIn the z article line segment, DistX (lps,lqz) represent line segment lpsWith line segment lqzIt
Between horizontal range, xApsRepresent subset spIn s article of line segment starting endpoint abscissa, xBpsRepresent subset spIn the s bar line
The abscissa of the termination end points of section, xAqzRepresent subset sqIn z article of line segment starting endpoint abscissa, xBqzRepresent subset sq
In z article of line segment termination end points abscissa;Formula (12) represents line segment lpsWith line segment lqzBetween horizontal range should meet
Condition;Formula (13) represents subset spInternal i-th line section lpiL is estimated with j-th strip linepjBetween horizontal range should meet
Condition, upRepresent subset spLine segment number;
Step 5.4:Extract each subset st(t=1,2 ..., m) in most long line segment constitute new vertical line segment aggregate S ";
Step 6:Further filter in H " middle to determine red light line and to S ", specially:
Step 6.1:Horizontal line section set H " is sorted according to the following rules:Make i-th line section liWith j-th strip line segment ljEnd points sit
Mark meetsWherein li∈ H ", lj∈ H ", i < j;
Step 6.2:Retain sequence after H " in the 1st article of line segment as red light stop line;
Step 6.3:Calculate vertical line segment aggregate S " in any two line segments liWith ljExtending line intersection point Cij(xij,yij), i ≠ j, structure
Establish diplomatic relations point set P:
P={ Cij(xij,yij) | i=1,2 ..., n ";J=1,2 ..., n " } (14)
yij=ki(xij-xAi)+yAi (16)
Wherein kiAnd kj" the middle conductor l corresponding to SiAnd ljSlope, the quantity of n " represent S " middle conductor, (xAi,yAi) represent line segment
liStarting endpoint coordinate, (xAj,yAj) represent line segment ljStarting endpoint coordinate;
Step 6.4:Vanishing point V (x are found out from intersection point collection Po,yo), wherein vanishing point represents intersection point of the parallel lines in perspective projection,
Vanishing point V (xo,yo) feature be:And any point G (x in antinode collection Pg,yg) meetG is subscript, and other arbitrfary points of vanishing point V are different from representing intersection point collection P;
Step 6.5:Obtain vanishing point V (xo,yo) to vertical line segment aggregate S " middle arbitrary line sections liApart from di, whereinReject vertical line segment aggregate S " inAll line segments obtain new vertical
Line segment aggregate S " ';
Step 7:Find out the set S that step 6 is obtained " ' in represent the line segment of lane line, specially:
Step 7.1:To vertical line segment aggregate S " ' be ranked up so that i-th line section l after sequenceiWith j-th strip line segment ljEnd points
Coordinate meetsli∈ S " ', lj∈ S " ', i < j, i=1,2 ..., n " ', j=1,2 ..., n " ', wherein
Line segment quantity in n " ' expression S " ', xAiAnd xBiRepresent line segment liStarting and termination end points abscissa, xAjAnd xBjRepresent line
Section ljStarting and termination end points abscissa;
Step 7.2:Using dynamic programming algorithm to vertical line segment aggregate S " ' screen, retain line segment therein, and make wherein
Arbitrary line segment liTo adjacent segments li+1Horizontal range meet formula (17) and (18):
Formula (11) is shown in the wherein definition of DistX;
Step 7.3:Vanishing point V (x are drawn one by oneo,yo) to through step 7.2 screening after vertical line segment aggregate S " ' in every line segment
liThe ray at midpoint can mark the multilane position at each crossing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510274275.9A CN104988818B (en) | 2015-05-26 | 2015-05-26 | Intersection multi-lane calibration method based on perspective transformation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510274275.9A CN104988818B (en) | 2015-05-26 | 2015-05-26 | Intersection multi-lane calibration method based on perspective transformation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104988818A CN104988818A (en) | 2015-10-21 |
CN104988818B true CN104988818B (en) | 2017-04-12 |
Family
ID=54300701
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510274275.9A Active CN104988818B (en) | 2015-05-26 | 2015-05-26 | Intersection multi-lane calibration method based on perspective transformation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104988818B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106529493B (en) * | 2016-11-22 | 2019-12-20 | 北京联合大学 | Robust multi-lane line detection method based on perspective view |
CN107293116B (en) * | 2017-06-27 | 2020-04-14 | 浙江浩腾电子科技股份有限公司 | Traffic incident detection system based on video analysis |
CN110210409B (en) * | 2019-06-04 | 2021-04-20 | 南昌市微轲联信息技术有限公司 | Method and system for detecting form frame lines in form document |
CN110530375B (en) * | 2019-10-10 | 2021-08-27 | 上海钛米机器人科技有限公司 | Robot adaptive positioning method, positioning device, robot and storage medium |
CN112507867B (en) * | 2020-12-04 | 2022-04-22 | 华南理工大学 | Lane line detection method based on EDLines line characteristics |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8331623B2 (en) * | 2008-12-23 | 2012-12-11 | National Chiao Tung University | Method for tracking and processing image |
CN102616241A (en) * | 2012-03-28 | 2012-08-01 | 周圣砚 | Lane departure alarm system based on lane line model detection method and on-line study method |
CN103489175B (en) * | 2012-06-13 | 2016-02-10 | 株式会社理光 | Pavement detection method and apparatus |
CN104517111B (en) * | 2013-09-27 | 2018-09-07 | 比亚迪股份有限公司 | Method for detecting lane lines, system, lane departure warning method and system |
CN104408460B (en) * | 2014-09-17 | 2017-08-11 | 电子科技大学 | A kind of lane detection and tracking detection method |
CN104392212B (en) * | 2014-11-14 | 2017-09-01 | 北京工业大学 | The road information detection and front vehicles recognition methods of a kind of view-based access control model |
-
2015
- 2015-05-26 CN CN201510274275.9A patent/CN104988818B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104988818A (en) | 2015-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104988818B (en) | Intersection multi-lane calibration method based on perspective transformation | |
CN106203398B (en) | A kind of method, apparatus and equipment detecting lane boundary | |
CN109670376B (en) | Lane line identification method and system | |
CN105868687B (en) | Track detection device and track detection method | |
CN106297330B (en) | Reduce the method and system that pedestrian's street crossing influences plane perceptual signal control efficiency | |
CN103500322A (en) | Automatic lane line identification method based on low-altitude aerial images | |
CN110148196A (en) | A kind of image processing method, device and relevant device | |
CN106197458A (en) | A kind of cellphone subscriber's trip mode recognition methods based on mobile phone signaling data and navigation route data | |
CN107301776A (en) | Track road conditions processing and dissemination method based on video detection technology | |
CN106373426A (en) | Computer vision-based parking space and illegal lane occupying parking monitoring method | |
CN107644528A (en) | A kind of vehicle queue length detection method based on vehicle tracking | |
CN106056968B (en) | A kind of method for detecting parking stalls based on optical imagery | |
CN107392139A (en) | A kind of method for detecting lane lines and terminal device based on Hough transformation | |
CN103235933A (en) | Vehicle abnormal behavior detection method based on Hidden Markov Model | |
CN105488485B (en) | Lane line extraction method based on track of vehicle | |
CN110379168A (en) | A kind of vehicular traffic information acquisition method based on Mask R-CNN | |
CN110838233B (en) | Vehicle behavior analysis method and device and computer readable storage medium | |
CN104966049A (en) | Lorry detection method based on images | |
CN110443142B (en) | Deep learning vehicle counting method based on road surface extraction and segmentation | |
CN106767854A (en) | mobile device, garage map forming method and system | |
CN112084900A (en) | Underground garage random parking detection method based on video analysis | |
CN113393679A (en) | Regional traffic guidance method and system based on traffic intersection traffic flow identification and statistics | |
CN103390151A (en) | Face detection method and device | |
CN109443360A (en) | A kind of vehicle driving trace generation and stitching algorithm based on polygon | |
CN112418081A (en) | Method and system for air-ground joint rapid investigation of traffic accidents |
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 |