摘要
将非电子仪表集成到自动化系统中,大多采用对仪表表盘识别的方法,而B M P是主要的处理格式。本文介绍了如何将U SB摄像头采集到的非电子仪表表盘图像以BM P格式存储到指定路径的程序设计。程序以V C++6.0作为开发平台,采用多线程解决方案,充分利用了CPU资源。采用此种方案后,系统从采集到处理输出一帧图像的时间小于85m S,达到了实时的要求。
When people integrate the ments, they always identify the meter BMP. This paper presents how to save in the appointed path in BMP format. non-electronic meters to the automatic instruplate by computers, and the image format is the image, which is captured by USB camera, The software is exploited in the Visual Studio by C++ programming language, and it takes the multi-thread method, used the CPU resource fully. In this project, the time used in both image capturing and disposing is no more than 85 ms, the time is saved.
出处
《电测与仪表》
北大核心
2006年第4期46-48,64,共4页
Electrical Measurement & Instrumentation