CN102831426B - Road environment self-adaptive straight-lane detection method - Google Patents

Road environment self-adaptive straight-lane detection method Download PDF

Info

Publication number
CN102831426B
CN102831426B CN201210314723.XA CN201210314723A CN102831426B CN 102831426 B CN102831426 B CN 102831426B CN 201210314723 A CN201210314723 A CN 201210314723A CN 102831426 B CN102831426 B CN 102831426B
Authority
CN
China
Prior art keywords
picture
road
point
interference
straight
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210314723.XA
Other languages
Chinese (zh)
Other versions
CN102831426A (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.)
Zhejiang Branch Positron Information Products Inspection Co Ltd
Original Assignee
Hangzhou Dianzi 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 Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN201210314723.XA priority Critical patent/CN102831426B/en
Publication of CN102831426A publication Critical patent/CN102831426A/en
Application granted granted Critical
Publication of CN102831426B publication Critical patent/CN102831426B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a road environment self-adaptive straight-lane detection method. The existing straight-lane detection algorithm based on the vision is highly sensitive to the interference of pavement icons, shields and the like and weak in the self adaptability to the variation of the road environment. The method is characterized by comprising the following steps that firstly, the weaknesses of a traditional smooth noise reduction processing method are analyzed, a noise reduction processing method of self-adaptive devaluation filtering is provided and the pavement noise and the shadow interference are effectively reduced; secondly, an interference eliminating algorithm based on a connected component is provided according to a position relation between the strong interference of the pavement icons and the lane line, so that the interference resistance to the pavement icons and the shield can be enhanced; and finally, circular Hough transformation is provided, the threshold value is adjusted in real time according to the road environment, so that the self adaptability to the variation of the road environment is realized. The method has strong interference resistance to the interference of pavement icons and the like and strong self adaptability to the continuously varied road environment.

Description

A kind of adaptive straight turning of road environment road detection method
Technical field
The present invention relates generally to Vehicular intelligent anti-collision early warning (the Vehicle Intelligent Collision Warning) technical field based on vision, the particularly adaptive straight turning of a kind of road environment road detection method.
Background technology
Along with the fast development of communication, it is more and more important that traffic safety seems.The portion report of the World Health Organization (WHO) in 2004 points out, annual approximately 1,200,000 people in the whole world die from traffic hazard, and number of injured people is especially up to 50,000,000.Vehicular intelligent anti-collision early warning system (Vehicle Intelligent Collision Warning System) is the important tool that reduces traffic injuries and deaths, and lane detection is its important ingredient.
Lane detection algorithm based on vision can be summarized as three classes: based on color characteristic, based on edge feature and the detection method based on model.Method based on color characteristic is mainly used in the lane detection of unstructured road.Method computing velocity based on edge feature is fast, real-time good, and for disturbing in road environment, less pavement detection is respond well, but very sensitive for the interference of shelter, shade, illumination or other road surface icon, very poor to the adaptability of environmental change.Method based on model is better to the adaptability of environmental change, but the algorithm of its lengthy and tedious complexity (often relating to interative computation or parameter optimization) is difficult to meet the requirement of system real time, and the interference of road pavement word etc. is comparatively responsive.
Summary of the invention
The susceptibility disturbing for reducing lane detection algorithm road pavement icon, shelter or illumination variation etc., strengthen the adaptivity that algorithm changes road environment, the invention provides a kind of adaptive straight turning of road environment road detection method based on connected component and circulation Hough conversion.Its main thought is: first, according to the feature on road surface, image is done to self-adaptation depreciation filtering processing, to reduce the noise effect producing due to Uneven road, shade etc. in image; Secondly, be the feature of connected component according to interference icon borders such as road surface word, direction arrows in image, propose the interference cancellation algorithm based on connected component, strengthen the antijamming capability of road pavement icon and shelter; Finally, use circulation Hough conversion to find the suitableeest Hough conversion threshold value, improve the adaptivity of algorithm to environmental change.
Suppose that video camera is arranged in the middle of vehicle front windshield and towards dead ahead, the angle of pitch of video camera, angle of drift, rotation angle are zero.The technical scheme that the present invention solves its technical matters is:
Step 1-passage extracts and intercepts:
Color characteristic according to lane line in picture, extracts the red channel of former picture, and then level intercepts the road picture within the scope of certain distance.
Border is processed and is extracted in the filtering of step 2-self-adaptation depreciation:
According to the road picture contents selection adaptive threshold after intercepting, by pixel value in picture therewith threshold value do difference operation, and by the negative value pulverised after difference operation, use Canny method to extract border.
The interference cancellation processing of step 3-based on connected component:
If historical lane information is effective, be history of existence data and nearer apart from the present frame time, picture after treatment step 2 is divided into the region that may have lane line and the region that can not have lane line, point another name they be Probability Area and non-Probability Area, by the pixel value pulverised in non-Probability Area; Regulation, if the equal non-zero of two pixel point values being close to is thought that they are adjacent, otherwise is thought that they are non-conterminous; If 2 non-zero pixels points can be linked to be a path by a series of neighbor pixels, think that they are communicated with, establish the non-zero crossing composition point set of Probability Area and non-Probability Area ptsSet, by Probability Area with point set ptsSetin the pixel value pulverised of point of some composition connected component.
Step 4-circulation Hough conversion:
If historical lane information is effective, choose the threshold value slightly larger than nearest frame, otherwise choose a larger threshold value, use this threshold value to carry out Hough conversion, obtain a series of scattered straight lines, if historical data effectively, is extracted road end point, otherwise regard former center picture point as end point, abandon and in scattered straight line, approach level or the straight line far away apart from end point, according to the density situation between scattered straight line and picture base intersection point, these straight lines are carried out to cluster again, and the straight line in every class is merged into straight line, if the straight line number after merging is greater than 2, extract two straight lines that gradient approaches 90 degree most, be two boundary lines in current track, if otherwise do not reach maximum iteration time, reducing threshold value re-starts Hough and converts and do same processing.
The checking of step 5-history is calculated with end point:
If if upper step obtains two straight lines and historical lane information is effective, whether reasonable according to width and the direction in historical lane information checking gained track, if rationally, calculate the intersection point of these two straight lines, be end point, these two straight lines and end point are stored in historical lane information.
The beneficial effect that the present invention has is:
1, use the denoise processing method of self-adaptation depreciation filtering to effectively reduce road rumble and shadow interference, overcome conventional smooth denoise processing method and can reduce lane line border and highlight the drawback of degree.
2, by analyzing road surface icon etc. compared with strong jamming and the disconnected characteristic of lane line, picture is done to the interference cancellation processing based on connected component, effectively removed these interference, strengthened the accuracy of detection method.
3, by historical lane information, meet the Hough conversion threshold value of current road environment by using circulation Hough conversion to obtain, make the present invention there is the adaptive ability that road environment is changed.
Brief description of the drawings
Fig. 1 is the adaptive straight turning of road environment of the present invention road detection method process flow diagram;
Fig. 2 is interference cancellation processing procedure result figure in the present invention.
Embodiment
Below in conjunction with accompanying drawing with specifically practice process the present invention is further described:
Perform step to illustrate implementation process of the present invention with reference to Fig. 1:
Step 1-passage extracts and picture segmentation:
Extract original image orgImgred channel, and do level according to the road surface within the scope of certain distance and cut apart, obtain picture roadImg.
Step 2-depreciation is processed and Boundary Extraction:
The general smothing filtering that adopts carries out noise reduction process, but it can reduce the degree that highlights on lane line (be lane line, do not reresent later) border, and the present invention uses self-adaptation depreciation filtering method to carry out picture noise reduction process.If image roadImg, roadImg (i, j) represents the value of the capable j row of its i pixel, and the value of picture Road image surface vegetarian refreshments can be regarded as Normal Distribution by approximate, and according to the characteristic of normal distribution, depreciation is processed as follows:
Wherein, αarbitrary number between desirable 0.5-1, the present embodiment is got α=0.8.
Use Canny method to extract roadImgborder, obtain picture edgeImg, as Fig. 2 (a).
Step 3-interference cancellation:
Road surface word, arrow vehicle etc. all can produce compared with strong jamming, can cause Hough conversion to produce many error-detecting, and the present invention proposes interference cancellation algorithm based on connected component by its cancellation.From Fig. 2 (a), can see, usually, it is disconnected disturbing with lane line, so the present invention proposes the interference cancellation algorithm based on connected component.Regulation: if the equal non-zero of two pixel point values being close to is thought that they are adjacent, otherwise thought that they are non-conterminous; If 2 non-zero pixels points can be linked to be a path by some row neighbor pixels, think that they are communicated with.In the time that historical lane information is effective, the concrete implementation step of algorithm is as follows:
Step01: order dstLinesNum=0 divides according to historical lane information edgeImgin Probability Area area1(non-white portion in Fig. 2 (b)) and non-Probability Area area2(white portion in Fig. 2 (b));
Step02: will area1with area2the non-zero pixels point coordinate of adjacent edge is stored in edgePts;
Step03: will edgeImgin belong to area2the value of pixel be made as 0, order i=0;
Step04: edgeImgin belong to area1and with point edgePts[i]the point composition connected component being communicated with, travels through this connected component, and the value of the pixel that all traversals are crossed is made as 0;
Step05: order i= i+ 1, if i< edgePts.size, forward the 04th step to, otherwise algorithm finishes.
After above five steps, edgeImgin interference be eliminated, result is as Fig. 2 (c).
Step 4-circulation Hough conversion:
The traditional Hough conversion of fixed threshold can not adapt to the road environment of real-time change, and the present invention Hough that proposes to circulate varies one's tactics and adapts to the road environment that constantly changes.If array thresholdVectorfor one group of selected non-negative threshold value, and by the arrangement of successively decreasing.Concrete implementation step is as follows:
Step01: if historical lane information is effective, extract so the threshold value that nearest frame uses shresholdVector[k],if k<=0, order k=0, otherwise order k= k-1; If historical lane information is invalid, order k=0;
Step02: use threshold value shresholdVector[k]right edgeImgdo Hough conversion, scattered gained straight line is deposited in linesStoragein;
Step03: if historical lane information is effective, extract the end point of nearest frame to historical end point variable vp, otherwise will degeImgin with orgImgthe coordinate of the point that central point is corresponding deposits in vp;
Step04: line=? linesStorage.get(0);
Step05: calculate lineangle with level θwith with vpdistance dif, θless or dlarger, will linefrom linesStoragemiddle deletion;
Step06: if linesStoragethe straight line that middle existence was not traversed, extracts its lower straight line and is assigned to lineand forward the 05th step to, otherwise forward the 07th step to;
Step07: calculate linesStoragein all straight lines with edgeImgthe intersection point on base, is deposited in ptsin, ptsin point with linesStoragein straight line corresponding one by one;
Step08: according to ptsthe sparse situation of mid point will lineStoragein straight line carry out cluster, be assigned to linesClass, linesClass[j]represent the set of a class straight line, j=1,2 ..., linesClass.size;
Step09: if linesClass.size>=1, forwards the 10th step to, otherwise forwards the 12nd step to;
Step10: order l[j]= aVERAGE( linesClass[j]), j=1,2 ..., linesClass.size, wherein aVERAGE(...) represent a straight line set to do average calculating operation, obtain an average straight line;
Step11: if linesClass.size>=2, finds out lin approach two straight lines of 90 degree most, be assigned to respectively leftLine, rightLine, order dstLinesNum=2; Otherwise order thresholdVector[thresholdVector.size-1]= thresholdVector[k], object is to prevent that the lane line from, compared with clear and make lane line damaged severe, may not occur the situation of two class straight lines always, needs to retain inferior good situation that detects a class straight line, makes dstLinesNum=1 forwards the 12nd step to;
Step12: if k< ( thresholdVector.size-1), order k= k+ 1 and forward the 02nd step to, otherwise forward the 13rd step to;
Step13: if dstLinesNum==1 and historical lane information effective, utilize its lane width to mend out another straight line, order dstLinesNum=2, algorithm finishes.
If now dstLinesNum==2 leftLine, rightLinebe two lane lines in left and right.
The checking of step 5-history and end point are calculated:
If dstLinesNum==2, calculate edgeImgin lane width curW, and carry out following two steps:
If a) historical lane information is effective, extract the lane width in historical lane information wtwo lane lines with nearest historical frames l1, l2if, leftLine, rightLinewith l1, l2position relationship close and curWwith wclose, so will leftLine, rightLinedeposit in historical lane information.
If b) verified by history, calculate leftLinewith rightLineintersection point, be the end point of present frame, deposited in historical lane information.

Claims (1)

1. the adaptive straight turning of a road environment road detection method, it is characterized in that: the denoise processing method that uses the filtering of self-adaptation depreciation, effectively reduce road rumble and shadow interference, adopt the interference cancellation algorithm based on connected component, cancellation picture Road face icon or shielding automobile disturb, and utilize historical lane information and circulation Hough change detection lane line; Its concrete steps are:
Step 1-passage extracts and intercepts:
Color characteristic according to lane line in picture, extracts the red channel of former picture, and then level intercepts the road picture within the scope of certain distance;
Border is processed and is extracted in the filtering of step 2-self-adaptation depreciation:
According to the road picture contents selection adaptive threshold after intercepting, by pixel value in picture therewith threshold value do difference operation, and by the negative value pulverised after difference operation, use Canny method to extract border;
The interference cancellation processing of step 3-based on connected component:
If historical lane information is effective, be history of existence data and nearer apart from the present frame time, picture after treatment step 2 is divided into the region that may have lane line and the region that can not have lane line, point another name they be Probability Area and non-Probability Area, by the pixel value pulverised in non-Probability Area; Regulation, if the equal non-zero of two pixel point values being close to is thought that they are adjacent, otherwise is thought that they are non-conterminous; If 2 non-zero pixels points can be linked to be a path by a series of neighbor pixels, think that they are communicated with, establish the non-zero crossing composition point set of Probability Area and non-Probability Area ptsSet, by Probability Area with point set ptsSetin the pixel value pulverised of point of some composition connected component;
Step 4-circulation Hough conversion:
If historical lane information is effective, choose the threshold value slightly larger than nearest frame, otherwise choose a larger threshold value, use this threshold value to carry out Hough conversion, obtain a series of scattered straight lines, if historical data effectively, is extracted road end point, otherwise regard former center picture point as end point, abandon and in scattered straight line, approach level or the straight line far away apart from end point, according to the density situation between scattered straight line and picture base intersection point, these straight lines are carried out to cluster again, and the straight line in every class is merged into straight line, if the straight line number after merging is greater than 2, extract two straight lines that gradient approaches 90 degree most, be two boundary lines in current track, if otherwise do not reach maximum iteration time, reducing threshold value re-starts Hough and converts and do same processing,
The checking of step 5-history is calculated with end point:
If if upper step obtains two straight lines and historical lane information is effective, whether reasonable according to width and the direction in historical lane information checking gained track, if rationally, calculate the intersection point of these two straight lines, be end point, these two straight lines and end point are stored in historical lane information.
CN201210314723.XA 2012-08-30 2012-08-30 Road environment self-adaptive straight-lane detection method Active CN102831426B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210314723.XA CN102831426B (en) 2012-08-30 2012-08-30 Road environment self-adaptive straight-lane detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210314723.XA CN102831426B (en) 2012-08-30 2012-08-30 Road environment self-adaptive straight-lane detection method

Publications (2)

Publication Number Publication Date
CN102831426A CN102831426A (en) 2012-12-19
CN102831426B true CN102831426B (en) 2014-11-05

Family

ID=47334554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210314723.XA Active CN102831426B (en) 2012-08-30 2012-08-30 Road environment self-adaptive straight-lane detection method

Country Status (1)

Country Link
CN (1) CN102831426B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110718068A (en) * 2019-09-27 2020-01-21 华中科技大学 Road monitoring camera installation angle estimation method

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886292B (en) * 2014-03-20 2017-02-08 杭州电子科技大学 Night vehicle target stable tracking method based on machine vision
CN104700072B (en) * 2015-02-06 2018-01-19 中国科学院合肥物质科学研究院 Recognition methods based on lane line historical frames
CN106326822B (en) * 2015-07-07 2020-02-07 北京易车互联信息技术有限公司 Method and device for detecting lane line
CN106295491B (en) * 2016-03-09 2019-09-10 北京智芯原动科技有限公司 Lane line detection method and device
CN111695389B (en) * 2019-03-15 2023-06-20 北京四维图新科技股份有限公司 Lane line clustering method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101093553A (en) * 2007-07-19 2007-12-26 成都博古天博科技有限公司 2D code system, and identification method
CN101608924A (en) * 2009-05-20 2009-12-23 电子科技大学 A kind of method for detecting lane lines based on gray scale estimation and cascade Hough transform
CN102324017A (en) * 2011-06-09 2012-01-18 中国人民解放军国防科学技术大学 FPGA (Field Programmable Gate Array)-based lane line detection method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101093553A (en) * 2007-07-19 2007-12-26 成都博古天博科技有限公司 2D code system, and identification method
CN101608924A (en) * 2009-05-20 2009-12-23 电子科技大学 A kind of method for detecting lane lines based on gray scale estimation and cascade Hough transform
CN102324017A (en) * 2011-06-09 2012-01-18 中国人民解放军国防科学技术大学 FPGA (Field Programmable Gate Array)-based lane line detection method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
结构化道路车道线识别的一种改进算法;金辉等;《北京理工大学学报》;20070630;第27卷(第6期);第501-505页 *
金辉等.结构化道路车道线识别的一种改进算法.《北京理工大学学报》.2007,第27卷(第6期), *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110718068A (en) * 2019-09-27 2020-01-21 华中科技大学 Road monitoring camera installation angle estimation method

Also Published As

Publication number Publication date
CN102831426A (en) 2012-12-19

Similar Documents

Publication Publication Date Title
CN102831426B (en) Road environment self-adaptive straight-lane detection method
CN108052880B (en) Virtual and real lane line detection method for traffic monitoring scene
CN107330376B (en) Lane line identification method and system
CN107862290A (en) Method for detecting lane lines and system
CN103810474A (en) Car plate detection method based on multiple feature and low rank matrix representation
CN104091157A (en) Pedestrian detection method based on feature fusion
Guo et al. Image-based seat belt detection
CN104463914A (en) Improved Camshift target tracking method
CN105427626A (en) Vehicle flow statistics method based on video analysis
CN109948552B (en) Method for detecting lane line in complex traffic environment
CN103488975A (en) Zebra crossing real-time detection method based in intelligent driving
CN104537342B (en) A kind of express lane line detecting method of combination ridge border detection and Hough transformation
Feniche et al. Lane detection and tracking for intelligent vehicles: A survey
Siogkas et al. Random-walker monocular road detection in adverse conditions using automated spatiotemporal seed selection
CN103544480A (en) Vehicle color recognition method
CN104598905A (en) License plate positioning method and device
CN109242776B (en) Double-lane line detection method based on visual system
CN104463138A (en) Text positioning method and system based on visual structure attribute
CN108805050A (en) Electric wire detection method based on local binary patterns
CN112862845A (en) Lane line reconstruction method and device based on confidence evaluation
CN113370977A (en) Intelligent vehicle forward collision early warning method and system based on vision
CN109035369A (en) A kind of sample extending method merging virtual sample
CN105389561A (en) Method for detecting bus lane based on video
Wang et al. An improved hough transform method for detecting forward vehicle and lane in road
CN104268859A (en) Image preprocessing method for night lane line detection

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
ASS Succession or assignment of patent right

Owner name: ZHEJIANG KEZHENG ELECTRONIC INFORMATION PRODUCT TE

Free format text: FORMER OWNER: HANGZHOU ELECTRONIC SCIENCE AND TECHNOLOGY UNIV

Effective date: 20150410

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 310018 HANGZHOU, ZHEJIANG PROVINCE TO: 310012 HANGZHOU, ZHEJIANG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20150410

Address after: Ma Cheng Road Hangzhou City, Zhejiang province 310012 No. 36

Patentee after: Zhejiang branch positron Information Products Inspection Co., Ltd.

Address before: Hangzhou City, Zhejiang province 310018 Xiasha Higher Education Park No. 2 street

Patentee before: Hangzhou Electronic Science and Technology Univ