摘要
传统的文本编程方式效率低下,无法满足图像处理应用迅速增长的需求,针对这个问题,提出一种基于图形化组态编程的开发系统;从功能和结构上对系统进行分析,着重讨论编程环境的设计与实现;采用组合模式管理应用程序、迭代器模式实现遍历,进一步讨论了编程环境的仿真运行机制;基于MFC设计界面,通过一般-特殊结构实现界面复用,利用策略模式实现程序树的重建;使用OpenCV和动态链接库技术设计预定义函数集;最后,对运行环境的数据模型做出了探讨;实例验证,该系统能减少开发时间,降低开发难度,为图像处理相关人员提供了一个简单友好的二次开发环境。
Given the fact that traditional programing method falls behind demand for image processing programs, this paper proposes a graphic-based developing system for image processing programing. Function and structure of the software are analyzed, as a part of which, programming environment is mainly discussed. Composite pattern is employed for program management, iterator pattern for traversal opera- tion, and simulation mechanism is given afterwards. MFC, generalization-specialization structure and strategy pattern are adopted for inter- face design, interface reuse and program tree reconstruction respeetively. OpenCV library and Dynamic Link Library technology are taken as support for predefined function set. At last, data model of the running environment is discussed. Examples show that the software reduces development time and lowers its difficulty, presenting a friendly secondary development platform for image processing.
出处
《计算机测量与控制》
2016年第2期307-310,共4页
Computer Measurement &Control
基金
国家科技支撑计划项目(2015BAF20B01)
广东省科技计划项目(2015B010101005)
关键词
组态
图形化编程
图像处理
组件技术
configuration
graphic programing
image processing
component technique