Font Size: a A A

Research On Road And Vehicle Detection Based On Machine Vision

Posted on:2019-03-20Degree:MasterType:Thesis
Country:ChinaCandidate:Y LiFull Text:PDF
GTID:2382330593950271Subject:Control Science and Engineering
Abstract/Summary:PDF Full Text Request
In recent years,with the development of economy and society,traffic accidents caused by lane departure and vehicle collision are also increasing.In order to reduce the number of casualties and property damage caused by these accidents,the major automobile manufacturers and research institutions have increased the research investment of vehicle safety warning system.Among them,the forward information detection and security warning system based on visual sensor is favored by domestic and foreign researchers because of its low cost and abundant information.Based on the BJUT-IV intelligent vehicle platform of Beijing University of Technology and visual sensor,the road and vehicle detection technology based on machine vision are studied in the dissertation,which include coordinate transformation between image coordinate system and geodetic coordinate system,image preprocessing,lane detection,vehicle detection,lane departure and collision warning algorithm.The main work of this dissertation is as follows:1)The hardware and software system of the BJUT-IV intelligent vehicle platform and the selection of the visual sensor are introduced.And the coordinate transformation between the image coordinate system and the geodetic coordinate system is studied according to the imaging model of the visual sensor.2)The original image taking by IV camera is preprocessed according to characteristics of forward road environment.According to the composition of road information,region of interest of lane line is intercepted to remove irrelevant information.Aiming at road environment,image is grayed using weighted average method.And the noise is reduced using bilateral filtering,which could suppress noise.3)In order to solve the problem that the threshold segmentation algorithm in the process of lane mark detection is difficult to obtain good results in the case of vehicle,road fence,tree shadow and pavement whitening,a lane detection algorithm based on improved SIS threshold algorithm and modified version of sequential RANSAC is proposed.Firstly,according to the gray level difference between the lane and the background,an improved Simple Image Statistics(SIS)threshold segmentation algorithm is proposed.Compared with the common threshold segmentation algorithms,such as Otsu method and Bernsen method,the proposed algorithm has a better adaptability in complex environment.Secondly,in the lane line extraction phase,a lane line model is constructed,and it is simplified to a hyperbolic model.Then,the modified sequential RANSAC algorithm is applied to detect whether there exists lane line in the image,which has higher accuracy is than the traditional RANSAC method.Finally,model pairing is carried out according to the lane line model of both sides,and lane line is determined by selecting the combination of the most data points.This method can automatically adjust the number of interest area of lanes according to the number of lanes.4)A vehicle detection method based on the shadow of the vehicle and the Haar feature is proposed.In order to solve the problem that the Haar feature and cascade classifier can't meet the real-time requirements,the shadow region is segmented by the gray difference between the shadow of the vehicle and the surrounding environment.And then the image is processed by morphology.Finally,the outer rectangle which can contain all the shadow regions is treated as the region of interest,and the Haar feature and the cascade classifiers are used to detect the vehicle in the region of interest.The experimental results show that the proposed method can improve the real-time performance of the algorithm without reducing the recall rate and accuracy rate.5)A method of estimating the position of the vehicle based on the position of the lane line in the earth coordinate system is proposed,and the lane departure warning is provided for the vehicle.Then the calculation method of the distance between the vehicle and the front vehicle in the earth coordinate system is studied,and the anti-collision warning is provided for the vehicle according to the distance information.Finally,the test software based on MFC is designed to verify the practicability of the algorithm.
Keywords/Search Tags:intelligent vehicle, machine vision, lane detection, vehicle detection, safety warning
PDF Full Text Request
Related items