Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

如何纠正IMAQ Read LCD VI在读取LCD数码显示过程中的判断错误?

主要软件: Vision Development Module
主要软件版本: 1.0
主要软件修正版本:
次要软件: N/A

问题: 我通过IMAQ Read LCD VI读取LCD上显示的数码,但是一些没有被照亮的数码小段却被检测为有效显示。有没有什么办法可以避免这种错误识别?

解答:

首先请确保在您的应用中使用了良好的光源。更多信息请参考《实用光源指南》—— Part IPart IIPart III

在合适的光源条件下,有时您还是会看到图像上数码段之间非均匀的灰度分布。为减少其影响,可以使用IMAQ Local Threshold VI将这些数码段分别与背景区隔开来。该VI基于一种区域内自适应阈值选取的方法,将图像转换为二值图。在IMAQ Read LCD VI之前先对图像进行二值化处理,我们相当于对各数码小段的像素值进行了归一化处理,减少甚至消除错误识别的情况。




关于该方法的更多信息请参考: IMAQ Vision 自适应阈值选取



相关链接: Developer Zone Tutorial: A Practical Guide to Machine Vision Lighting - Part I
Developer Zone Tutorial: A Practical Guide to Machine Vision Lighting - Part II
Developer Zone Tutorial: A Practical Guide to Machine Vision Lighting - Part III
Developer Zone Tutorial: NI Recommended Camera, Lighting, and Optics Providers
Developer Zone Tutorial: Control Advanced Illumination Strobe Lighting with LabVIEW
Developer Zone Tutorial: Adaptive Thresholding in IMAQ Vision
Developer Zone Example: LCD Example

附件:
LCD threshold.gif




报告日期: 09/12/2008
最近更新: 09/25/2008
文档编号: 4PBCJ58Q

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit