检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李亚杰 何涛[2,3] 张锐 LI Yajie;HE Tao;ZHANG Rui(Key Lab of Opt-Electronic Technology and Intelligent Control of Ministry of Education,Lanzhou Jiaotong University,Lanzhou 730070,China;Automatic Control Institute,Lanzhou Jiaotong University,Lanzhou 730070,China;Gansu Rail Transit Signal and Control Evaluation Industry Technology Center,Lanzhou 730070,China;Gansu Zhongyihe Technology Co.,Ltd.,Lanzhou 730070,China)
机构地区:[1]兰州交通大学光电技术与智能控制教育部重点实验室,兰州730070 [2]兰州交通大学自动控制研究所,兰州730070 [3]甘肃省轨道交通信号与控制评测行业技术中心,兰州730070 [4]甘肃众一合技术有限公司,兰州730070
出 处:《兰州交通大学学报》2024年第4期98-109,共12页Journal of Lanzhou Jiaotong University
基 金:中国国家铁路集团有限公司铁路基础研究联合基金项目(U2268206);甘肃省科技计划项目(22CX3GA059)。
摘 要:为了实现铁路信号系统图纸数字化验证与自动校核,并针对目前CAD图纸数字化存在的不足,如需要在AutoCAD软件中选取范围进行提取、依赖二次开发工具、文字提取精度不高等,提出了一种改进方法。该方法借助C++的DXFLib开源库编写程序,实现对CAD图纸中配线表格内容识别提取、数据导出。首先,程序读取表格类型的图纸,对其实体图元信息进行解码并提取,并将所得图元的CAD坐标转化为二维图像坐标,同时迭代更新图像边界值;然后,运用OpenCV库的绘制函数对图元信息进行复现,将相关图元参数传递给绘图函数进行绘制,并与原图纸内容进行比对;最后,将所得图元信息数字化、结构化,通过分析表格结构及图元坐标关系后将其必要内容导出至Excel。研究结果表明了该方法对于图纸数字化的有效性,满足工程图纸校核的准确率要求,显著提升了信号图纸数字化的灵活性及效率。In order to realize the digital verification and automatic calibration of railroad signaling system drawings, and for the current CAD drawings digitization deficiencies, such as the need to select the range of AutoCAD software for extraction, dependent on the secondary development tools, and the unsatisfied text extraction accuracy, an improved method is proposed.This method realizes the recognition and extraction of wiring table contents in CAD drawings and data export by writing a program with the help of the C++ DXFLib open source library.Firstly, the program reads the table type drawings, decodes and extracts the entity element information, and transforms the CAD coordinates of the resulting elements into two-dimensional image coordinates, while iteratively updating the image boundary values;then, the drawing function of the OpenCV library is used to reproduce the element information, and the relevant element parameters are passed to the plotting function for plotting and comparison with the original content of the drawing;Finally, the resulting element information is digitized and structured, and the necessary content is exported to Excel after analyzing the table structure and element coordinate relationships.The results of the study show that the method is effective for digitizing drawings, which meets the accuracy requirements of the engineering drawing verification, and significantly improves the flexibility and efficiency of the digitization of signal drawings.
关 键 词:图纸数字化 CAD信息提取 图元信息 DXFLib
分 类 号:U283.4[交通运输工程—交通信息工程及控制]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.49