The geometric shape of the road is one of the main influencing factors of traffic accidents.After analyzing the influence of road alignments on traffic safety at home and abroad,the purpose is to find out which road alignments are likely to cause traffic accidents.By obtaining the geometric data of the road plane geometry of the traffic accident-prone road sections,Analyze and compare the road alignments at these accident sites.The line shape technical parameters and the linear similarity between different accident points in the road accident-prone traffic accident areas are easily obtained.Provide valuable reference and basis for the design,planning and construction of urban roads.It can improve the irrationality of road alignment design from the perspective of structure.Eliminating the road traffic accidents caused thereby,the main research contents are as follows.First of all,on-site measurements are taken to obtain road alignment GPS data and preprocessed.Secondly,the curvature characteristics of the road surface linear elements are analyzed,and the azimuth values of adjacent discrete points are calculated.Combined with the Hough transform to detect each element of the road linear combination,the regression statistics method is used to calculate the mathematical model of the linear composition.Again,look for a representation method that most closely approximates the road linear feature points,use feature points to describe the line shape,and establish a road alignment data structure model.The similarity measurement algorithm of data is used to study the road linearity similarity of accidental road sections,and the quantitative results of similarity comparison are given.Finally,using Visual Studio 2015 as a platform,Qt technology is used to develop the application system interface,and the corresponding test program is developed using C++language.The results show that the combination of azimuth angle change and Hough transform can quickly detect road linear elements and use cosine similarity to compare the similarity of normalized linear arrays.The results of calculation and comparison are good,and can quantitatively evaluate the relevant road alignment at the accident point.rationality. |