机械工程图中点划线、粗糙度和形位公差符号的识别技术研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
工程图纸识别是图像处理、模式识别和人工智能等多种学科的综合应用,直接面向企业需求,具有很高的理论意义和应用价值,是CAD领域的重要课题。经过多年研究,扫描工程图纸识别已经取得较大进展,部分实现像素到矢量的转换。但是,现有的工程图纸识别系统的矢量化结果是以孤立存在的图形基元(直线、圆弧、圆和字符等)为主,这种孤立图元结构的工程图识别结果缺乏矢量之间的逻辑关系、位置关系、拓扑结构关系和工程语义信息等,与高层次的工程图识别理解与智能重用相差较远。要全面实现工程图纸的识别理解与智能重用,完成二维模型到三维模型的转变,就必须在矢量化基础上进一步识别出工程图中的各种图形符号。本文对点划线、粗糙度符号和形位公差符号的识别技术进行了深入的研究。
     本文分析了现有的点划线识别算法,指出了其局限性,为了克服现有方法的缺陷,本文根据直线式点划线和圆弧式点划线的构造特点和语法规则,在矢量基础上,提出了一种基于关键图形特征的识别算法。该算法首先提取一条直线或一段圆弧,将它们作为点划线的关键元素:然后根据点划线的语法规则,由关键元素引导,逐步搜索其它构成元素。该算法摆脱了以往仅识别直线式点划线的模式,对圆弧组成的点划线也有了很好的识别,提高了该算法的通用性。针对半径较小的圆或圆弧,本文提出了一种圆的中心线识别算法,以适应点划线为一条直线的特殊情况,并提高了圆的中心线的识别率。
     本文还分析了现有的粗糙度符号识别算法,指出了其局限性,为了克服现有方法的缺陷,本文根据机械工程图中粗糙度符号的特点,在矢量基础上,提出并实现了一种基于关键图形特征和标注字符相结合的识别算法。该方法包括3个步骤:首先寻找该类图形的关键元素:然后根据该类图形的具体构造语法规则,由关键元素引导、逐步搜索该类图形的其它结构元素;最后用字符信息来对该类图形的有效性做出判定。该算法除了可以识别直线式粗糙度符号外,还可以对基本粗糙度符号和圆型粗糙度符号进行识别,提高了粗糙疫符号的整体识别率,解决了粗糙度符号另外两种形状的识别问题,由于用字符信息加以辅助判断,该算法的适应性和容错性得到进一步提高,此外该算法还具有识别过程简单、快速等优点。
     本文讨论了在工程图矢量化后对形位公差符号的识别工作。针对形位公差自身的特点和语法、语义规则,在矢量基础上,提出并实现了一种基于关键图形特
Recognition of engineering drawings concerns the application of multi-disciplines such as image processing, pattern recognition, and artificial intelligence, etc. The research on recognition of engineering drawings is important both on theory and practical application and it is one of key issues in the field of CAD. Many progresses in the area have been made, raster images can be partly transformed into vector data that can be reused in a CAD system. However, the vectorization results made by the existed recognition systems are mainly some isolated graphic units, such as lines, arcs, circles and characters. Such recognition results lack of high-layer logic relations as position, topology and structure relations and engineering semantic information and are far away from the intelligence comprehending and reuse of engineering drawings. Based on the vectorization results, further work should be done to realize better comprehending and reuse for engineering drawings and transform it from 2D to 3D. In this paper, the recognition technology of dash-dotted line, roughness degree symbols and tolerance symbols in shape and relative position are studied.Based on the detailed analysis of the existed dash-dotted line recognition methods, this paper used structure characteristics and syntax rule of line or arc type of dash-dotted line, based on the vector, and presented a recognition algorithm based on key graphics characteristics. This algorithm consists of two main steps: firstly finding a line or an arc, and make them as the key components of dash-dotted line;secondly according to the specific graphic syntax of dash-dotted line, leading by key element, step by step to search other composing elements. This algorithm gets rid of anciently mode which only recognized the line type of dash-dotted line, and has a good result of arc type of dash-dotted line, improved the universal capability. Aim at the arcs or circles which have smaller radius, a recognition algorithm for circle's centre line is proposed. This algorithm can better adapt to the condition that dash-dotted line was only a straight line, and improved the recognition rate for circle's centre line.
    For the roughness degree symbols, this paper studied a new vector based recognition algorithm based on key graphics characteristics and label character according to the structure characteristics and syntax rule of roughness degree symbols, The algorithm consists of three main steps: firstly finding the key component, secondly extending it according to the specific graphic syntax and finally judging the validity by characters. This algorithm can recognize basic roughness and circle type roughness symbol besides line type roughness symbol, and improved the entire recognition rate. With the aide of the assistant judging by characters, powerful adaptability and fault-tolerance ability have been gotten. Experimental results indicate that this algorithm has such advantages as a higher recognition rate, a simpler processing process and a higher speed.Analyzing the characteristics of tolerance symbols in shape and relative position in engineering drawings, a vector-based recognition algorithm based on key graphics characteristics and label character is proposed and implemented. This algorithm consists of three main steps: firstly finding the key component, secondly extending it according to the specific graphic syntax, thirdly judging the validity by characters. If this symbol is very complicated, it can also get the good result by using this algorithm. Experimental results indicate that this algorithm can get a higher recognition rate.All above algorithms mentioned have been programmed by using C++ language in the VC++6.0 system by author. In the practice testing the recognition results are satisfactory.
引文
[1] Tapas Kanungo, Robert M Haralick, Dov Dori. Understanding engineering drawings: a Survey. Proceedings of International workshop on graphics recognition, Pennsylvania, 1995.119~130
    [2] 李蓉.基于质量评价的矢量化工程图后处理技术研究:[博士学位论文].西安:西北工业大学,2003.5
    [3] 陆国栋,张树有等著.工程图样数字化转换与智能理解.机械工业出版社,2001.5,第一版
    [4] C. Ah-Soon, K. Tombre. A step towards reconstruction of 3-D CAD models from engineering drawings. In Proceedings of the3rd International Conference on Document Analysis and Recognition, 1995, Vol. 1, pp.331~334
    [5] Lam L, Lee S W and Such C Y. Thinning Methodologies -A Comprehensive Survey, IEEE Trans. Pattern 1991, 241~248
    [6] A. Datta, and S.K.Parui. A robust parallel thinning algorithm for binary images. Pattern Recognition, 1994,27(9): 1181~1192
    [7] D.T. Jasson, and A.M. Vossepocl. Adaptive vectorization of line drawing images. Computer Vision and Image Understanding, 1997, 65(1):38~56
    [8] C.C. Han ,K.C. Fan. Skeleton Generation of engineering drawings via contour matching. Pattern recognition, 1994,27 (2): 261~275
    [9] Zhao Ming. A Line Extraction Algorithm for Hand Drawings, J. of Comput. Sci&Technol. Vol.10, No.1, Jan.1995,2~14
    [10] 谭建荣.工程图纸扫描图像的整体识别及图形重建的研究:[博士学位论文].杭州:浙江大学,1992
    [11] 李伟青.基于整体识别的工程图纸扫描转换系统研究:[博士学位论文].杭州:浙江大学,1996
    [12] 章毓晋.图像工程.北京:清华大学出版社,1999
    [13] 邹荣金.工程图纸矢量化与识别技术研究:[博士学位论文].南京:南京大学,1999
    [14] Vaxiviere P, and Tombre K. Subsampling: A structural approach to technical document vectorization. In: Dori D, Bruckstein A (eds). Shape, Structure and Pattern Recognition (Proceedings of the IAPR Workshop on Syntactic and Structural Pattern Recognition, Nahariya Israel, 1994). World Scientific, 1995, pp 323~332.
    [15] Liu W, and Dori D. Sparse Pixel Tracking: A Fast Vectorization Algorithm Alpplied to Engineering Drawings. In Proceedings of the 13th International Conference on Pattern Recognition Volume Ⅲ (Robotics and Applications,, Vienna, Austria, 1996, pp 808~811.
    [16] 宋继强,苏丰,蔡士杰.基于种子段的方向无关的直线矢量化方法.软件学报,2000,11(9):1196~1201
    [17] Dayid Byrne.巡视光栅矢量化软件(上).工程设计CAD与智能建筑,2000(7):70~71
    [18] Dayid Byrne.巡视光栅矢量化软件(下).工程设计CAD与智能建筑,2000(8):61~64
    [19] Pascal Vaxiviere, Karl Tombre. CELESSTIN Ⅳ: knowledge-based of mechanical engineering drawings. IEEE transactions on pattern analysis and machine intelligence, 1992. 242~245
    [20] D. Dori and Liu Wenyin., "Automated CAD Conversion with the Machine Drawing Understanding System", Accepted by the IEEE Trans. on System, Man and Cybernetics. (First submitted in May 1996, revised in March 1997, and accepted in October 1997, file No. SMC 097-04-0437, to appear in Vol. 28 Part A Number 5, Sept. 1998.)
    [21] S.H.Joseph, T.P. Pridmore. Knowledge-Directed Interpretation of Mechanical engineering drawings. IEEE transactions on pattern analysis and machine intelligence, 1992, 14 (9): 928~940
    [22] 张树生,杨彭基.机械工程图的智能输入与识别研究.西北工业大学学报,1995,13(2):217~221
    [23] 董复光.扫描机械工程图中剖面线、点划线、虚线的自动识别技术研究:[硕士学位论文].西安:西北工业大学,1999.7
    [24] Liu W, Dori D. A Protocol for Performance Evaluation of Line Detection Algorithms. Machine Vision Applications 1997, 9:240~250.
    [25] Liu W. and D. Dori, "Genericity in Graphics Recognition Algorithms", Graphics Recognition--Algorithms and Systems, eds. K. Tombre and A. Chhabra, Lecture Notes in Computer Science, Vol. 1389, pp. 9~20, Springer, April, 1998.
    [26] A.K.Das and N. A. Langrana. Recognition and integration of dimension sets in vectorized engineering drawings. Computer Vision and Image Understanding, Vol.68, No. 1, 1997, pp.90~108
    [27] D. Dori. A syntactic/geometric approach to recognition of dimensions in engineering machine drawings. Computer Vision, Graphics and Image Processing, 1989, 47:271~29
    [28] 王广.工程图尺寸标注单元的智能识别:[硕士学位论文].西安:西北工业大学,1995
    [29] S.C.Lin and C.K.Ting. A new approach for detection of dimensions set in mechanical drawings. Pattern Recognition Letters, 1997, 18(4):367~373
    [30] A.Habed and B.B oufama. Dimension sets detection in technical drawings. Vision Interface'99, Canada, 217~223
    [31] 蔡旭鹏.基于拓扑结构知识的工程图尺寸标注单元识别研究:[硕士学位论文].西安:西北工业大学,1999.3
    [32] 苏丰.工程图矢量化若干问题的研究:[博士学位论文].南京:南京大学,2002.9
    [33] 刘文印,唐龙,唐泽圣,Dov Dori.一种在矢量基础上进行图形识别的通用方法.软件学报,1997.5:376~383
    [34] 李宾,谭建荣,彭群生.工程图扫描图像中剖面区域的整体识别.工程图学学报,1996.2:75~82
    [35] 张习文.基于单义域邻接图的扫描工程图样自组织智能识别:[博士学位论文].大连:大连理工大学,2001
    [36] D. Dori, Liu W. and M. Peleg, "How to Win a Dashed Line Detection Contest", Graphics Recognition -- Methods and Application, eds. R. Kasturi and K. Tombre, Lecture Notes in Computer Science, Springe, vol. 1072, pp286~300, 1996.
    [37] 郁晓红,李伟青.工程图纸中虚线的提取算法.计算机应用与软件,1999.3:16~19
    [38] Christian Ah-Soon .A constraint network for symbol detection in architectural drawings.In: K Tombreed. Graphics Recognition—Algorithms and Systems, vol. 1389 of Lecture Notes in Computer Science, Spdnger-Verlag, 1998.80~90
    [39] 董海卫,江早,王永军.统计与结构结合的工程图纸符号识别方法.计算机辅助设计与图形学学报,第12卷第5期2000年5月:375~379
    [40] 杨万山,陈松乔,唐连章.基于BP神经网络的工程图纸图形符号识别.微型电脑应用,2000年,第16卷第2期:22~23
    [41] 宋继强.逐步简化的扫描工程图矢量化模型及图形识别方法的研究.[博士学位论文].南京:南京大学,2001.5
    [42] 杨若瑜,胡笳,曹阳,蔡士杰.一种高效的基于约束网络的工程图符号识别方法.计算机辅助设计与图形学学报,第14卷第9期,2002年9月:829~834
    [43] 沈怡,蔡士杰,高晓.建筑工程图符号的特征匹配识别方法.计算机辅助设计与图形学学报,第15卷第9期,2003年9月:1065~1069
    [44] 高玮,谭建荣,彭群生.基于图形约束的工程图纸扫描图像表面粗糙度的自动识别.计算机学报,1996,19(6):472~476
    [45] 伊国栋,谭建荣,刘振宇.工程图纸中标题栏单元信息提取与识别技术研究.中国机械工程第14卷第1期,2003年1月上半月:41~45
    [46] Yuhong Yu, Ashok Samal. A system for recognizing a large class of engineering drawings. IEEE Transactions on Pattern Analysis and machine Intelligence, 1997, 19(8): 868~890
    [47] Josep Llados, et al. A string based method to recognize symbols and structural textures in architectural plans, In: K Tombre ed. Graphics Recognition - Algorithms and systems, vol. 1389 of Lecture Notes in Computer Science, Springer - Verlag, 1998.91~103
    [48] 邹荣金,蔡士杰,张福炎.神经网络技术在工程图纸识别中的应用.南京大学学报(自然科学),1999,(1):66~73
    [49] B S Prabhu, S S Pande. Intelligent interpretation of CADD drawings. Computers & Graphics 1999, 23(1): 25~44
    [50] 刘晓翔.光学乐谱识别技术研究与实现:[博士学位论文].西安:西北工业大学,2005.11
    [1] 冯奂,张树生,刘晓翔,梁岱春,刘汝杰.机械工程图中形位公差符号的自动识别技术研究.计算机应用,2006.Vol.26(1):127~128,131
    [2] 梁岱春,张树生,李鹏,冯奂.Web环境下的CATIA产品三维模型信息共享的研究与实现.机床与液压,已录用。

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700