| Engineering drawing vectorization is the process which raster image after scanning is converted into vector format image that can be used to CAD.Engineering drawing vector is related to computer vision,pattern recognition,image processing and other subjects.It is the basis of the engineering drawings reuse,the target detection and the image analysis.It has wide application prospect in construction,mechanical,electronic design and other fields.It also has a high research value.This paper has carried on the research concentrated on Line and arc vector algorithm,integral identification method of engineering graphics primitives.The main research contents is as follows(1)Focused on the low accuracy of arc detection in engineering drawing vectorization and the long detection time,a fast arc detection algorithm based on tangent lines matching was proposed.Firstly,tangent lines on the circle outer boundary were detected from eight directions and were added in tangent lines set;Secondly,the tangent lines in the set were paired up,and the center and radius of circles were estimated,so circle candidate set was obtained.Finally,tracing detection was performed for every candidate circle after merging data of circle candidate set,and every candidate circle was ascertained as a circle or an arc.(2)Focused on the low accuracy,less robustness and preprocessing of line detection in engineering drawing vectorization,a RANSAC line detection algorithm based on seed segment constraint was proposed.Firstly,Seed segment was found;Secondly,the inliers and outliers were gotten by RANSAC using seed segment,when the radio of inliers and total black pixels was larger than a Threshold,it is true that the two sample points can form a line segment;Finally,line tracing process was performed.(3)Focused on the low level of engineering drawing vectorization,a global vector algorithm based on self-organization was proposed.Firstly,the basic vector data was obtained by arc detection and line detection;Then,Engineering graphics data was obtained by recognition of engineering graphics elements from basic vector data.The basic vector is the source of the identification of the engineering graphics primitives,and engineering graphics primitives provided the guidance to the basic vector.The process of engineering drawing vectorization was performed on the interrelation and interaction of related data.The proposed line and the circular arc detection algorithm were verified by validity verification experiments and comparison experiments.The experimental results show that the proposed method can effectively detect the arc and straight line,and has higher accuracy and speed. |