摘要
针对工业领域里普通摄像机采集图片模糊不清、无法辨认等问题,提出了在LabVIEW、MATLAB和NI-IMAQ Vision软件平台下,利用USB摄像头、动态链接库以及NI-IMAQ Vision视频处理模块开发了一种实时图像采集处理虚拟仪器系统。系统对现场连续采集的视频和图像进行处理,包括对实时视频进行录制保存、拍照保存、抓拍截图保存以及LabVIEW调用MATLAB对保存的真彩图片进行增强处理。彩图增强方法是将彩色图像分解到R、G、B 3个灰度图,分别对3个灰度图分量进行增强处理,最后使用MATLAB的cat函数将R、G、B三分量整合成彩色图。实验结果表明,该系统采集图片快捷,能够改进彩图质量,提高肉眼对彩图的可视性。
Focused on the issue that images collected by ordinary camera are blurred and unrecognizable in industrial field, a virtual instrumentation system is presented which uses USB camera, dynamic link library and NI-IMAQ Vision video processing module to complete real-time image collection and processing under LabVIEW, MATLAB and NI-IMAQ Vision software platform. The system deals with continuous collecting video and images on the spot, including real-time video recording preservation, camera preservation, capture screenshot preservation and the LabVIEW calling MATLAB to enhance the preserved true color images. Image enhancement method is to decompose color images to R, G, B three grayscales,respectively, to enhance three grayscale weight, finally use cat function of MATLAB to integrate R, G, B three components into color maps. The simulation results show that the system quickly collects color images and improves quality and visibility of color maps to naked eye.
出处
《电子设计工程》
2016年第12期159-161,164,共4页
Electronic Design Engineering
基金
国家自然科学基金资助项目(61304249
61374063)