Method for detecting multi-lane line on basis of random sample consensus (RANSAC) algorithm
暂无分享,去创建一个
The invention relates to a method for detecting a multi-lane line on basis of a random sample consensus (RANSAC) algorithm, which comprises the following steps: step 1, the initial image of the road condition in front of a car is acquired, i.e. during the travelling process of the smart car, acquiring the initial image of the road condition in front of the car is acquired through a camera which is installed on the car; step 2, the initial image which is obtained in the step 1 is subjected to inverse perspective mapping for obtaining an inverse perspective drawing; step 3, a two-dimensional Gaussian core is utilized to carry out image preprocessing on the inverse perspective drawing in the step 2; step 4, Hough transformation is carried out on the preprocessed image, so a lane candidate line is obtained, the quick RANSAC verification is carried out on the lane candidate line through utilizing the Hough transformation, and the revised lane candidate line is obtained; and step 5, the revised lane candidate line which is obtained in the step 4 is post-processed. Consequently, the method has the following advantages that the method has strong stability, identifies the multi-lane line and can better solve the problem of the crooked lane.