摘要
针对当前钢厂钢坯号自动识别要求,利用MATLAB算法开发效率高和VS2010编写界面友好等特点,设计了一种钢坯号在线自动识别系统。为了防止系统存储、读取图片时发生冲突,减少MATLAB与VS2010的交互时间,提出一种基于MEX文件的混合编程方法,实现了MATLAB通过Windows消息响应机制向VS2010发送消息和VS2010通过Socket通信向MATLAB发送消息等功能,大大提高了系统的工作效率,同时也提高了钢坯号识别的正确率。
According to the automation identification requirements of steel billet number m steel mui currently, a system, with high efficiency MATLAB development algorithm and VS2010 friendly writing user features, is designed for steel billet numbers automatic identification. In order to prevent the conflict caused during system memory and picture reading and reduce the interaction time between MATLAB and VS2010, a hybrid programming method based on MEX file is proposed to realize the functions of message sending such as MATLAB to VS2010 by Windows message response mechanism and VS2010 to MATLAB by Socket communications. The efficiency of the system and the accuracy of the steel billet number on - line identification are greatly improved.
出处
《微处理机》
2015年第5期50-53,共4页
Microprocessors
基金
国家自然科学基金项目(11274092
61401146)
江苏省自然科学基金(BK20130238)
关键词
钢坯号
在线识别
混合编程
交互时间
Windows消息响应
SOCKET通信
Steel billet number
On - line identification
Hybrid programming
Interaction time
Windows message response
Socket communications